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.

CCS/TDA2EVM5777: Issue writing cp15_Register

Part Number: TDA2EVM5777

Tool/software: Code Composer Studio

Hi,

A customer I am working with has the following issue:

Issues were observed while trying to write CP15_Registers: REG_CTXA15_CP15_C7_ICIALLU and REG_CTXA15_CP15_C8_TLBIALL. The DS API Memory.writeRegister() instruction was used to write the registers and the following exception from Code Composer Studio (6.1.2) was displayed: 'Trouble Reading Register CP15_Registers_REG_CTXA15_CP15_C7_ICIALLU: (Error -1075 @ 0x36CF) Attempted to read from  a write-only register. (Emulation package 6.0.14.5)'.

Does a write call also implicitly issue a read? Any help on why this occurs or steps to avoid this error are appreciated; thanks!

Best regards,
Kevin
 

  • Kevin,

    It implicitly does a read after the write.  It shouldn't, and I've opened a bug for that: CCBT-2120.

    In the mean time, since the write should have happened prior to the read, if you catch and ignore the exception, does everything work as expected?

    Darian