Hi
We encountered an anomaly while developing with the S32K322 microcontroller using RTD version 6.0.0. To eliminate interference from upper-layer application code, we created a blank S32K322 project, compiled it, and successfully flashed it to the target board. However, we observed that when the assembly code for disabling WDG0 (Watchdog 0) is executed in the startup code, the chip immediately triggers a HardFault exception. Upon investigation, we found that the memory address range 0x404800 to 0x414000 is entirely filled with 0xFFFFFFFF. Interestingly, when the assembly code for disabling WDG0 is removed, the data in that memory region returns to normal. We would greatly appreciate any assistance in providing a solution or further troubleshooting suggestions.
Best regards.
Yongxiang Li