Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 779 Bytes

README.md

File metadata and controls

16 lines (15 loc) · 779 Bytes

UNBRICKER

Unbrick an Arduino MKR1000 using another MKR1000.

Problem: The SAMD21 bootloader is in flash at address 0x0000, and can be blown away using a firmware flashing utility like bossac, if an offset of 0x2000 is not specified.

https://www.hackster.io/nicola-wrachien posted a helpful tutorial on unbricking the SAMD21, using a uChip as a host.

That project was easily converted to use an MKR1000 as a host. The result is this repository, which includes the Eagle brd file needed to produce a PCB, as well as the Arduino sketch that the MKR1000 host can use to flash the bricked MKR1000.

To prevent bricking using bossac, use this command line:
bossac -p COM21 -e -w -v -R --offset=0x2000 firmwarefile.ino.bin