upload sketches to M0 Express

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.
User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

upload sketches to M0 Express

Post by earthres »

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 230 times

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

Post by adafruit_support_carter »

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

User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

Post by earthres »

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

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

Post by adafruit_support_carter »

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?

User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

Post by earthres »

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.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

Post by adafruit_support_carter »

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?

User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

Post by earthres »

M0Express.jpg
M0Express.jpg (54.42 KiB) Viewed 219 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.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

Post by adafruit_support_carter »

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?

User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

Post by earthres »

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

User avatar
freddyboomboom
 
Posts: 267
Joined: Wed Feb 16, 2022 7:55 pm

Re: upload sketches to M0 Express

Post by freddyboomboom »

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.

User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

Post by earthres »

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.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

Post by adafruit_support_carter »

@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 203 times

User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

Post by earthres »

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

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: upload sketches to M0 Express

Post by adafruit_support_carter »

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

User avatar
earthres
 
Posts: 221
Joined: Fri May 28, 2021 10:48 am

Re: upload sketches to M0 Express

Post by earthres »

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

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

Return to “Feather - Adafruit's lightweight platform”