FreeRTOS in KL02Z (SDK_2.0_FRDM-KL02Z)

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

FreeRTOS in KL02Z (SDK_2.0_FRDM-KL02Z)

476件の閲覧回数
petterijarvela
Contributor I

Hi,

 

I am trying to get simple "Hello world" example to work in KL02Z with FreeRTOS. I am using FRDM-KL02Z board. And I am using SDK2.0. And I am using Kinetis Design Studio Version: 3.2.0.

 

No issues with build or debug. No issues in creating task or starting scheduler. "Hello world" task is just not entered at all.

 

Setup based on following, only used board and task changed:

Freedom development platform: Getting Started w... | element14 Community

 

What might be issue?

ラベル(1)
0 件の賞賛
3 返答(返信)

337件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Petteri,

I only took a quick look at KSDK_v2 for KL02 and it does not have any example for FreeRTOS.  Wondering if that reason is because the KL02 has such limited flash (8/16/32KB options) and SRAM (only 1/2/4 respectively) that having FreeRTOS doesn't work on that limited of memory???  I haven't tried yet.  Maybe others can chime in on this too.

Your example link is using the K64 with loads of on-chip memory (1MB flash and 256KB SRAM).

Regards,

David

0 件の賞賛

337件の閲覧回数
MarekTrmac
NXP Employee
NXP Employee

Hi,

as I know, it is recommended to have at least 16K RAM to use FreeRTOS.

Regards

Marek

0 件の賞賛

337件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Have you turned on the hooks like the one for 'out of heap'? I think you have not allocated enough heap.

Erich

0 件の賞賛