Flash linker file generated for MCP5748G is incorrect

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Flash linker file generated for MCP5748G is incorrect

跳至解决方案
2,733 次查看
MattJCole
Contributor V

When I create a new project for the MPC5748G and select the S32_SDK_S32PA_RTM_3.0.3 or the S32_SDK_S32PA_RTM_3.0.0 as the SDK the Flash linker file does not match what I configured the file to be. No matter what I do the following is generated

 

/* Define FLASH */

FLASH_BASE_ADDR = DEFINED(__flash_base_addr__) ? __flash_base_addr__ : 0x012C0000;

FLASH_SIZE =  DEFINED(__flash_size__) ? __flash_size__ : 1856K;

 

/* Define SRAM */

SRAM_BASE_ADDR = DEFINED(__sram_base_addr__) ? __sram_base_addr__ : 0x40000000;

SRAM_SIZE = DEFINED(__sram_size__) ? __sram_size__ : 256K;

0 项奖励
回复
1 解答
2,678 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Matt, 

 

Looks that your linker file script template was modified - on my side is used Large block NVM (0x01000000). You can try to reinstall S32DS. With SDK are files used as linked resource - once you modify it - it is modified for all examples/projects which uses SDK. If you like to use your own linker script file, make a copy and add it into your project. 

 

Jiri

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,676 次查看
jiri_kral
NXP Employee
NXP Employee

If the issue is related to SDK projects only, you can reinstall only the SDK, you don't need perform full S32DS reinstall. 

0 项奖励
回复
2,679 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Matt, 

 

Looks that your linker file script template was modified - on my side is used Large block NVM (0x01000000). You can try to reinstall S32DS. With SDK are files used as linked resource - once you modify it - it is modified for all examples/projects which uses SDK. If you like to use your own linker script file, make a copy and add it into your project. 

 

Jiri

0 项奖励
回复