I have an ARM-M0+ (SAMD21G18).
I have a project that has a bootloader and another with application.
When I try to go to debugging I suspect the following:
- the ROM is erased
- application flashed only
- the program goes to fault mode.
I guess this is because of VTOR thing and SP in address 0x00000.
I've searched the internet, and people suggest to use application alone... but then how?
Is there another way to prevent debugger from erasing bootloader area?