Hi, I'm trying to implement the tidu794 BissC applicaiton on the AM3359 ICEV2 board. The app note says it works with the AM3359 but the PRU code appears to be mapped for the AM437x, but there are some pieces for the AM3359 in this package. I have the following questions:
1) What is required to remap this to run on the AM3359, and is there code already written to do this?
2) In the AM335x_PRU_ICSS.gel file in the package, the init section is attempting to clear 0x4A300000-0x4A370000. When I run this gel on CCS5, I get the following write past end of memory error:
PRU_0: Output: **** PRU-ICSS PRCM Enable Step 1 is in progress ****
PRU_0: Output: **** PRU-ICSS PRCM Enable Step 1 is Done ****
PRU_0: Output: **** PRU-ICSS PRCM Enable Step 2 is in progress ****
PRU_0: Output: **** PRU-ICSS PRCM Enable Step 2 is Done ****
PRU_0: Output: **** PRU-ICSS PRCM Reset is in progress ****
PRU_0: Output: **** PRU-ICSS PRCM Reset is Done ****
PRU_ICSS_Init() cannot be evaluated.
Attempted to write past the end of memory at 0x4A300000@Program_Memory
at GEL_MemoryFill(0x4a300000, 0, (16*1024), 0x0, 0xC) [AM335x_PRU_ICSS.gel:21]
at PRU_ICSS_Init()
According to the PRU TRM, this is valid memory space in the PRU for the AM3359. Can you explain this error?
3) In the AM3359 TRM, it references the PRU memory space as PRU_ICSS 0x4A30_0000 0x4A37_FFFF. Is this the same space as what's shown in the PRU TRM for the PRU global memory map from 0x0000 0000 to 0x4000 0000?
Thanks.