Part Number: AM3357
Sitara Support Team,
My customer has the problem of TX packet errors with PRU/ICSS2 instance
on their custom board using AM3357,
Current status:
(1) The environment:
-S/W: TI PROCESSOR-SDK-RTOS-AM335X 4.02
(2) Based on the IP sample code of PRU/ICSS2 instance of ICEv2 in the above SDK is modified
to operate the IP of CPSW1 instance simultaneously.
Customer refers to "NIMU_ICSS_FtpExample_icev2AM335x_wSoCLib_armExampleproject",
because the sample software structure is close to their system.
(3) Error status:
At start-up, the IP address is assigned to each of the three instances; CPSW1, PRU1, PRU2 individually.
Customer checked six board totol, and the three boards are workinf well,
but other three boards cannot send on the PRU2 port every time.
Six boards's hardware are not different.
It is confirmed that the RX from PRU2 has been received and returned the received response,
and it makes the transmission request to PRU firmware. However the packet does not come out.
(4) Connect status: 100M Ether Port
Custom board PRU#0(RJ45)=====cross cable ===(switch by cable)===PC:Win10
Custom board PRU#1(RJ45)=====cross cable ===(switch by cable)=== (PC:Win10)
Custom board CPSW#0(RJ45)=====cross cable ==(switch by cable)=== (PC:Win10)
To check the following items for studying the reason to not send the packets.
-Calling "ICSS_EmacTxPacketEnqueue" requested packet transmission to PRU
in pdk_am335x_1_0_9/packages/ti/drv/icss_emac/src/icss_emacDrv.c,
The data is correctly set in PRU / ICSS.
-Checking the six boards with sending same data, and the results of each board are same.
Three boards have TX packet errors.
[Questions]
1. Is it possible to debug AM335x main CPU + PRU x2 simultaneously using CCS?
2. How does it check the status that PRU/ICSS does not send sach as "Error status from PRU/ICSS", etc?
Best regards,
Kanae
