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.

TMS320F28377D-EP: Issue retrieving the content pointed by a Pointer within CLA

Part Number: TMS320F28377D-EP


Hello,

I am having a hard time getting the content pointed by a pointer address on the CLA. When running this code (crc32) on the CPU, it does work.

Could someone tell me what is going on? Thank you.

I ran the code step by step on the CLA checking the register and here is my finding.

The variable "buf" address is 0x83A1, its content is 0x8800 (per the picture the content pointed by 0x8800 should be 0x83B6).

0000943C:        MAR0 = 0x8800 (=buf per the highlighted register)

00009442          MR1 = 0xFF

00009444:         MR0 = *MAR0 (*buf)          ==> MR0 does not get the content pointed by buf, MR0 = 0 (see highlighted register)

Instructions 00009446 and 00009448 => temp = *buf & 0xFF