S32K312 Link

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

S32K312 Link

436 Views
JCY1223
Contributor I

Hello:

I am now doing S32K312 software development, encountered the RAM is not enough to use, modify the configuration of the ld file, compile can pass, but the program can not run.

 

Configuration before modification:

int_sram : ORIGIN = 0x20400000, LENGTH = 0x0000E000 /* 56KB */
int_sram_fls_rsv : ORIGIN = 0x2040E000, LENGTH = 0x00000100
int_sram_stack_c0 : ORIGIN = 0x2040E100, LENGTH = 0x00001000 /* 4K */
int_sram_no_cacheable : ORIGIN = 0x2040F100, LENGTH = 0x00006E00 /* 24+3.5KB , needs to include int_results */
int_sram_results : ORIGIN = 0x20415F00, LENGTH = 0x00000100
int_sram_shareable : ORIGIN = 0x20416000, LENGTH = 0x00002000 /* 8KB */
ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */

 

Modified configuration:

int_sram : ORIGIN = 0x20400000, LENGTH = 0x00013000 /* 76KB */
int_sram_fls_rsv : ORIGIN = 0x20413000, LENGTH = 0x00000100
int_sram_stack_c0 : ORIGIN = 0x20413100, LENGTH = 0x00001000 /* 4K */
int_sram_no_cacheable : ORIGIN = 0x20414100, LENGTH = 0x00002E00 /* 8+3.5KB , needs to include int_results */
int_sram_results : ORIGIN = 0x20416F00, LENGTH = 0x00000100
int_sram_shareable : ORIGIN = 0x20417000, LENGTH = 0x00001000 /* 4KB */
ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */

 

How can I increase int_sram???

 

Labels (1)
0 Kudos
Reply
1 Reply

416 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @JCY1223,

There can be problems with the MPU that is configured and enabled in system.c

Can you test it with the MPU disabled?

danielmartynek_0-1697185169071.png

 

Regards,

Daniel

 

 

0 Kudos
Reply