Cannot access memory at address 0xffff

"garyr" <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <85D08331135443AFBDA238B215323536@owner59bf8d40c>
If my question is not appropriate for this ng please suggest another.

A board I've built has a MSP430F1232 on it. I use an Olimex dongle to connect to
the JTAG. I'm using GCC 4.3.6. When I start msp430-gdbproxy the device is
recognized. When I run msp430-gdb and try to program the device I get the
following:

    (gdb) set remoteaddress 64
    (gdb) set remotetimeout 999999
    (gdb) target remote localhost:2000
    Remote debugging using localhost:2000
    Cannot access memory at address 0xffff
    (gdb) monitor reset
    Resetting target - all methods...done
    (gdb) erase
    Erasing all flash memory
    Erasing target flash - all...
    MSP430 error: Could not preserve/restore device memory (12)
    (gdb) monitor reset
    Resetting target - all methods...done
    (gdb) load pmsa.elf
    Loading section .text, size 0xa2e lma 0xe000
    Load failed

There is nothing else on this board except the uP chip, voltage regulator (3.3
volts) and a few bypass capacitors. The MSP430 was purchased from Digi-Key a
couple of weeks ago. I've been very careful handling the chip, wearing a ground
strap.

A similar board I built several years ago which also has a MSP430F1232 on it
works correctly.

Any suggestions?

Thanks in advance for your help.



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.