Hi,

I'm trying to get the current (release 1) version of gdb and insight up
and running for the msp430, specifically a M430F149 processor.

To test it, I'm compiling the mikrocontroller.net example test mainline
using:
msp430-gcc -mmcu=msp430x149 -g -O -o test.elf test1.c

Rproxy has been started up using:
1> msp430-rproxy --port=2000 msp430
Remote proxy for GDB, v0.71, Copyright (C) 1999 Quality Quorum Inc.
MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
Remote Proxy comes with ABSOLUTELY NO WARRANTY; for details
use `--warranty' option. This is free software, and you are
welcome to redistribute it under certain conditions;
use `--copying' option for details.
info:      msp430: Target device is a 'MSP430F149' (type 7)
notice:    msp430-rproxy.exe: waiting on TCP port 2000


So the device is found by rproxy.

However, when I try and load the test.elf file (after connecting with
rproxy) using the gdb command line "load test.elf" after connecting to
rproxy, the following error is returned in gdb:
(gdb) load test.elf
Loading section .text, size 0x70 lma 0x1100
Error: Memory access error while loading section .text.

And the rproxy error:
notice:    msp430-rproxy.exe: connected
error:     msp430: Could not write device memory (7)
error:     msp430: Could not write device memory (7)


Is there anything obviously wrong I'm doing or any other suggestions as
to how to fix this?
(I have checked the msp target is actually there by downloading a .hex
file using CSPY)

Thanks for any suggestions,

Elwyn Campbell

____
This communication contains information which is confidential and the copyright 
of Nautronix. 

If you are not the intended recipient of this communication please delete and 
destroy all copies and advise Nautronix immediately. If you are the intended 
recipient of this communication you should not copy, disclose or distribute 
this communication without the prior authority of Nautronix. Any views 
expressed in this Communication are those of the individual sender, except 
where the sender specifically states them to be the views of Nautronix.

Except as required at law, Nautronix does not represent, warrant and/or 
guarantee that the integrity of this communication has been maintained nor that 
the communication is free of errors, virus, interception or interference.


Reply via email to