This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWRL6432BOOST: Hard Fault occurs when trying to allocate memory

Part Number: IWRL6432BOOST

Context: I am making a project with CCS with SDK. I am trying to allocate memory for some operations involved with running a CNN model in the code, but during execution of that operation I am getting an error in the CCS debugger as provided below,

Cortex_M4_0: Can't Run Target CPU: (Error -1268 @ 0x1090001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.11.0.00128)

As mentioned in the error message, I tried resetting and running again. Other programs run fine but only during this operation I am getting this error.