Page 1 of 1

SAMD20 Erased after normal RESET or Power Down

Posted: Thu Sep 10, 2015 1:08 pm
by TPO
Hello my name is Túlio,
I´m having serious problem with mine SAMD20 and my JTAGICE3 programmer. When I program it, the code runs nice. but then when I reset or power down the board the code is erased. Anyone has any idea how to solve it?

Re: SAMD20 Erased after normal RESET or Power Down

Posted: Thu Sep 10, 2015 1:10 pm
by TPO
I think that might be some memory writing problem, or maybe some fuse configuration. I´m still looking for the answer.
Thanks...

Re: SAMD20 Erased after normal RESET or Power Down

Posted: Mon Sep 21, 2015 2:09 pm
by sarlacii
Hi there

Just off the top of my head, check that you are not somehow setting erase before program or something similar? The IC won't just spontaneously erase... .

Re: SAMD20 Erased after normal RESET or Power Down

Posted: Tue Jul 05, 2016 11:02 pm
by robbie
We had a similar thing with SAMD20 in sensor that is powered on/off every 4 seconds. We first estimated that this was caused by brown-out causing the processor to behave madly and unintentionally hitting a NVP driver function. So we adjusted BOD33 levels. This did not help. Eventually we set the lock bits for internal flash. That solved the issue. None of the sensors lost their firmware since...