Has anyone had any success with using openocd to erase ATSAMDA1 or ATSAMC21 
devices which have the security enabled?

The command:'at91samd chip-erase’ says it will erase the device when security 
enabled. However when the security is set openocd doesn’t appear to be able to 
run the ‘init’ command on the device successfully.

According to the data sheet (ATSAMDA1 section 14.6.2 & timing diagram Figure 
14-2) the CPU Reset extension must be used before chip-erase.

I have tried using Atmel-ICE and JLink-EDU adapters.

I log of the chip-erase command is at:
https://pastebin.com/3SFZXRpj <https://pastebin.com/3SFZXRpj>

I also have a log of what Atmel Studio does to successfully erase the chip:
https://pastebin.com/5m1WSKmh <https://pastebin.com/5m1WSKmh>

Any help would be much appreciated. TIA

William Hanna
HW Engineer
w: dbe.ca <http://dbe.ca/>
p: (902) 702 8716  ext:2
e: [email protected]





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to