FreeRTOS in KL02Z (SDK_2.0_FRDM-KL02Z)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeRTOS in KL02Z (SDK_2.0_FRDM-KL02Z)

605 Views
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?

Labels (1)
0 Kudos
Reply
3 Replies

466 Views
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 Kudos
Reply

466 Views
MarekTrmac
NXP Employee
NXP Employee

Hi,

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

Regards

Marek

0 Kudos
Reply

466 Views
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 Kudos
Reply