Free RTOS RAM

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

Free RTOS RAM

1,149件の閲覧回数
kaarthick
Contributor II

Hai,

 

I am doing project with MK10DN512VLQ Controller in MCUXpresso IDE.

I am using FreeRTOS also. I have requirement that RAM memory (Zero Fill) should not be cleared when one of the variable is set to 0xff in case of BOR or Soft Reset. 

If doing so i am getting error Could not allocate required memory in freeRTOS task. 

Can somebody suggest me any solution?

0 件の賞賛
返信
3 返答(返信)

1,035件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Karthik,

 

This should be possible if you change the initialization in the startup code, in the reset vector there's the initialization of the bss that clear this section. Try looking for the ResetISR(void).

 

You could try changing it so when the location you want to write it is fill don’t do this.

 

Let me know if this helps you.

 

Best Regards,

Alexis Andalon

0 件の賞賛
返信

1,035件の閲覧回数
kaarthick
Contributor II

Hi Andalon,

Any possible method to allocate RAM Memory separately for FreeRTOS Variables and other application Variables? 

0 件の賞賛
返信

1,035件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Karthik,

There's two possible options for this, following the next post you could move all the freertos libraries to other memory:

Relocating code from FLASH to RAM 

Or also if you follow the next one, you could select which variables change to other memory:

https://community.nxp.com/docs/DOC-335283 

Best Regards,

Alexis Andalon

0 件の賞賛
返信