adafruit / uf2-samdx1

MSC bootloader (based on UF2) for SAMD21
Other
212 stars 183 forks source link

Feather M0 gets bricked #99

Closed blkist closed 4 years ago

blkist commented 4 years ago

Hello, I followed this tutorial (https://learn.adafruit.com/installing-circuitpython-on-samd21-boards/installing-the-uf2-bootloader) on 3 M0 Feather boards and it bricked them all. I followed the directions perfectly every time and I used the Arduino INO file that is posed in this repository. I think there is an issue with the INO file. Also, in case it helps, the boards I used most recently were the Adalogger M0. Thanks for looking into this.

caternuson commented 4 years ago

What was the exact name of the .ino file you used?

Pinging @dhalbert

blkist commented 4 years ago

update-bootloader-feather_m0-v3.7.0.ino

JetForMe commented 4 years ago

I, too, bricked a Feather M0 using the .ino file created by this repo. I thought it was because of the changes I introduced in check_start_application() but maybe it’s the .ino.

dhalbert commented 4 years ago

Please do not use .ino files. I removed them from the release because they are broken in several ways, and put a warning in the release notes for 3.7.0. The M4 .ino files never worked, and the M0 ones have several flaws.

JetForMe commented 4 years ago

Well, I only cloned this repo yesterday, and they were in master, and I don't see any obvious warnings. EDIT: Oh, I clone the microsoft repo.

dhalbert commented 4 years ago

The warnings are just here: https://github.com/adafruit/uf2-samdx1/releases/tag/v3.7.0. I'm in the middle of doing a lot of debugging and improvement on this, and was either going to fix the .ino's or remove them. Sorry it's not clearer. Most of our users are just using the downloaded .ino's, so I removed them for safety.

JetForMe commented 4 years ago

Fair enough. I should be getting an ATMEL-ICE tomorrow, hopefully it's easy enough to re-flash these from macOS. I really need to get that other bug fixed.