int_sram overflowed, how to allocate more memory to S32k344 board?

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

int_sram overflowed, how to allocate more memory to S32k344 board?

541 Views
Wei_H
Contributor III

Hi,

I have been using NXP MBDT in Simulink to download programs on to the S32k344 board via J-link. Until recently, I have encountered int_sram overflow as the programs file size gets bigger.

Here's the log message from Simulink diagnostic view:

  real-ld.exe:  ../example_mrcanhubk344_can_s32ct.elf section `.sram_data' will not fit in region `int_sram'

  real-ld.exe: section .non_cacheable_data VMA [20430000,20430003] overlaps section .sram_data VMA [2041a500,204302f7] 

real-ld.exe: region `int_sram' overflowed by 9208 bytes

So, from my understanding, to continue successfully generate and download the program on to the S32k344 board, I need to configure the allocate memory size. And I have found some information on the forum about configurate the .map file. 

https://community.nxp.com/t5/S32K/can-t-increase-heap-size-in-s32/td-p/1574647

So I have found one of the many RTD_dummy_imagel.map in the toolbox and noticed that there is a section that describe the memory configuration.

...\NXP_MBDToolbox_S32K3xx\S32K3_RTD\SW32K3_S32M27x_RTD_R21-11_4.0.0_P19\eclipse\plugins\Uart_TS_T40D34M40I0R0\examples\EBT\S32K3XX\Uart_Example_S32K388\debug\VDK\S32K388_RTD\binaries

Memory Configuration.png

So, how do I allocate more memory in memory configuration such that my Simulink program can still be generated?

Thanks!

(since I couldn't upload the original .map file I copied and pasted the content into a txt file to upload)

 

Tags (1)
0 Kudos
Reply
1 Reply

540 Views
Wei_H
Contributor III

The .map file and diagnostic view file.

Tags (1)
0 Kudos
Reply