AnsweredAssumed Answered

How to integrate FreeRTOS for MPC5748G Z4_1, not Z4_0?

Question asked by Kim Daekwan on Oct 17, 2017
Latest reply on Oct 20, 2017 by Martin Kovar

Dear All,

 

Anyone who know about porting guide to implement FreeRTOS for Z4_1 core of MPC5748G Micom.

S32 SDK support example of FreeRTOS of Z4_0 core only but I want to know any guide to port Z4_1 core.

 

I already try to port FreeRTOS for Z4_1 core but could not working correctly as the following

 

(1) create New project Z4_0 and Z4_1 by using projection creation menu (New S32DS Project) with SDK

    - Z4_0 : MPC5748G_SDK_Z4_0_GCC (boot)

    - Z4_1 : MPC5748G_SDK_Z4_1_GCC

(2) Add component FreeRTOS to Z4_1

    - Init clock

    - create task and so on as like FreeRTOS example code of main.c

 

build all OK and then launcher run

 

* Project setting for Z4_1 as below

for C : START_FROM_FLASH, MPC5748G, TURN_ON_CPU0, TURN_ON_CPU1, USING_OS_FREERTOS

for Asm : START_FROM_FLASH, MPC5748G, USING_OS_FREERTOS

Outcomes