Hi,
I'm developing some custom PRU code on the 66AK2G02 EVM. I use the GEL file as is out of the box to connect to the C66x DSP from CCS using the on-board XDS200 emulator. This GEL file enables the PRU subsystems. I then use CCS and JTAG to write code for the PRUs. The problem I'm facing is, I can't get to any of the system resources outside of the PRU from my PRU code. I can access all the internal PRU resources using the PRU local addresses, just can't get to anything outside of the PRU. For example, I can't get to the SoC pin mux registers (padconfig) starting at address 0x02621000. I also tried accessing the DSP L2 RAM and EDMA1 parameter RAM. I tried accessing from both code and CCS memory window, neither works, always returns zeros.
Can somebody tell me what I'm doing wrong? Is there some MMU or something that needs to be setup? I have the following line of code in my main() which all the PRU examples seem to have in them.
// Clear SYSCFG[STANDBY_INIT] to enable OCP master port
CT_CFG.SYSCFG_bit.STANDBY_INIT = 0;
Thanks