Hi community,
I have a watchdog timeout issue with my application after I added emulated EEPROM function.
The emulated EEE example code from SDK works on my board and my application code works too without EEE function code. But after I added emulated EEPROM component to my application it stopped at watchdog timeout for some reason.
Since in my application the watchdog timer is not enabled yet where is the watchdog time out from?
Regards,
Bruce
This normally not a watchdog related error but may be an hardfault error.
Please try to use "single step debugging" to see where exactly the hardware error is caused.
It works when I run the same program on s32k118evb board.
This may be because your previous MCU has already performed a partition operation.
Before performing a partition operation, make sure that the current MCU has not been partitioned. If you perform a new partition operation on an MCU that has already performed a partition operation, please erase the partition first.
Generally, partitioning operation is performed only once in the entire product life cycle, otherwise it will affect the life of the flash
For some limitations or effects of using "Erase All blocks command", you can read the data sheet section 37.5.9.11 Erase All Blocks command
"flash_partitioning_s32k118" can be found on S32 DS, which contains some usage of FTFC, you
can test this routine.