Hello David,
Some improvements still may have to be done, like moving CPU dependent code out of CPU independent files (like reading the FEC status in timeouts.c).
Also, the link lost detection would best be done by an interrupt routine. It is now done every second in timeouts.c, but this way it could easily be missed if the duration is <1s.
But I noticed that for some reason the tasks lock up when the FEC interrupt is called, and that is probably the reason why they made the CPU reset itself when the ethernet link is broken in CF Lite V3.2
The link down detect, the way I do it now to restart DHCP negotiation, I think may also be used to restart the
link negotiation. I haven't tested that yet though.
- Marc
Message Edited by Marc VDH on
2009-02-13 07:26 AM