Hello,
I recently encountered an issue while debugging the freertos program of S32K322: the program gets stuck in the prvPortStartFirstTask function during runtime.
(Development Platform: S32DS. 3.6.2 Chip model: S32K322
RTD:SW32K3_S32M27x_RTD_R21-11_6.0.0_D2506_DesignStudio_updatesite
FreeRTOS:SW32K3_FreeRTOS_10.6.0_CD_4.0.0_DS_updatesite_D2312
Debugging tools:SEGGER J-Link)
The freertos configuration is as follows:
I have also looked at solutions to similar problems, mainly in two ways: ① updating the FreeRTOS version; ② Replace the debugging tool with a PE burner.
Since I don't have a PE burner, I tried the first option and the situation is as follows:
Firstly, I uninstalled SW32K3_SreeRTOS_10.6.0_CD_4.0_Supdatesite_S2312, and then installed SW32K3_SreeRTOS_11.1.0_6.0.0_CD1_S2506-DesightStudio_uupdatesite (as this version of freertos is compatible with my RTD6.0 and S32DS 3.6.2 versions), and it shows in help ->S32DS Extensions and Updates ->Installed that the installation has indeed been successful,
but two issues arose:
① There is no OS layer, let alone freertos option
②There are no routines for freertos
It seems that the first method has failed,so I would like to ask if there are any other methods that can solve my problem. Thank you