Other Parts Discussed in Thread: MSP-FET, MSPBSL, UNIFLASH
Hello,
I am currently trying to use the BSL to reprogram a microcontroller via UART.
I am trying to use the RX Data Block to Address command and am sending this test to see if it works:
0x80 0x0B 0x00 0x10 0x5C 0x00 0x5C 0x02 0x5C 0x04 0x81 0x00 0x00 0x5C 0x74 0xF8
As you can see above, I am attempting to send 4 bytes (0x81 0x00 0x00 0x5C) to address 0x5C00.
Whenever sending the above command however, the BSL sends back the error message "Byte Write Forbidden. This error is returned when a byte write is attempted in a flash area." I have looked a bit through the forums and have attempted to unlock this flash area by changing the SYSBSLC register to 0x07 but keep ending up with the same result. Below is a screenshot of the datasheet entry for SYSBSLC Register:
Thank you for the help as always,
Nick Nguyen