After trying to flash a pair of ATSAMD21G18A the device ID's changed from the expected ones to the IDs shown in the picture, the firmware on the J-Link EDU is up to date and Microchip studio is newly reinstalled.
The board the microcontroller is on is proven to work as I have done the same process before without any problems, however, after trying to make new boards while setting the fuses the microcontroller just bricked.
The errors I find are:
J-Link Commander: 0x0 sector is locked while trying to erase, Microchip Studio erases just fine
J-Link Flash Lite: Error while trying to flash a hex or bin file
Microchip Studio: Device ID changed from 0x10010305 to "Unexpected Chip Identifier 0x1001031f" after setting a boot protect fuse.
ATSAMD21 bricked after setting fuses, device ID changes to an unknown one
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- OrlandoR4
- Posts: 3
- Joined: Thu Nov 24, 2022 5:40 pm
ATSAMD21 bricked after setting fuses, device ID changes to an unknown one
- Attachments
-
- err1.PNG (32.85 KiB) Viewed 86 times
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: ATSAMD21 bricked after setting fuses, device ID changes to an unknown one
This page from StackExchange describes resetting the NVM fuses with gdb:
https://electronics.stackexchange.com/q ... -nvm-fuses
Beyond that, you may need to talk to the folks at Microchip/Atmel.
https://electronics.stackexchange.com/q ... -nvm-fuses
Beyond that, you may need to talk to the folks at Microchip/Atmel.
Please be positive and constructive with your questions and comments.