Other Parts Discussed in Thread: MSPM0G3519
Tool/software:
Hi Team,
As mentioned in the subject, our board bring-up and clock configuration code works fine without any issues when I flash the ELF directly. However, I encounter a Hard Fault during board bring-up when performing a target reset through the debugger.
On further debugging, I observed that the Hard Fault is triggered during the update of SYSPLLPARAM0/1 in the clock configuration function. After a target reset, the values at addresses 0x41C40030
–0x41C4003C
are reset to zero. As a result, accessing these memory locations causes the Hard Fault. I have attached the snippet for your reference.
Regards,
Manjunath B