IMXRT1050 SRAM_DTC Full

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

IMXRT1050 SRAM_DTC Full

1,323 Views
santhosh205415
Contributor I

I want to port LVGL C project into C++ project so after porting it completely, I have a problem while linking time

Memory region         Used Size  Region Size  %age Used
     BOARD_FLASH:      403944 B        64 MB      0.60%
        SRAM_DTC:      545408 B       128 KB    416.11%
        SRAM_ITC:          0 GB       128 KB      0.00%
         SRAM_OC:          0 GB       256 KB      0.00%
     BOARD_SDRAM:          0 GB        30 MB      0.00%
/usr/local/mcuxpressoide-11.1.0_3209/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.1.0.201909161352/tools/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: MIMXRT1052xxxxB_Project.axf section `NonCacheable' will not fit in region `SRAM_DTC'
/usr/local/mcuxpressoide-11.1.0_3209/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.1.0.201909161352/tools/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: region `SRAM_DTC' overflowed by 414336 bytes
collect2: error: ld returned 1 exit status
make: *** [MIMXRT1052xxxxB_Project.axf] Error 1
   NCACHE_REGION:          0 GB         2 MB      0.00%
makefile:66: recipe for target 'MIMXRT1052xxxxB_Project.axf' failed
"make -r -j4 all" terminated with exit code 2. Build might be incomplete.

Any Help?

Labels (1)
0 Kudos
Reply
1 Reply

1,195 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Santhosh kumar, 

The LittlevGL examples that we provide within the SDK use the external SRAM instead of the internal SDRAM, this due to the large amount of RAM that these projects needs. Based on the information that you attached, I'm able to see that you are using the internal SDRAM and the problem you are facing is that the data won't fit in this region. You need to use the external SRAM instead. 

Best Regards, 

Victor 

0 Kudos
Reply