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?
Solved! Go to Solution.
This should be fixed in the FSLMQX3.7.0Beta release which happens at end of this month.
Regards,
David
Please note that this is only a problem when using LWMEM component. It works just fine when using the normal memory component.
This should be fixed in the FSLMQX3.7.0Beta release which happens at end of this month.
Regards,
David
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.