I had a similar problem and was able to work around it by using GDB to erase the flash prior to running the jtag. You may want to search the archives from this maillist to find more details.
I submitted the following bug report on Sourceforge --- ------- msp430-jtag MSP430 parallel JTAG programmer Version: 2.0 processor MSP430F169 OS Linux (FC2) On a functioning system msp430-jtag failed to download. Subsequent attempts to erase the flash memory produced the error: An error occoured: Could not write target memory Using msp430-gdbproxy/gdb(DDD) I was able to erase the flash memory. msp430-jtag now functions properly as it did prior to the memory write error. ------- (* jcl *) On 10/20/05, Ben Andrack <b...@inotec-feg.de> wrote: > Hi, > I've got problems to erase the flash via "msp430-jtag.exe". I always get > following message: > "IOError: Could not erase the Flash" > > Does anyone have experiences with the device MSP430F2131? > or > Did anyone have similar Problems? > > The details: > I run msp430-jtag.exe with parameter -m, since the infomem contains > protected calibration data. Therefore I just try to erase the main flash. > Strange thing is, that it works to erase the Flash via IAR's Embedded > Workbench Kickstart Version V3.30A under the same conditions! > > I've no clue, what I'm doing wrong here. Please help! > > > Regards, > Ben Andrack > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > -- http://www.luciani.org