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.

J721EXSOMXEVM: Unable to write to registers - MCU1_0 SBL

Part Number: J721EXSOMXEVM

Tool/software:

Hello Everyone.

I am booting the MCU Domain Cortex - R5F (mcu1_0) using the SBL in lockstep mode.

I have a baremetal code running on the R5F, but any register i try to write, I am unable to write. I can successfully read the register, but my writes to registers are failing.

Above snippet shows that I am trying to first read the CTRLMMR_GTC_CLKSEL register and then writing 0xF to this register. 

But when i run the program, I can see that the register has not been written. I ve tried directly using the address and writing as well as using the "hw_types.h" API (HW_WR_REG32(addr, value)). But both fail to write to the register.

Please help.