cannot be used to jump to the program; it jumps to the bootloader
it will reset the micro. it depends on your fuse if it will execute the boot loader or the normal application memory.
ok, the procedure is clear. i understand it saves time, but i would test the boot loading before shipping the device.
i used pins and special test boards and programs but at the end that will not test the connector and testing everything is the only way to make sure the product is 100%.
ok, i f you make thousands you can accept some error.
in any case we can assume the problem is only with the xmega flash.
the only way is that spm is executed with &H20. since there are no interrupts active i can not see it happen.
thus i keep it on an electric kind of problem. again the brown out (or an external one) would solve that problem. _________________ Mark
Posted: Fri Nov 20, 2020 7:32 pm Post subject: SOLVED!
I have been able to reproduce the error in the lab and I can confirm that it is a Brownout problem.
With BOD disable is easy to make the chip to behave unpredictably and erase the app when the input voltage is between 2 and 3V
With BOD enabled the chip always seems to behave as expected.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum