Other Parts Discussed in Thread: AM263P4
Tool/software:
I am currently using CCS 20 to debug the operation on the PRU_0 core of an AM263P4. I don't know what I changed, but it doesn't appear that the debug values for variables is getting correctly retrieved from RAM. As a test, I created multiple variables then step through the assembly code while watching the Memory. I can see the memory getting updated as expected, but when I hover over the variable, view in in the Variables section, or put it as Watch variable it always shows 0. Note that when viewing the memory, I have to change to the PRU_Device_Memory in order to view the correct area of memory.
It seems as though hovering over the variables or viewing it in the Variables or Watch areas pulls values from the Data_Memory instead of the device memory. I could be wrong about that, its just a guess. Either way, something isn't working right here.