Hi,
When my main app is running, I want to fall back to bootloader. To do that I set some flags in flash then issue a software reset. I googled on how to software reset SAMD20 and it turns out that I have to reset the core by writing to the AIRCR reg. This is where I got the info:
However the s/w reset is resulting in a hardware fault.
This is my code:
(*(uint32_t*) 0xE000ED0C) = (0x05FA << 16) | 0x04;
It looks like that address is not mapped? Is there some other way to reset SAMD20 using start project?
thanks for your help