Hi, Did you do a "monitor erase all" to clear the flash memory?
Regards, Steve tom_p wrote:
Hi. I'm running the mspgcc-tools under linux, self build like it is described in the documentation. The chip is a MSP430F149, JTAG-Interface is from Olimex. Programming the chip with pyJTAG works fine. But when i want to use (insight-)gdb, i've problems. Run -> Connect to target works, but when i click on "Download" insight said in hit status line "DOWNLOAD FAILED: Memory access error while loading section .text." rproxy said: # msp430-rproxy --debug 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. debug: msp430: msp430_open() info: msp430: Target device is a 'MSP430F149' (type 7) notice: msp430-rproxy: waiting on TCP port 2000 notice: msp430-rproxy: connected debug: msp430: msp430_connect() debug: msp430: msp430_current_thread_query() debug: msp430: msp430_offsets_query() debug: msp430: msp430_set_gen_thread() debug: msp430: msp430_read_registers() debug: msp430: msp430_write_mem(0x1100, ptr, 0) debug: msp430: msp430_write_mem(0x1100, ptr, 38) error: msp430: Could not write device memory (7) debug: msp430: msp430_write_mem(0x1100, ptr, 38) error: msp430: Could not write device memory (7) --- Have i something forgotten from the documentation ? cu Thomas (and a happy new year!)