On Saturday, August 13, 2022 we will be working on the Adafruit Customer Support Forums. If you visit over the weekend and things are not complete yet, please check back later, https://adafruit.com/forumupdates
0

upload sketches to M0 Express
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 10:35 am

I HOPE this isn't a dumb question, but I can't get the M0 Express to upload ANY sketches. As far as I know I've installed all the the required board support. I've tried pushing the reset button twice. What am I doing wrong here??
Attachments
M0Express.jpg
M0Express.jpg (61.85 KiB) Viewed 166 times

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

by adafruit_support_carter on Tue Jun 28, 2022 10:46 am

What error messages are you seeing when you try to upload?

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 11:12 am

M0Express.jpg
M0Express.jpg (146.72 KiB) Viewed 171 times
Here's an image. Hope you can read it!

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

by adafruit_support_carter on Tue Jun 28, 2022 11:26 am

It's saying "Port busy" which typically means some other software is claiming the COM port.

Have you ever uploaded to an Arduino board on that PC?

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 12:30 pm

I've used this Windows 10 computer for YEARS, with many different Arduinos, your HUZZAH32-ESP32, and others. This is the only board I've had problems with. I'm currently using IDE 1.8.15 and I don't have any current plans to change over to the 2. IDE.

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

by adafruit_support_carter on Tue Jun 28, 2022 12:43 pm

OK, so other boards upload OK. ESP32 boards have a slightly different interface, which could be why they are working. Have you used any other M0 based boards?

Can you check COM10 in Device Manager and see if its reporting any issues there?

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 12:56 pm

M0Express.jpg
M0Express.jpg (54.42 KiB) Viewed 155 times
I haven't used any other M0 board. Device Manager says COM10 is "working properly." This window opens when I try to upload anything to the M0Express.

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

by adafruit_support_carter on Tue Jun 28, 2022 1:30 pm

That's the bootloader mode folder. So it's at least getting into bootloader mode.

Does that folder eventually go away? Or does it stay like that after the failed upload?

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 2:39 pm

The folder doesn't go away unless I close it myself.

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

by freddyboomboom on Tue Jun 28, 2022 5:04 pm

I noticed that in your first screenshot in your original post, you have the Arduino M0 selected as the board.

You should probably select Adafruit M0 Express or something like that, instead.

I don't use Arduino, so I don't have any other suggestions, sorry.

freddyboomboom
 
Posts: 203
Joined: Wed Feb 16, 2022 7:55 pm

Re: upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 5:27 pm

Hmm... Considering that you don't use Arduinos at all, why did you make this comment?? Support for all the "Adafruit SAMD Boards" specifically includes the Feather M0 Express. Once this support package is installed, there are three possible choices for M0 boards and I've tried all of them.

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

by adafruit_support_carter on Tue Jun 28, 2022 5:29 pm

@freddyboomboom OMG thanks! That's probably it. Missed it looking at the labels in the port menu select.

@earthres Yep, make sure the board selection is for the Feather M0 Express.
https://learn.adafruit.com/adafruit-fea ... rduino-ide
Should be under:
Tools -> Board -> Adafruit SAMD (32-bits ARM Cortex-M0+ and Cortex-M4) Boards

board.jpg
board.jpg (35.87 KiB) Viewed 139 times

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 6:36 pm

M0Express.jpg
M0Express.jpg (72.69 KiB) Viewed 133 times
Here are the available boards from IDE 1.8.15

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

by adafruit_support_carter on Tue Jun 28, 2022 7:11 pm

Also install Adafruit SAMD:
https://learn.adafruit.com/adafruit-fea ... md-2854160

You only have Arduino SAMD.

URL to add is shown here:
https://learn.adafruit.com/adafruit-fea ... -ide-setup

adafruit_support_carter
 
Posts: 24091
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

by earthres on Tue Jun 28, 2022 7:21 pm

Well, that really was the problem! My bad, and thanks for your patience!

earthres
 
Posts: 86
Joined: Fri May 28, 2021 10:48 am

Please be positive and constructive with your questions and comments.