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 ??
Few of the Build Logs while downloading the code to the controller are as follows:-
INFO: Configuring trace using 'SWO,ETB' setting ...
Trace: Using detected ETMv3CM at address 0xe0041000
Trace: ETMv3CM is not powered-up (ETMCR=0x411)
Trace: ETMv3CM powered-up OK (ETMCR=0xc10)
Trace: Access to detected ETMv3CM(architecture=3.5) initialized (CONF=0x8c842000, CTRL=0xc10, IDR=0x4114f250)
NFO: SWO trace mode is not supported by the probe (use I-jet/I-jet-Trace probe) - trace is disabled.
CPU status - LOCKUP
HardFault exception.
The processor has escalated a configurable-priority exception to HardFault.
A bus fault has occurred on an instruction prefetch (CFSR.IBUSERR, BFAR).
Exception occured at PC = 0xffffffff, LR = 0x0
Please, help me with this issue. How to solve this error ??
Thanks.