Error occurred after adding Eth module and compiling.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error occurred after adding Eth module and compiling.

1,412 Views
xiaoshumiao
Contributor III

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 Kudos
Reply
5 Replies

1,393 Views
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 Kudos
Reply

1,352 Views
xiaoshumiao
Contributor III

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 Kudos
Reply

1,265 Views
xiaoshumiao
Contributor III

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

4.png

0 Kudos
Reply

1,228 Views
xiaoshumiao
Contributor III

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 Kudos
Reply

1,211 Views
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 Kudos
Reply