s32k118 Emulated EEPROM Watchdog Timeout

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k118 Emulated EEPROM Watchdog Timeout

353 Views
bjs
Contributor III

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?

ticket.png

Regards,

Bruce

 

  

0 Kudos
Reply
5 Replies

333 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@bjs

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.

0 Kudos
Reply

256 Views
bjs
Contributor III

It works when I run the same program on s32k118evb board.

0 Kudos
Reply

244 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@bjs

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.

0 Kudos
Reply

148 Views
bjs
Contributor III
How can I safely erase the existing partition? Is there an example code?
0 Kudos
Reply

139 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@bjs

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

Senlent_0-1730255506920.png

 


"flash_partitioning_s32k118" can be found on S32 DS, which contains some usage of FTFC, you

can test this routine.

 

0 Kudos
Reply