Closed alios closed 1 year ago
I can reproduce on stm32f437. 0.4.1 works fine, HEAD of master I don;t receive ANY interrupts
Hmm, that's... Concerning. Could any of you try it with 9987cbeec90e62aeda0329e7547f29ac3244a074? It still has smoltcp 0.9, but drops the async-await support, which is where I think I've introduced the bug. The async-await PR has been working for me this far on an F7 but I haven't been able to test it on an F4 and I have incorrectly assumed that it would keep working.
@datdenkikniet with 9987cbe everything works just fine - so I guess your idea might be correct.
Thank you for confirming.
Alright, I have absolutely now idea how it got through, or how it ever worked for me, but I may have found the problem.
Please try with https://github.com/stm32-rs/stm32-eth/pull/80 current master and report.
@datdenkikniet Tested the rtic-echo example again as well as my own code base and with the new master and the patch from #80 everything seems to work again.
Big thnx
Awesome! Thanks again for reporting and confirming to both you and @roel0
Hi!
I updated my code to the current master branch / smoltcp 0.9 and now ethernet is no longer working. Thought it might be a problem with my own code, but now tried the stm32-eth's examples and it is also no longer working. But if I switch back to the
0.4.x
branch it starts working again. Primarily tried thertic-echo
example, but to exclude problems with rtic I also tried theip
example which also does not work. In both, rtic-echo and ip on the current master branch it's not only the sockets which seem not to work, the board even does not response to arp requests.Here is the rtt output (with defmt's log level set to tracing) of the 0.4.x branch of the rtic-echo example:
But with the current main branch it is no longer working as described above. Noteable (and the same effect with my own code) is, that the ETH interrupt handler is called two times, but then no more
Did anyone else experience that with a stm32-f4 device? I'am not deep enough into this project or smoltcp to debug this any further.