S32 Design Studio for S32 platform 3.5 - Watchdog Timer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32 Design Studio for S32 platform 3.5 - Watchdog Timer

402 次查看
Anu_123
Contributor I

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.

Anu_123_0-1721281092356.png

 

Anu_123_1-1721281253907.png

 

标记 (1)
0 项奖励
回复
7 回复数

380 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Anu_123 

Did you make any changes to the example configurations? Are you using a custom board or an EVB?

 

BR, VaneB

0 项奖励
回复

353 次查看
Anu_123
Contributor I

Initially, it showed errors during the build. So, I made some changes to fix those errors, such as:

  1. I enabled the PIN option.
  2. I switched the package to the S32K344_172MQFP 172 package.

 

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.

 

Anu_123_0-1721381405424.png

 

Anu_123_1-1721381421999.png

 

Anu_123_2-1721381431198.png

 

Anu_123_3-1721381443202.png

 

Anu_123_4-1721381453646.png

 

0 项奖励
回复

341 次查看
VaneB
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复

296 次查看
Anu_123
Contributor I

Hi @VaneB 

I have used evaluation board - S32k344Q172. Have I need to modify any configuration?

 

0 项奖励
回复

268 次查看
VaneB
NXP TechSupport
NXP TechSupport

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?

0 项奖励
回复

170 次查看
Anu_123
Contributor I

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,

  1. PE-ERROR: Warning. Can't read registers while part is running
  2. PE-ERROR: Warning. Can't read memory while part is running

Due to these error, that code does not execute the MCU_SetMode(McuModeSettingConf_0); function.

Anu_123_0-1722410072145.png

 

 

0 项奖励
回复

164 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Anu_123 

A similar situation has been discussed in the following thread. Take a look at the information, you may find it useful.

S32DS can not debug

Also, could you please try to update the RTD version to the S32K3_M27X Real-Time Drivers Version 3.0.0 P07.

0 项奖励
回复