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)
user01_0-1756343741760.png
The freertos configuration is as follows:
user01_3-1756342965095.png
user01_4-1756342981197.png
user01_5-1756342998367.png
user01_6-1756343016724.png
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,
user01_7-1756343326366.png
but two issues arose:
① There is no OS layer, let alone freertos option
user01_1-1756342702225.png
②There are no routines for freertos
user01_2-1756342709693.png
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