When trying to program a F123 through the jtag w/ msp430-jtag I am able
to erase the chip but not write to memory.  This is both with a parallel
jtag and with a usb jtag-tiny.
The exact output is:

MSP430 JTAG programmer Version: 2.3
Debug is level set to 1
Python version: 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit
(Intel)]
ELF section .text at 0xc000 182 bytes
ELF section .vectors at 0xffe0 32 bytes
TOINIT list:
  actionMassErase
TODO list:
  actionProgram
MSP430_*Register not found in library. Not supported.
MSP430_Funclet and isHalted not found in library. Not supported.
JTAG backend: ctypes/TI or 3rd party (c:\mspgcc\bin\MSP430.dll)
backend library version: -1
MSP430_Identify: Device type: 'MSP430F12x'
Preparing device ...
Mass Erase...
Program...
Cleaning up after error...
Reset and release device...
Traceback (most recent call last):
 File "msp430-jtag.py", line 608, in ?
 File "msp430-jtag.py", line 545, in main
 File "mspgcc\jtag.pyo", line 610, in actionProgram
 File "mspgcc\jtag.pyo", line 376, in memwrite
IOError: Could not write target memory: Could not write device memory

So it appears that the chip is being identified and erased but memory
writes are failing.  Upon further inspection it appears that the jtag
writes the code and thinks it was successful, then verifies and finds it
was not.  In the help for msp430-jtag it mentions: "Writing and/or
reading RAM before and/or after running a funclet may not work as
expected on devices with the JTAG bug like the F123."   This sounds like
my issue, except I can't find any other mention of this.  Has anyone
successfully programmed a F123 through jtag?


Thanks!


Reply via email to