I use a SAMD21E, for space saving, I connect an input tu SWCLK.. This input is most of the time LOW.
So when I press the RESET button it always go into debugging mode. In documentation I read this is called "CPU Reset Extension".
Is there a way to disable this ? With fuses or registers ?
I tried those solutions but no ones works :
- PORT->Group.PINCFG.reg &= ~PORT_PINCFG_PMUXEN
- PORT->Group[PORTA].PINCFG.bit.PMUXEN = 1;
- PORT->Group[PORTA].PINCFG.bit.PULLEN = 1;
I want to disable this permanently to be sure that when RESET is pressed chip doesn't go in debugging mode !
Thanks a lot to who can help me !