upload sketches to M0 Express
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
upload sketches to M0 Express
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 (61.85 KiB) Viewed 230 times
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: upload sketches to M0 Express
What error messages are you seeing when you try to upload?
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
Re: upload sketches to M0 Express
Here's an image. Hope you can read it!
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: upload sketches to M0 Express
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?
Have you ever uploaded to an Arduino board on that PC?
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
Re: upload sketches to M0 Express
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.
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: upload sketches to M0 Express
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?
Can you check COM10 in Device Manager and see if its reporting any issues there?
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
Re: upload sketches to M0 Express
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.
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: upload sketches to M0 Express
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?
Does that folder eventually go away? Or does it stay like that after the failed upload?
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
Re: upload sketches to M0 Express
The folder doesn't go away unless I close it myself.
- freddyboomboom
- Posts: 267
- Joined: Wed Feb 16, 2022 7:55 pm
Re: upload sketches to M0 Express
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.
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.
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
Re: upload sketches to M0 Express
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.
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: upload sketches to M0 Express
@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
@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
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
Re: upload sketches to M0 Express
Here are the available boards from IDE 1.8.15
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: upload sketches to M0 Express
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
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
- earthres
- Posts: 221
- Joined: Fri May 28, 2021 10:48 am
Re: upload sketches to M0 Express
Well, that really was the problem! My bad, and thanks for your patience!
Please be positive and constructive with your questions and comments.