Hello,
I an writing some code to test the CCS PRU Debug interface. I am using AM64x EVM, ICSSG0_PRU0, and CCS 11.2.
The variable window sees variables in the wrong location in memory. Because of that, changing the variable value in the window does not actually do anything.
In the above image, I set x = 1, y = 2, and z = 0. The stack is size 0x100, starting at Data Memory address 0x0. It looks like the PRU compiler has x placed at 0xF0, y placed at 0xF4, z placed at 0xF8. The statement z = x + y just executed, so we can see that 0xF8 just updated to a value of 3.
However, x, y, and z in the Variable view all still say 0. "Location" seems to indicate that they are stored at 0x0, 0x4, and 0x8. And when I update those values in the Variables window, those addresses are updated:
Any idea of what is going on?
Thanks,
Nick