I tried to be flashing the example code of Watchdog timer from S32K3XX AUTOSAR 4.4-R21-11 RTD 3.0.0 D2303 Example Project in S32 Design Studio for S32 platform 3.5. Whenever after flash and run the code its stuck into DELAY loop of startup_cm7.s file after the PLL while loop is called.
Below I attached the image. How can we recover from this loop and how can we successfully run the watchdog timer code.
Hi @Anu_123
Did you make any changes to the example configurations? Are you using a custom board or an EVB?
BR, VaneB
Initially, it showed errors during the build. So, I made some changes to fix those errors, such as:
After these changes, I generated the code again, but it showed some errors. So, I enabled the driver such as Siul2_Port.
I only made the above-mentioned changes. Again, I generated the code and it was error-free. Then I flashing the code, it got stuck in the loop I previously mentioned.
Here, I attached the image. Please find the attachment and provide the solution.
Hi @Anu_123
I made the mentioned modifications and the code works as expected. if you have a custom board, please make sure that your clock configurations are correctly set.
Hi @Anu_123
The example codes are ready to run out of the box. Could you please try the Clock_Ip_Example_S32K344 or the Mcu_Example_S32K344 to verify if it is not a clock issue?
Hi @VaneB ,
Sorry for delayed response. I'm flashing the Clock_Ip_Example_S32K344 and Mcu_Example_S32K344 code.
The Clock_Ip_Example_S32K344 code flashes with no issue. But Mcu_Example_S32K344 shows some error during the flash such as,
Due to these error, that code does not execute the MCU_SetMode(McuModeSettingConf_0); function.
Hi @Anu_123
A similar situation has been discussed in the following thread. Take a look at the information, you may find it useful.
Also, could you please try to update the RTD version to the S32K3_M27X Real-Time Drivers Version 3.0.0 P07.