"erase all" seems to be unsupported by the BSL. Only DEVICE_ERASE_MAIN
and DEVICE_ERASE_SEGMENT are therefore implemented. DEVICE_ERASE_ALL
could be implemented, if the addresses of information memory were known.
This driver allows mspdebug to talk to the bootloader on a flash MSP430
via a serial port. DTR and RTS lines are used to control the TEST and
RST# pins on the MSP430, respectively. Currently, read and program are
supported. However, read is fairly useless because the driver currently
does not support any password other than the default. Thus it must
mass-erase the chip to gain access.
Read that again. USING THIS DRIVER WILL MASS ERASE YOUR CHIP IMMEDIATELY,
WITHOUT YOU ASKING FOR IT.