IMXRT1050 SRAM_DTC Full

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

IMXRT1050 SRAM_DTC Full

1,323 次查看
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?

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

1,195 次查看
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 项奖励
回复