Other Parts Discussed in Thread: AM5726
Hello
I'm using AM572x IDK board with TI-RTOS SDK 06.01 and I have a problem when two pairs of PRU-ICSS cores work in switch mode.
I cannot see packets (such as ICMP (from ping utility)), that were received from PRU2.1 port.
When I plug an ethernet cable from my PC to the board J8 connector, I cannot see software link interrupts (ICSS_EmacLinkISR function call), but the connector LED works fine.
But all work, when I plug cable to J6 connector on IDK board.
Also all work, when I plug cable to J3 (PRU1.0) or J5 (PRU1.1) connector on IDK board.
Also, if I change the PRU init sequence, all works successful on PRU2 and PRU1.0, but I have the same problem on PRU1.1 (J5 connector).
To change PRU init sequence (init PRU2 and then PRU1), you need to swap lines 191 and 197 in file net_init_api.c.
That looks like a bug with the last inited PRU core (and not the bug in my pinmux file).
To reproduce that I made a test project:
Some notes about test project:
- In that project BOARD_INIT_PINMUX_CONFIG define was disabled for Board_init call. You need to init all required pin muxes in MLO.
- IP address to first inited PRU pair is 192.168.7.4/24 (PRU1 by default).
- IP address to second inited PRU pair is 192.168.4.4/24 (PRU2 by default).
- Default gateway IP address is 192.168.1.1.
- You need to select PRU1 connectors J3 and J5 instead of gigabit J10 and J12 (by resistors soldering, for example).
What can I do to fix that?
My working environment: Ubuntu 16.04.6 x64 (LTS), CCS 9.1.0, TI-RTOS SDK 06.01.
With regards,
Alex