I am working with MSP430F5342 via the BSL UART interface in circuit from a C5505. When I send bytes to write using BSL RX data block commands the response is correct but the data does not actually get written.
Here is the procedure i'm using
1. Invoke to enter BSL mode.
2. Mass Erase (ACK received)
3. RX Password (ACK received)
4. RX data block @0x4400 w/ 8bytes (I get a successful write response 0x00 0x80 0x02 0x00 0x3B 0x00 0x60 0xC4)
5. TX data block @0x4400 w/ 8bytes (data is either all 0xFF if a mass erase was performed or the old data if the correct password was entered to avoid mass erase)
All other commands seems to be working:
Rx Password - works
change baud rate - works
Rx Version - works 00.06.04.04
Erase Segment - works, erases 512 bytes
TX data block - works, all sizes 4->128 bytes
Check sum -works, calculates correct check sum on 8 and 16 bytes at a time possibly larger haven't checked
I have also checked wrong passwords, wrong check sums, malformed headers etc and get all the correct responses from the BSL.
I can program the MSP via JTAG and read it back using BSL and everything matches just can't write anything using the BSL.
Any ideas?
Thanks.