Ethernet problem when reseting device in Win CE

Borut Mehle
Hello, 

I have tried to make soft reset of WinCE progamatically and I noticed that
after several resets, Ethernet stops working (can nto ping in both
directions). I tried to reset with soft reset command and with watchdog
reset. I get this kind of problem with both cases. 
I am using clean WinCE image downloaded from this site.
When reset device with powering off/on Ethernet starts working again. It
starts working when I reset button on the device.

I think that the problem is in Ethernet driver, which does not reset
ethernet controller during initialization.
Is it possible to fix this problem in ethernet driver?
Is is possible to restart ethernet controller from programm after OS boot?

best regards

Simon
I was reading about similar problem on:

http://www.pocketpcjunkies.com/Uwe/Forum.aspx/wince-pb/14433/Ethernet-no...

Ferite
I have noticed the same...

JPP
Hello, I have the same problem on WinCE 6 r3, appreciate any help, do not
understand how ethernet not working after reset by a software reset. Thank
you.

Marc
I have performed many test about this problem and finally I have found this
workaround:

1) before soft reset unbind the lan adapter (see code on ndisconfig.c)
2) wait 20 seconds
3) reset board (watchdog or CESetSystemPowerState) 

after reboot the lan adapter work properly