Adafruit Feather M0 Basic Proto wrong boot loader

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
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

I received 3 Feather M0 Basic Proto boards and they are all programmed with the Circuit Python boot loader. The catalogue clearly states that these are Arduino boot loader boards. I have no way to reprogram the boot loader since it requires a programmer like the Segger J-Link. I'm not sure what to do at this point. I don't think Circuit Python will fit our needs.

User avatar
jerryn
 
Posts: 1868
Joined: Sat Sep 14, 2013 9:05 am

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by jerryn »

Just to check, By Circuit Python Bootloader, I assume you mean the "UF2" bootloader and you see a USB device named "FEATHERBOOT" when you connect the board.
The "UF2" bootloader works for both Arduino and Circuit Python. You should be able to load Arduino sketches as normal.

Note: I don't represent Adafruit, just trying to help...

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

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by adafruit_support_carter »

What @jerryn said is correct. Go ahead and try programming it with Arduino - it should work just fine.

User avatar
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

Thanks for the info. I'm still having problems though. It does go into UF2 boot but when I try to load an Arduino Sketch it can't find the serial port to connect to. Before trying to upload the sketch the device manager in Windows 7 shows the feather on com21 after the load attempt the device manager updates and shows other devices feather M0 and on a different com port it now shows "AF M0 UF2 Webdummy (0015:04) (COM20). I try loading again but the com port does not show on the port select menu. Also the device manager says that the driver is not loaded even though I installed the drivers. I running this on a windows 7 box.

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

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by adafruit_support_carter »

Windows may be reassigning the COM port after the upload. When you are in bootloader mode, are you seeing the "FEATHERBOOT" folder show up without any issues? Post the full output of the messages that are being printed in the Arduino console when you attempt an upload.

User avatar
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

Thanks I'll check that but the problem occurs when the IDE tries to upload. In verbose mode I see it trying to locate the serial port, in this case Com21 and then when the board goes into UF2 mode the com port disappears from the verbose output listing and it no longer shows up on the IDE PORT selection list. The port literally re-enumerates to a new port number right after the Feather enters manual upload mode (slow blinking LED). If I put the board into manual upload mode the IDE always loses the port number and never finds it until i reset it to the Circuit Python loader. This is really weird.

User avatar
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

Here's some screen shots and the listing from the output window on the IDE.
Thank again for your help.
Attachments
IDE error output.txt
Output from the IDE during upload
(68.59 KiB) Downloaded 8 times
Initial port configuration in device manager
Initial port configuration in device manager
Device manager Featehr in intial startup.PNG (59.33 KiB) Viewed 171 times
port configuration in device manager after resetting to manual boot mode
port configuration in device manager after resetting to manual boot mode
Device manager Featehr after double press of reset UF2 mode.PNG (68.73 KiB) Viewed 171 times

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

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by adafruit_support_carter »

Sorry - for some reason didn't notice that you're using the Basic Proto. That one may have come without the UF2 bootloader. You should still be able to program it with Arduino, but you can't double reset and get the FEATHERBOOT folder with that one.

Make sure you've installed the drivers for Win 7:
https://learn.adafruit.com/adafruit-fea ... -only-6-11
And then you should be able to select the board as shown here:
https://learn.adafruit.com/adafruit-fea ... blink-6-21
And if you still have trouble, try this:
https://learn.adafruit.com/adafruit-fea ... help#faq-4

User avatar
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

Thanks for the help. I've done all that before. It keeps losing the serial port when it tries to upload the sketch. The IDE never identifies the board on the serial port list like the examples and I have the latest drivers. My device manager says there is no driver loaded after I try to upload and it changes the port number and description as per the screen captures. At this point I have no clue as to why this is happening.

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

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by adafruit_support_carter »

Did you recently update the Arduino IDE?

User avatar
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

Yes I did to 1.8.5.

User avatar
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

I finally got the featherboot folder after double clicking the reset. Now I just have to figure out how to load Arduino sketches. Is there a tutorial for that?

Thanks again for the help.

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

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by adafruit_support_carter »

Interesting - do you have any idea what changed to make it finally show up?

Here's how to set things up for Arduino. If you run into issues, let us know:
https://learn.adafruit.com/adafruit-fea ... roto/setup

User avatar
patf123
 
Posts: 11
Joined: Wed Sep 19, 2018 6:58 pm

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by patf123 »

I tried deleting the drivers, reloading them and restarting the pc. That seemed to clear up the problem. I should have tried that earlier. Thanks again for all your help. I'm up and running now!

Pat.

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

Re: Adafruit Feather M0 Basic Proto wrong boot loader

Post by adafruit_support_carter »

Glad you got it working. It may have been Arduino that installed drivers that messed things up. We've seen that in some instances:
https://learn.adafruit.com/adafruit-cir ... duino-71-1

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

Return to “Feather - Adafruit's lightweight platform”