- Mon Apr 02, 2012 4:47 pm
#142262
Hey, I've been searching the forums and the internet for some advice but ended with nothing...There goes 2 days..Anyways, I thought I would register and post this thread, in case someone is also in the same situation.
Essentially, in a nutshell...
I bought:
Development Board Atmel SAM7-64 : http://www.sparkfun.com/products/475
JTAG USB OCD Tiny - Programmer/Debugger for ARM processors : http://www.sparkfun.com/products/8278
I installed OpenOCD 0.4.0 and confirmed installation with checking the version via cmd (openocd --version).
Plugged in the JTAG USB OCD Tiny, installed the drivers that were in the folder location of the OpenOCD installation.
Installed yagarto-tools-20100703-setup.exe to provide 'make'. Tested with cmd (make --version) and received the result:
I have downloaded a zip file containing a few example programs and try running them but were unable to even build them.
Firstly, 'make' was giving me errors and noticed that 'arm-elf-ld' was being called, when it should be 'arm-none-eabi-ld'; along with a few other similar changes.
Once the changes were made, I was able to build the project until a certain point. The follow error was received...the error existed for multiple files.
Cheers,
Joe
Essentially, in a nutshell...
I bought:
Development Board Atmel SAM7-64 : http://www.sparkfun.com/products/475
JTAG USB OCD Tiny - Programmer/Debugger for ARM processors : http://www.sparkfun.com/products/8278
I installed OpenOCD 0.4.0 and confirmed installation with checking the version via cmd (openocd --version).
Plugged in the JTAG USB OCD Tiny, installed the drivers that were in the folder location of the OpenOCD installation.
Installed yagarto-tools-20100703-setup.exe to provide 'make'. Tested with cmd (make --version) and received the result:
GNU Make 3.81Downloaded and extracted Eclipse for C/C++ Developers (Indigo Service Release 2). Downloaded the CDT package and Zylin Embedded CDT.
....
..Program built for i686-pc-mingw32
I have downloaded a zip file containing a few example programs and try running them but were unable to even build them.
Firstly, 'make' was giving me errors and noticed that 'arm-elf-ld' was being called, when it should be 'arm-none-eabi-ld'; along with a few other similar changes.
Once the changes were made, I was able to build the project until a certain point. The follow error was received...the error existed for multiple files.
arm-none-eabi-ld: error: Source object libc.a(strlen.o) has EABI version 0, but target main.out has EABI version 5Can please someone help me out? Point me into the correct direction...just to get something programmed on the board - a simple led blinking would be great!
arm-none-eabi-ld: failed to merge target specific data of file libc.a(strlen.o)
...
arm-none-eabi-ld: error: Source object xxxx.a(yyyyy.o) has EABI version 0, but target zzzzz.out has EABI version 5
arm-none-eabi-ld: failed to merge target specific data of file xxxx.a(yyyyy.o)
Cheers,
Joe