Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Bluefruit M0 Feather - can't upload sketch
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Bluefruit M0 Feather - can't upload sketch

by KC_OT on Sat Apr 03, 2021 1:42 pm

Hi there,

I'm trying to do this project (https://learn.adafruit.com/ios-switch-c ... -solutions), but so far I've been unable to upload the sketch (https://github.com/cyborg5/iOS_switch_c ... ter/simple) to the Bluefruit M0 Feather. I've tried in both the Arduino Web Editor and the IDE, I have the most up to date versions, I've verified that the correct board and port are selected, the sketch compiles without a problem but when I click to upload, it gets through a bunch of the code and then gets stuck on this error: "avrdude: ser_recv(): programmer is not responding avrdude: stk500v2_ReceiveMessage(): timeout". I'm new to the maker world, this is my first programming project, so I'm not sure where to go from here. Some forums say this error message means the bootloader is corrupted. If that's the case, either I corrupted it unwittingly or I was sent a defective board. Any advice?

KC_OT
 
Posts: 1
Joined: Sat Feb 27, 2021 2:20 pm

Re: Bluefruit M0 Feather - can't upload sketch

by adafruit_support_carter on Mon Apr 05, 2021 1:00 pm

That particular Feather comes in two flavors. One based on the 32u4 processor:
https://www.adafruit.com/product/2829
and one based on an M0 processor:
https://www.adafruit.com/product/2995

The BLE module is the same for both. But you do need select the correct board variant in the Arduino IDE. Your subject line mentions the M0, but by getting a complaint about "avrdude" implies you have selected the 32u4 as the board.

First, verify which variant you have. Then follow the main setup guide for the board and verify you can upload a basic blink example. If you have the 32u4 board, use this guide:
https://learn.adafruit.com/adafruit-fea ... uefruit-le
If you have the M0 board, use this guide:
https://learn.adafruit.com/adafruit-fea ... uefruit-le

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

Please be positive and constructive with your questions and comments.