christian.pra...@pruftechnik.com wrote:
using msp430-jtag i try to erase the last two segments of an MSP430F149 in the range 0xfc00 to 0xffff. The command i am using is 'msp430-jtag --erase=0xfc00 --erase=0xfe00'
This always fails for the last segment:

MSP430 parallel JTAG programmer Version: 1.3
Use -h for help
Erase Segment @ 0xfc00...
Erase Segment @ 0xfe00...

An error occoured:
Could not erase the Flash

Examining the last segment by uploading shows that the whole segment is 0xff, so erasing seems to work.

yes, but it tries to erase an other one too which fails. there was a problem with the address calculation (0xfe00 + 0x0200 in a 16 bit variable ;-)

Any ideas?

fixed in CVS and the next release. (MSP430mspgcc.dll/so has to be rebuilt)

chris

Reply via email to