How can I recovery the IVOR2 interrupt

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

How can I recovery the IVOR2 interrupt

850 Views
张华荣
Contributor II

Hi,

My board CPU is MPC5606B.I encountered a problem when eraseing the DataFlash,then power off.The MCU will entry the IVOR2 interrupt.And I do not how can recovery the DataFlash.I've seen a lot of posts on this forum,But can not solve my problem.Can you provide an official demo program to solve this problem?I need a direct use of the code, as the MCU manufacturer, Freescale should be able to do this

2 Replies

645 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Unexpected reset during flash erase or flash program operation can create ECC error into flash memory, on this MCU it would lead into IVOR2.

 

Simple solution is to erase the whole memory. If you are using EEPROM emulation driver, it handles ECC errors itself.

 

In general, you may see my application note, dealing with ECC errors:

http://cache.nxp.com/assets/documents/data/en/application-notes/AN5200.pdf

 

Hope it helps

645 Views
张华荣
Contributor II

Hi,

If I through the erase flash method to recovery the ECC error,but which sector to erase,If all sectors to erase,all user useful data will lost.I think the MCU ECC error is unserful.

发自我的 iPhone

在 2017年6月16日,16:32,davidtosenovjan <admin@community.nxp.com<mailto:admin@community.nxp.com>> 写道:

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: How can I recovery the IVOR2 interrupt

reply from David Tosenovjan<https://community.nxp.com/people/davidtosenovjan?et=watches.email.thread> in MPC5xxx - View the full discussion<https://community.nxp.com/message/915046?commentID=915046&et=watches.email.thread#comment-915046>

0 Kudos