s32k118 Emulated EEPROM Watchdog Timeout

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

s32k118 Emulated EEPROM Watchdog Timeout

352件の閲覧回数
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 件の賞賛
返信
5 返答(返信)

332件の閲覧回数
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 件の賞賛
返信

255件の閲覧回数
bjs
Contributor III

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

0 件の賞賛
返信

243件の閲覧回数
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 件の賞賛
返信

147件の閲覧回数
bjs
Contributor III
How can I safely erase the existing partition? Is there an example code?
0 件の賞賛
返信

138件の閲覧回数
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 件の賞賛
返信