Hi NXP Team
We are testing the SJA1110 PtP function using the S32g_vnp_rdb2 development board. The sample code is gptp_freertos_sja1110x.
But currently, it stops at the position of the DefaultISR code (as shown in Figure 1). At the same time, we observe that PtP packets are sent out (as shown in Figure 2). The program execution will stop at DefaultISR after the PTP packet is sent out. We don't know what happened to the DefaultISR.
Do you have any suggestions on how to debug? Could you please help with it?
The following is the test we did for the sample code "gptp_freertos_sja1110x":
We found that by removing the GPTP_TimerPeriodic() function (as shown in Figure 3), the program will execute normally, and the ping function can also be executed (as shown in Figure 4/5), but the PtP packet will not be sent out.
As a result, we want to debug the GPTP_TimerPeriodic() function.,we want to trace this function, but it seems to be a lib function (as shown in Figure 6 below), we can't continue to debug, so we would like to ask how to debug and test for the next.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
BR
Guanlin
Hi Jay,
1. This demo should not work on S32g_vnp_rdb2 development board. We had a suitable gptp projects for S32g_vnp_rdb2 board, AVNET will share with you.
2. we need to check your gptp configuration accordingly.
Best Regards
Lanny
Hi NXP Team,
We have get license through AVNET, and download the middleware of gptp, but it seems like works in the same way,
I set some breakpoints to see the program, it stop at the position as below
I use the ptp of linux to be grandmaser, but SJA1110 can't receive ptp packets, wireshark only see one packet output by sja1110.
NXP experts, please help how to debug.
BR
Jay
Hi NXP Team,
We have tried another test, if we connect two sja1110, connect port5(slave) and port7(master) on both sides, the program doesn't stop, observed from wireshark, there are only sync packets, but no followup packets.
BR
Jay
Please help and fill below information:
1: company/location
2: end product
3: project schedule
4: volume/annual