Kinetis Memory Splitter

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kinetis Memory Splitter

ソリューションへジャンプ
1,926件の閲覧回数
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,514件の閲覧回数
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,514件の閲覧回数
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,515件の閲覧回数
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,514件の閲覧回数
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 件の賞賛
返信