Dear All,
Now I am working on using a MCU to program the flash of device MSP430F1471 via the BSL UART interface.
But when I sent bytes to write, data read at the same address just wrote are all 0xff.
All procedures and commands sent before are normally with ACK 0x90 received.
Here is the flow.
1. Invoke to enter BSL mode.
2. Mass Erase (ACK received)
3. RX Password (ACK received)
4. RX data block @0x8000 with 128bytes (ACK received)
5. TX data block @0x8000 with 128bytes (total 4 + 128 + 2 bytes are received but data bytes are all 0xff)
And few more test were done.
- TX data block @0x0ff0 are correct as " F1 49 xx xx xx xx xx xx xx xx 01 10 ....", device code is F149 and BSL is v1.10.
- after programming the device via JTAG, the data read via BSL by TX data block @0x8000 are matched and correct.
Seems everything communication and protocol are correct but failed to write data block.
Please help advise.
Thanks.