How to solve IVOR5 exceptions

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

  How to solve IVOR5 exceptions

758 Views
haitaoliu
Contributor I

Hello!

My device is MPC5644A and my IDE is codewarrior 10.7. My program is written in C language, and the library file is also written in C language. They work well in other projects. But In my project, when I debug,it produces a IVOR5 exception.What happens when a IVOR5 exception occurs? And how to solve them?

I only change the small data and the small data2 to zero, and changed my lcf file, attached is my lcf file.

Thank you!

Original Attachment has been moved to: MPC5644A_FLASH.lcf.zip

0 Kudos
2 Replies

623 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

You have incorrect alignment in you linker file.

pastedImage_2.png

pastedImage_1.png

You have to rework your linker file.

Please have a look at reference examples for MPC5644A here:

https://community.nxp.com/docs/DOC-329623 

Peter

623 Views
haitaoliu
Contributor I

Thank you Peter.

There are some problems with my linker file. I modified the linker file, and now it works!

Thank you!

0 Kudos