[HACK] cpu/sam0_common: eth: delay init by 10ms for more stable Ethernet#21634
[HACK] cpu/sam0_common: eth: delay init by 10ms for more stable Ethernet#21634benpicco merged 1 commit intoRIOT-OS:masterfrom
Conversation
|
Is there maybe an errata or something? Would be nice to get to the bottom of this and either have a better work around (as in faster) or at least know for sure why this is needed and refer to an errata in the comment above the hack. |
maribu
left a comment
There was a problem hiding this comment.
Let's hope we can have a better fix soonish. But having a workaround is definitely better than random hard faults every know and then.
|
I would be happy to have your setup to try to reproduce it on my side once I'm back on tracks. |
|
I think I never saw the issue on |
|
I am not against the current hack. Just thought it would be be good to keep that in mind and find a proper fix later on. |
b883853 to
54a7446
Compare
|
Now this causes a weird hang on |
|
Do we need to hack the hack then ? 🤯 |
Contribution description
We often see hard faults right after boot, sometimes the Ethernet does not send / receive frames at all.
Adding a small delay before initializing the GMAC seems to fix it…
Testing procedure
Issues/PRs references