Error occurred after adding Eth module and compiling.

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

Error occurred after adding Eth module and compiling.

1,984件の閲覧回数
xiaoshumiao
Contributor IV

Opening the project GoldVIP-S32G3-1.11.0 \ realtime \ s32g399ardb3 \ can-gw, after adding the Eth module and configuring configurations, I Compile it based on this document GoldVIP-S32G3-1.11.0 \ documentation \ GoldVIP-User-Manual.pdf  \ 14.4 Building the M7 Application.

But an error occurred,I thought it was because memmap was not configured or other configurations were missing.

Looking forward to getting answers from you. 

1.png

2.png

 

0 件の賞賛
返信
5 返答(返信)

1,965件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

As seen on top of the Eth_Memmap.h file, the following preprocessor symbol is provided:

DanielAguirre_0-1712235807773.png

Which, as told under the same file, is to confirm that the integration is done correctly. The error seems to be related to not be integrating correctly. More information on the usage of the Eth memory map is provided under the Integration Manual available on a similar path as the one shown below:

"Eth_TS_T40D11M40I0R0\doc\RTD_ETH_IM.pdf"

Please, let us know.

0 件の賞賛
返信

1,924件の閲覧回数
xiaoshumiao
Contributor IV

This Eth_MemMap.h is different from the one you mentioned. This one was generated after adding the Eth module, not the Eth_MemMap.h in RTD directory.

1.png2.png3.png

 

 

 

0 件の賞賛
返信

1,837件の閲覧回数
xiaoshumiao
Contributor IV

I guess the problem is here, but I don't know how to allocate memory。

4.png

0 件の賞賛
返信

1,800件の閲覧回数
xiaoshumiao
Contributor IV

From what went wrong:

Gmac_Ip_Cfg.c:125 Gmac_Ip_Cfg.c:220

Gmac_Ip_PBcfg.c:130 Gmac_Ip_PBcfg.c:153

The content is the same,The content is:

#define ETH_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE
#include "Eth_MemMap.h"

and
#define ETH_STOP_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE
#include "Eth_MemMap.h"

The reason for the error is that there is no processing of ETH_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE in the generated Eth_MemMap.h, that is, there is no corresponding memmap section configuration.

Is this correct understanding, but how to configure it?

1.png2.png

0 件の賞賛
返信

1,783件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

On regards of the *_Memmap.h usage, we can recommend looking into the NXP provided files, since they implement this usage. An example is shown below:

DanielAguirre_0-1712585441399.png

Available under the Linflexd_Uart_Ip.h file.

Please, let us know.

0 件の賞賛
返信