I’ve had my Arduboy for a week now, and been enjoying uploading games, and having a dabble at coding.
This morning I tried a “Fidget Spinner” (I hope it wasn’t malware!) ‘simulator’, and it was when this program was running that I ran into problems getting a new program uploaded.
I’ve ran through the usual processes to get something uploaded - pressing reset, and hitting upload at the same time, pressing up when I turn the device on, and then uploading, trying a different COM port, and 3 different PC’s.
It appears to be the behaviour of the Arduboy.
When I turn it on - it behaves normally, the fidget spinner program runs, and it also gets recognised as a Leonardo in Device Manager.
BUT - this is where it all goes wrong. When Arduino IDE uploads a sketch, it warm reboots the device. When it does so, the device doesn’t respond with any device ID! So it’s not recognised.
Checking in Device Manager - “Unknown USB Device. (Device Descriptor Request Failed).”
Woha!
Hm - I experimented some more.
I’ve followed the instructions VERY closely here:
My result is different from the one there - I press the recessed reset button by the USB plug, the device screen goes blank FOR GOOD. It disappears from Device Manager and I hear the disconnect, then it comes back (the connect music plays) BUT INSTANTLY (there’s NO 8 seconds!) it appears as an unknown device.
If I turn the Arduboy’s power off at the switch then back on - it appears as a Leonardo again.
It behaves on 3 PC’s like this, when I’d uploaded things from them before. =(
So the situation is - ANY warm reboot causes it to crash, and the device descriptor is NEVER sent.
I can’t avoid it during upload, because ALL the uploaders (ARG, Arduino IDE, and Arduboy Manager ALL reset the device to get it into flash mode before sending the code up)
Does anyone have any ideas? Upload mode just isn’t recognised by any of my PC’s any more.