I've looked further into this and am unable to reproduce it with any decent frequency. If I use the device for several hours I reliably get the problem upon next plugin (even if I unplug it for 30 mins first), but if I do any combination of rebooting, shutting down, under low load or high load, I don't get it unless the device was being used for a long time. Kind of awkward to investigate...
matthieu castet wrote: >> i.e. with unmodified zd1211rw if you unplug and plug your device, it >> doesn't initialize properly. But on the vendor driver that works just >> fine, yes? > yes, but that bad : it means that the driver is not able to recover from > strange case. True, this is probably the more robust way, although we should definitely take care of the FW_SOFT_RESET too. Unfortunately we can't do this until after the device has booted the firmware, but it shouldn't be too much of a problem. Can you explain where you got the magic numbers from, e.g. LOAD_CODE_START_OFFSET? > PS : I fear in my patch I have an endian issue when I compare the > "reset_vector". Correct, I don't think that will work on BE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs