Programming the metro M4 grand centeral with arduino ide

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
josephchrzempiec
 
Posts: 77
Joined: Tue May 12, 2015 4:34 am

Programming the metro M4 grand centeral with arduino ide

Post by josephchrzempiec »

Hello I have a small problem. I'm trying to program the M4 board with arduino ide. I found out if i hit the reset button a couple of times somehow the code i upload gets ereased. And that Hid drive pops up. I'm not sure why this happens how can i stop that so if i hit the reset button my code stays?


Joseph

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: Programming the metro M4 grand centeral with arduino ide

Post by dastels »

Double-pressing reset puts the board into bootloader mode and METROBOOT will mount. Pressing reset a single time will run whatever firmware is in flash. Firmware uploaded by the Arduino IDE is put in flash and stays there until it is replaced.

Dave

User avatar
josephchrzempiec
 
Posts: 77
Joined: Tue May 12, 2015 4:34 am

Re: Programming the metro M4 grand centeral with arduino ide

Post by josephchrzempiec »

Hello dastels, thank you it was freaking me out not seeing my sketch working. I was wondering if it is possible not to have that pop up folder every time it’s in boot loading time when I program it?


Joseph

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: Programming the metro M4 grand centeral with arduino ide

Post by dastels »

No, that's how the UF2 bootloader works. It is what let's you load a firmware UF2 onto the board (typically a CircuitPython UF2).

Dave

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

Return to “Metro, Metro Express, and Grand Central Boards”