Hi:
I create the Gmac_Ip_InternalLoopback_S32G274A_M7 project from SW32G_RTD_4.4_3.0.2_HF01_DS_updatesite_D2204 using S32DS v3.4. However, it does not seem to work.
Due to lack of Debugger, I only find the program stop at this line,the program is stuck in an endless loop:
Please help me to solve the issue, if any configurations need to be checked?
Thanks !!!
Solved! Go to Solution.
I solve it !
I got a PE Debugger , and find that linker.ld has problem !
In order to use SD card , I modify the document like this:
when I recovery the file , I find that program running success!
Can someone solve this problem...?
Hi,
At this moment, we are working on a solution for using the SD for this specific example.
A workaround seems to be using the embedded NOR Flash available on the RDB2 and using the default linker file provided in the example. Due to the image being too large, a configuration for the QSPI controller should be provided to initialize and fetch the information in higher speeds.
Please, let us know if this information was helpful or not.
Hi,
I use Uart to print the The function Gmac_Ip_GetTransmitStatus return value is GMAC_STATUS_BUSY(02).
And I try to solve it referring to this solution,but failed.
I check all of the clock of GMAC , the MC_CGM_0 MUX_9, MUX_10, MUX_11 and MUX_15 you mentioned not locked .
This my clock figures....
But your response was to say that this program can not runing using SD card ??
I use the same method to runing FreeRTOS+LWIP demo of TCP/IP Stack.zip from Automotive Software Package Manager . I fail to ping 192.168.0.200 on P3A network interface.
Could you help me to solve this probelm,plese ?
Thank you!!
I solve it !
I got a PE Debugger , and find that linker.ld has problem !
In order to use SD card , I modify the document like this:
when I recovery the file , I find that program running success!
Hi,
We have verified the example and does not seem to need anything else aside from generating the code with the "S32 Configurations Tools" (not even an external connection).
You are saying that you don't have a debugger, How are you doing the programming for this code in your board? Have you tried another example? Just to know if the board is working as expected.
Depending on how you are doing your programming, have you configured the bootmode correctly? Are you using the serial boot mode? Or the RCON one?
Please, let us know for us to continue improving our answer.
Hi ,
Thank you for your reply!
I refer to "Light Up RGB LED Based On Real Time Drivers " in the "S32G-GOLDBOX-SW-UG" document, download image to SD card, the LED and UART and SPI test program with M7 was verified.
I use the RGB LED and serial port to help find the problem.
Thses are my modified code and S32 Configurations Tools
If the program runs successfully,RGB LED will close.But it not ......ToT
please help me to solve this problem,thank a lot!
PS:
Attachment is the program I generated