This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to Download Code to Controller

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.