S32G-VNP-GLDBOX Gmac_Ip_InternalLoopback test

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G-VNP-GLDBOX Gmac_Ip_InternalLoopback test

ソリューションへジャンプ
1,599件の閲覧回数
longtengqiufeng1
Contributor III

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:

longtengqiufeng1_0-1667976817568.png

Please help me to solve the issue, if any configurations need to be checked?

Thanks !!!

0 件の賞賛
返信
1 解決策
1,539件の閲覧回数
longtengqiufeng1
Contributor III

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:

longtengqiufeng1_0-1668666029264.png

when I recovery the file , I find that program running success!

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
1,560件の閲覧回数
longtengqiufeng1
Contributor III

Can someone solve this problem...?

0 件の賞賛
返信
1,553件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
返信
1,548件の閲覧回数
longtengqiufeng1
Contributor III

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.

longtengqiufeng1_0-1668569373549.png

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....

longtengqiufeng1_1-1668569635086.pnglongtengqiufeng1_2-1668569697640.png

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.

longtengqiufeng1_3-1668570387123.png

Could you help me to solve this probelm,plese ?

Thank you!!

 

0 件の賞賛
返信
1,540件の閲覧回数
longtengqiufeng1
Contributor III

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:

longtengqiufeng1_0-1668666029264.png

when I recovery the file , I find that program running success!

0 件の賞賛
返信
1,585件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
返信
1,584件の閲覧回数
longtengqiufeng1
Contributor III

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

longtengqiufeng1_0-1668047003903.png

longtengqiufeng1_1-1668047024845.png

longtengqiufeng1_2-1668047044278.png

 

longtengqiufeng1_3-1668047072338.png

 

  • 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

 

0 件の賞賛
返信