-
Notifications
You must be signed in to change notification settings - Fork 7.5k
frdm_k64f: samples/net/sockets/echo_server doesn't work #13251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
FIXED and PR #13250 seems to fix it |
FIXED unfortunately PR #13250 does not fix it, but changes to error to:
|
FIXED Confirmed, also tried samples/net/dns_resolve just to be sure that's not a particular sample, with the same output (crash addresses differ of course). |
FIXED Confirming that #13250 seems to fix the issue for me. |
FIXED |
FIXED |
FIXED
Nope, I try to use pristine samples whenever possible (first I had some WIP code in my tree, and that could explain the issues I initially saw). I used samples/net/sockets/echo |
FIXED
|
I used samples/net/sockets/echo_server, that only works if CONFIG_NET_TCP disabled. |
@pfalcon it worked for me!! |
samples/net/sockets/echo_server only works if CONFIG_NET_TCP is disabled how to reproduce:
|
Following steps described by @i8080, I can reproduce this. There's indeed absolutely zero output on UART from the board after pressing reset button. Ethernet connection is also not active. By making following change to
However, networking doesn't really. Apparently this was the case I was hitting when I reported "ping don't work" above. By making following change:
I get networking (pings, TCP conn) to work. Assigning @rlubos as the maintainer of this sample. Pinging @jarz-nordic regarding shell surprises. Pinging @agansari regarding a hunch that IIRC we kinda had a conflict of UART and Ethernet on imxrt1050, could it occur here on frdm_k64f? |
@pfalcon : In my opinion it is not related to shell. I observed the same error today in example: I have disabled shell in the same way as you did in prj.conf and this error was still there. When I disabled shell AND logger error was gone. |
Thanks for that info. Well, logger remains the first suspect for me. Only today I disabled (or switched to IMMEDIATE) on multiple occasions, but today it didn't make a difference, and here I randomly flipped shell (based on knowing that socket/echo differs from socket/echo_server exactly by shell being enabled in the latter), and it clicked. |
I briefly tried to debug |
@nordic-krch, that issues was fixed. This ticket contains 2 unrelated issues reports. I was too shy to ask @i8080 to close this and submit a new one, and it pays off... Please look at stuff only in and after this comment: |
Today I've tested:
Despite that project is created and can be build.
Example works pefectly with shell AND Logger enabled. |
Another observation: We might have a problem with simultanous access to UART. @nordic-krch suggested that: Logger - shell |
Uh oh!
There was an error while loading. Please reload this page.
Unfixed part of the issue starts at #13251 (comment)
Below is fixed, don't look.
echo_server project compiles but crashes on frdm_k64f
console output is:
maybe this is related to #13243 ?
The text was updated successfully, but these errors were encountered: