I have installed IAR Embedded Workbench IDE and tried to dump the code to the controller but it is giving me various error related to Stack, Program Counter, HardFault Exception, Bus Fault etc.
I am getting Hardfault exception error when trying to dump the code to controller with the help of ATMEL ICE debugger.
The few error lines from the file are:-
The processor has escalated a configurable-priority exception to HardFault.
A bus fault has occurred on an instruction prefetch (CFSR.IBUSERR, BFAR).
The processor has attempted to execute an undefined instruction (CFSR.UNDEFINSTR).
Exception occurred at PC = 0x7f4, LR = 0xffffffff
You can observe the above errors in the file attached also which is observed during the dumping of code to controller in the IAR IDE. Please, suggest how to solve this errors.