Hello All,
We have custom PCB having ATSAME54P20A microcontroller. Suddenly today I started getting CPU Status - LOCKUP error and I am unable to download the code to the microcontroller. Before, that I am able to download the code to controller but it is giving me various BusFault and HardFault handler errors.
I am using IAR Embedded workbench environment and ATMEL ICE debugger to download the code to controller.
How can I download the code to controller again ?? How to remove the LOCKUP state of Cortex M4 device ATMSAME54P20A ?? What steps I need to take to resolve this issue ??
Please, help.
Thanks.
Are you sure that it doesn't get you out - or is it that it just goes straight back into the state again?
If you have code which is doing something to cause the LOCKUP state, then it will keep doing that until you change the code.