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.
Original Attachment has been moved to: MPC5644A_FLASH.lcf.zip
You have incorrect alignment in you linker file.
You have to rework your linker file.
Please have a look at reference examples for MPC5644A here:
Thank you Peter.
There are some problems with my linker file. I modified the linker file, and now it works！