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.

AM6442: PRU_Direct_Connect example in PSSP

Part Number: AM6442

Hi experts

Could you tell me the detail step of running the PRU_Direct_Connect example in PSSP6.1?

I ran this example through CCS, but I found that the register for PRU1 did not receive the value, and through a single-step debug I found that the program in PRU0_Direct_Connect.c was stuck in this place

and PRU1_Direct_Connect.c was stuck in this place

My approach is

1.generate .out files from makefile

2.Launch AM6442 target configuration in CCS

3.loadJSFile "C:/ti/mcu_plus_sdk_am64x_08_00_00_21/tools/ccs_load/am64x_am243x/load_dmsc.js"

4.A53 connect target

5.Connect PRU0_ICSS0

6.load PRU_Direct_Connect0/icss0/PRU_Direct_Connect0_0.out

7.click run button

8.Connect PRU1_ICSS0

9.load PRU_Direct_Connect1/icss0/PRU_Direct_Connect1.out

10.click run button

I can see the r5-r10 in PRU0 have changed into 

dmemBuf.reg5 = 0xDEADBEEF;
dmemBuf.reg6 = 0xAAAAAAAA;
dmemBuf.reg7 = 0x12345678;
dmemBuf.reg8 = 0xBBBBBBBB;
dmemBuf.reg9 = 0x87654321;
dmemBuf.reg10 = 0xCCCCCCCC;

Could you tell me where I have done the wrong thing and how to run this example correctly?