Board: Custom board with AM5708
Processor SDK Linux RT 5.02
Our FW uses 64-bit PRU-ICSS1 Industrial Ethernet Timer. It is observed that dsp1 FW hangs while trying to initialize this timer via its registers. At the same time, we see this error:
[ 51.532367] omap_l3_noc 44000000.ocp: L3 application error: target 5 mod:1 (unclearable)
[ 51.540529] omap_l3_noc 44000000.ocp: L3 debug error: target 5 mod:1 (unclearable)
Basically, trying to access any register of IEP of PRU-ICSS1 hangs a core (dsp1 or A15).
To investigate this issue, we removed our FW / code completely, i.e., no FW running on dsp1, ipu1, pruss1. Also, no custom application running on A15/Linux. At this moment, if we access any register of IEP of PRU-ICSS1 using devmem2, it hangs the A15, and we have to power cycle the board.
devmem2 0x4B22E000 <<-- This command will hang A15
PRUSS1 CLK registers values on a affected board:
CM_L4PER2_CLKSTCTRL: Register : 0x4A0098FC, value: 0x00016100
CM_L4PER2_PRUSS1_CLKCTRL: Register : 0x4A009718, value: 0x00000002
Please note that:
We observed this issue on only few boards in production (Approximately 2 or 3 boards out of 10). Other boards work fine.
Issue is only observed after power cycle / hard reset: When we power cycle the affected board, issue is observed 100% of the times. When we reboot the board from Linux, issue is not observed, i.e., we can access IEP registers without any issue.
Please let us know how to diagnose this issue.