Error occurred after adding Eth module and compiling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As seen on top of the Eth_Memmap.h file, the following preprocessor symbol is provided:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess the problem is here, but I don't know how to allocate memory。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
Available under the Linflexd_Uart_Ip.h file.
Please, let us know.
