settings for ITCM=0 not accepted by mcuxpresso?

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

settings for ITCM=0 not accepted by mcuxpresso?

跳至解决方案
1,507 次查看
nickwallis
Senior Contributor I

Hi,

My project is not using any ITCM and so I want to set that to 0, and instead use all of the flexRAM for DTCM.

But when I try and set ITCM to 0 in the MCU settings window of mcuxpresso, it gives an error saying "Invalid memory configuration. SRAM_ITC has zero size". This is despite the fact that there is 0 usage of this memory region in the project.

How do I set ITCM size = 0 in mcuxpresso please?

thanks!
-Nick

 

 

0 项奖励
回复
1 解答
1,496 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Nick,

If you want to have ITCM as zero you would need to actually delete that memory region as you cannot define a memory area with a zero size.

In some i.MXRT Crossover Microcontrollers like in the i.MX1060, only part of the RAM can be reallocated. You can find more information on the link below:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Reallocating-the-FlexRAM/ta-p/1117649

I hope that this helps!

Regards,
Gustavo

在原帖中查看解决方案

2 回复数
1,484 次查看
nickwallis
Senior Contributor I

Hi @gusarambula of course, don't know why I didn't think of that! Thank you.

-Nick

0 项奖励
回复
1,497 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Nick,

If you want to have ITCM as zero you would need to actually delete that memory region as you cannot define a memory area with a zero size.

In some i.MXRT Crossover Microcontrollers like in the i.MX1060, only part of the RAM can be reallocated. You can find more information on the link below:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Reallocating-the-FlexRAM/ta-p/1117649

I hope that this helps!

Regards,
Gustavo