Kinetis Memory Splitter

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

Kinetis Memory Splitter

跳至解决方案
1,860 次查看
Briwal
Contributor I

Using MQX Kinetis K40x256, in the init_bsp.c file, the _bsp_enable_card function allocates all memory below 0x20000000. The comments state that it is a memory splitter to prevent accessing both ram banks in one instruction. This takes up 30K of my precious 64K SRAM.

 

So I can only use 32K (the uppoer half) of the 64K SRAM available? I cannot believe that is a valid solution.

 

Does anyone have a work around for this?

 

 

0 项奖励
回复
1 解答
1,448 次查看
DavidS
NXP Employee
NXP Employee

This should be fixed in the FSLMQX3.7.0Beta release which happens at end of this month.

Regards,

David

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,448 次查看
Briwal
Contributor I

Please note that this is only a problem when using LWMEM component. It works just fine when using the normal memory component.

0 项奖励
回复
1,449 次查看
DavidS
NXP Employee
NXP Employee

This should be fixed in the FSLMQX3.7.0Beta release which happens at end of this month.

Regards,

David

0 项奖励
回复
1,448 次查看
daweiy
Contributor I

Hi, I got the same problem, I am using K61, 128K internal ram. Before this memory splitter, I got about 93K heap, but after this code I got only 23K available.

What I did is just remove this line of code and test it.

I am using FSLMQX 4.0.2, can anyone give me some advices to fix this problem?

Thanks in advance.

0 项奖励
回复