Gemma M0 stopped loading code

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
tcross99
 
Posts: 8
Joined: Mon Feb 13, 2023 3:41 am

Gemma M0 stopped loading code

Post by tcross99 »

(Arduino IDE 2.0.4) M0 listed in boards connected to COM9. Had successfully uploaded code mods 8-10 times. Now it will not load code and output says "No device found on com9" though the IDE status bar says the"...M0(SAMD21) on COM9".

I have reloaded IDE and sketch. dis/reconnect USB, powered the M0 on/off with switch and still it won't upload code.

What have I missed?
Thx, Tom

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Gemma M0 stopped loading code

Post by adafruit_support_mike »

The bootloader's USB firmware might be crashing.

Enable verbose messages during upload in the Arduino IDE's preferences, try to upload a sketch, and when you see the lines that begin with 'PORTS' start to scroll past, double-click the Gemma M0's reset button. That will force it to reboot and open a new USB connectiopn to the computer while the IDE is waiting for a new USB device to appear.

That usually gets things back in sync.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”