sram block not sufficient for mcal_bss segment issue

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

sram block not sufficient for mcal_bss segment issue

924 次查看
bbaskii
Contributor II

Hi NXP Team,

For my project i am using S32K342 with EBTresos for configuration and Autosar OS. I am facing sram memory block doesn't fit mcal_bss segment issue as below.

 

Linking main.elf
[elxr] (error #310) section .mcal_bss (0x204082e0-0x20408837) doesn't fit in memory block int_sram (0x20400000-0x204087ff)
make: *** [makefile:266: main.elf] Error 1

 

I have already extended the sram region from default 28KB to 34KB after checking the datasheet. If i extend another 1KB which is to 35KB i got Software breakpoint issue at IntCtrl_Ip.c line number 189

DevAssert(S32_SCB->VTOR >= (uint32)__INT_SRAM_START);

Can i place the entire sram section in DTCM which is part of SRAM and the allocated memory size also bigger (128KB). 

I have attached my project memory segment screenshot and the default memory segment screenshot from RTD SPI_example. Please help me to fix the issue.

 

标记 (1)
0 项奖励
回复
1 回复

867 次查看
nxf78987
NXP Employee
NXP Employee

Hi @bbaskii,

Could you send me your the linker_flash_s32k342.ld and linker_ram_s32k342.ld files?

Best regards,

Dan

0 项奖励
回复