Nick Moszer schrieb:
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
this is only an issue with --funclet and upload of data. the
programm/erase code contains workarounds for this bug and the F123 works
well with that
my issue, except I can't find any other mention of this. Has anyone
successfully programmed a F123 through jtag?
yes
have you checked the power supply? programming needs more current than
normal operation and VCC must be >2.7V
also be sure that your reset device (if you have one on the board) is
not resetting the MSP430 when it uses additional current while
programming and VCC may drop.
chris