Error in IAR compiler file
been bitten twice by this bug, I'll mention it in hopes of helping
someone else. About 6 months ago, while migrating one of our legacy
programs to the IAR v4.10a compiler, I could not get the serial
communications to work. The User's manual shows module enable 2 SFR
at address 0x005. The IAR-furnished file io430x33x.h, in the union
ME2, sets the address at 0x004. Once I changed the address in the .h
file to 0x005, life was good. Just last week, I had to make a minor
change to the program and the serial comms stopped working again.
Today at lunch, I remembered that we just upgraded to v4.11. Guess
what, the upgrade had reinstated the erroneous file. And people
wonder why software programmers drink!