Newbie problems compiling in IAR EW / AT91SAM7SE256 examples

I’m a newbie to ARM (previously using PIC/DSPIC/MPLAB).

I have compiled one or two programs and downloaded with no problems.

Unfortunately the sample programs from the Atmel site will not compile in IAR EW with the following errors.

Error[116]: Section type missing Cstartup.s79

Error[40]: Bad instruction Cstartup.s79

Error while running Assembler Cstartup_SAM7.c

Can anyone please help me to understand what is going on?

I’m having the exact same problem with the AT91SAM7x eval board and Atmel example code. This is my 2nd day working with IAR and ARM processor tools etc. so I’m fairly clueless at the moment regarding how to fix this error.

I did get the Atmel example program to compile by using a newer Cstartup.s file from the IAR tools disc. Apparently the “Cstartup.s79” file in the Atmel example code is older than the one that is on the IAR disc.