It is finally working!!!!!!!! It was a compiler option I changed. The default option was: -c -gdwarf-2 -MD -mapcs-frame -O0 -mcpu=arm7tdmi -w -mthumb-interwork
I changed it into: -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O -mthumb-interwork -mapcs-frame(still don't know what it means) This option I got from a project that was deliverd with Hitop5. I one by one changed all the linker and compiler options between the working and not working project. Thanks again for all the help I become. Without it I was still thinking that the error was in the compiler instead of wrong option in the IDE. Regards, Jim