executing main.bin file from flash in AT91SAM7s256

Hi,

I am using a AT91SAM7s256 board with Open OCD Jtag Tiny. I followed the instructions on the readme that was on the CD from Olimex accompanying the board. I used the installer on the CD as well.

Now, I have all the tools installed.

I build the application in the ‘sam7ex256’ project that I get in my gccfd folder, to generate main.bin and main.out.

I run the external tool OpenOCD_tiny which writes main.bin onto the flash.

I change my debugger from gdb to arm-elf-gdb in he debug configuration window.

Then i hit debug and it gives me a whole bunch of errors.

Can anybody please validate my steps till now. Then I will know for sure that the problem lies elsewhere.

Thanks

-Aditya