I am having trouble with the load function in insight (gdb):

I start msp430-gdbproxy and then insight.
I use File->Open and open test1.elf
I use Run->Connect to connect to the JTAG.
I open the Console and issue
commands:
  monitor erase all
  load test1.elf

If I just type "load", I get the error 
Error: Invalid download offset: Files/mspgcc/demo/test1.elf
The same thing happens if I use the download function in the Run menu.  
 My makefile (adopted from CVS archives) is:
NAME   = test1

CPU    = msp430x147
ASMOPT = -mmcu=${CPU}
COPT   = -mmcu=${CPU} -O1 -Wall -g

${NAME}.elf: test1.o
 msp430-gcc -mmcu=${CPU} -o $@ $^
 msp430-objcopy -O ihex $@ ${NAME}.a43
 msp430-objdump -DS ${NAME}.elf >${NAME}.lst

test1.o: test1.c
 msp430-gcc ${COPT} -c $<

Did I do something wrong in the compilation?

Thanks,
Tom


Reply via email to