Hello,
I'm working with the GP Prime device TDA3xx. The board crashes when I try to access the memory via the HW_RD.
I'm trying to read the value from the 32kHz clock:
timerVal = HW_RD_REG32(SOC_COUNTER_32K_BASE + COUNTER_32K_CR);
The processor locks on this line.
When trying step through this line in the CCS I get
Cortex_M4_IPU1_C0: 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 8.1.0.00007)
I'm pretty confused why this happens.
Thank you,