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.
Hi all,
I am using the TMS570LC4357 Controller with the Debugger XDS200. I have the following program lines of code:
PINMUX_GIOA0_DMA_ENABLE(OFF);
PINMUX_GIOA1_DMA_ENABLE(OFF);
PINMUX_GIOA2_DMA_ENABLE(OFF);
PINMUX_GIOA3_DMA_ENABLE(OFF);
PINMUX_GIOA4_DMA_ENABLE(OFF);
PINMUX_GIOA5_DMA_ENABLE(OFF);
PINMUX_GIOA6_DMA_ENABLE(OFF);
PINMUX_GIOA7_DMA_ENABLE(OFF);
PINMUX_GIOB0_DMA_ENABLE(OFF);
PINMUX_GIOB1_DMA_ENABLE(OFF);
PINMUX_GIOB2_DMA_ENABLE(OFF);
PINMUX_GIOB3_DMA_ENABLE(OFF);
PINMUX_GIOB4_DMA_ENABLE(OFF);
PINMUX_GIOB5_DMA_ENABLE(OFF);
PINMUX_GIOB6_DMA_ENABLE(OFF);
PINMUX_GIOB7_DMA_ENABLE(OFF);
These program lines are used to program the register PINMUX[175] up to PINMUX[178]. I expect the following value for the register:
PINMUX[175] = 0x01010101
PINMUX[176] = 0x01010101
PINMUX[177] = 0x01010101
PINMUX[178] = 0x01010101
But if I look in the Debugger Output I see following values:
If I look in the Memory Map for PINMUX[175], address 0xFFFF1FCC (Base Adr. 0xFFFF1C00U + Offset PINMUX[175]. 0x3Ch = 0xFFFF1FCC) it shows me the fifth value of register PINMMR171. But the value is the right one.
It looks to me as if the display of the register data has shifted. Could you agree my observation.
Best regards
Lars
Hello Lars,
You are right. I noticed that the offset of PINMUX[175:179] used in CCS is not consistent with the offset listed in TRM. I will double check and come back to you.
Hello Lar,
I did a test and confirmed that the addresses of pinmmr[179:172] in CCS are wrong. The address for those 8 registers in Datasheet and TRM are correct. The code generated by HALCOGen is correct.
I will file a ticket to correct this bug in next CCS release. Thanks Lars.