The latest version is the one I've built on the repository. The old one is the one I've installed in december 2015 before you start working on the reverse CDD issue.
If I plug with the computer already running it starts ok everytime.
If I turn off and turn it on with the device plugged, i have the red light blinking and need to press the reset button (or unplug / replug) to have the green light.
The reliable connection with the computer already running is a good sign, at least. The USB problems before the overhaul caused that to fail on some machines.
When you have the problem after reboot, do you see one short red flash at a time, or two flashes in quick succession?
Several people fix this issue with the use of an usb hub or USB PCI card. It happens only with the mother board built-in usb port.
That's consistent with the nature of these problems. Empirically, I've observed that there are small differences in the USB protocol implementation from one host chip set to the next. The mbed USB protocol interpreter is extremely rigid and fragile, so these small variations are enough to cause errors that prevent the initial connection from succeeding. I've already debugged (and fixed) a few cases that trace to these host chip set variations, so the mbed code is better than it used to be, but I don't think it will ever be perfect because the motherboard manufacturers are constantly revising the hardware on the host side. Every new motherboard seems to be a new potential conflict. Hubs and add-in cards can *sometimes* work around these, since those will interpose yet another USB chip set on the host side, and if you're lucky, your hub will use a chip set that the mbed code works with.
I'd really like to track down and fix every one of these incompatibilities. Unfortunately, it's *really* difficult to debug when I don't have the same hardware you're using, because the only way to figure it out is if I can look at the exact USB message exchange on your machine that's causing the problem. If you're running Windows 8+ or you're using a USB 2 port, I can show you how to set up the Microsoft Message Analyzer (a free developer tool from MSFT) to capture the USB traffic during the connection attempt to a log file, and you can send me the log to look at - I can sometimes figure it out from looking at that. But your problem is during the initial Windows boot, which makes it almost impossible even to use this technique, because the error has come and gone by the time you can start the message capture tool.




Top










are all trademarks of VPFORUMS.