Hi, (sorry if wrong forum)
First let me tell you a little about my system:
I am running Ubuntu 9.04, I have binutils-2.19.1 installed
and are using jlink from segger. I have an AT91SAM7S-EK board populated with at91sam7s64.
I have downloaded J-Link Beta Software version for Linux from
http://www.segger.com/cms/jlink-software.html.
This runs nicly and it detects my jlink and board.
Next I have also downloaded the AT91SAM7S-EK Software Package for IAR 5.2, Keil and GNU, me using GNU offcourse, from here:
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3784Here I have selected to test "basic-pwm-project-at91sam7s-ek-gnu"
The only thing I had to do to make it compile was to change Makefile to use my toolchain and target CPU (CHIP = 64 not 256).
In original Makefile CROSS_COMPILE in line 70 was set to
arm-none-eabi- I changed this to
arm-elf-Maybe this is my problem but then I have no knowledge how to solve it, even if simple. But It compiles fine
Problem is that when using jlink and loadbin option I am not able to load my image. I am given the "Segmentation fault" message when loading and jlink terminates. I am able through jlink to write and read to sram correctly using w4 commands. I may issue an h(alt) c(ontinue) or r(eset) command as well but no point of doing that when no program is loaded.
Any comment regarding my problem or how to set up a proper tool for using jlink on ubuntu is welcome
Thanks in advance
Vidar