Other Parts Discussed in Thread: MSP-FET
Hi, Everyone,
I would like to erase and program the flash of MSP430F5438A using another MSP430F5438A using UART.
Few links and a good read would be highly appreciated.
Thanks and Regards,
Ankit
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, Everyone,
I would like to erase and program the flash of MSP430F5438A using another MSP430F5438A using UART.
Few links and a good read would be highly appreciated.
Thanks and Regards,
Ankit
There is slaa535 LaunchPad-Based MSP430 UART BSL Interface where LP G2 is used as BSL hardware.
www.ti.com/lit/an/slaa535a/slaa535a.pdf
You can also check how BSL is done in open source eZ-FET Lite / MSP-FET firmware.
Hi Zrno Soli,
I was looking at the MSP-FET firmware and there is a file BSL430_Command_Interpreter.c in that.
So I am assuming when BSL scripter (port opened as com port, using a USB cable passing through FTDI chip to convert RS232 signals to UART signals) is connected to the UART of the MSP430 and I load a script file to run the below:
//
//Script example 543x family UART BSL
//
//Download blink led application
//to 543x family device through uart bsl
//
//It was tested using Launchpad BSL
//application as the communication bridge
//
LOG
MODE msp430f5xx UART COM14
//gives the wrong password to do
//mass eraseof the memory
RX_PASSWORD .\pass16_wrong.txt
RX_PASSWORD .\pass16_default.txt
RX_DATA_BLOCK .\blinkLED_f5438.txt
CRC_CHECK 0x5C00 0x0020 0xAF15
CRC_CHECK 0xffd2 0x00D0 0xC1EA
SET_PC 0x5c00
Then should I be running the MSP-FET firmware (BSL430_Command_Interpreter.c and other related files) inside the MSP430 hardware (MSP430F5438A) so that the MSP430 will take proper action (write/erase) and give apt acknowledgment?
Or when I give the appropriate signal on the TCK and RST pins, then MSP430 will enter the BSL mode and there is already some kind of firmware that is running there which will do the job equivalent to MSP-FET firmware (BSL430_Command_Interpreter.c and other related files)?
Thanks and Regards,
Ankit
**Attention** This is a public forum