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.

PROCESSOR-SDK-AM64X: PRU_IO driver bug

Part Number: PROCESSOR-SDK-AM64X

Hello,

We've identified the following bug in the PRU_IO driver, could you please add the proposed fix to the next SDK:

Affected file:

mcu_plus_sdk_am64x_08_05_00_24\source\pru_io\firmware\common\icss_constant_defines.inc lines 147 to 153, the bug affects only operations of PRU1:

 .if $isdefed("PRU0")
PRU_DMEM_ADDR .set ICSS_DMEM0_CONST
PRU_CROSS_DMEM .set ICSS_DMEM1_CONST
 .else ;PRU1
PRU_DMEM_ADDR .set ICSS_DMEM1_CONST
PRU_CROSS_DMEM .set ICSS_DMEM0_CONST
 .endif

Replace the 7 lines with just:

PRU_DMEM_ADDR .set ICSS_DMEM0_CONST
PRU_CROSS_DMEM .set ICSS_DMEM1_CONST

Reason: for PRU1 the memory to use is also ICSS_DMEM0_CONST as the hardware already points to the correct location.

Regards.