I am using
BSL-scriptter.exe ,
hardware is BSL-ROCKET and
board is MSP430FR4133 launch pad.
Initially loaded the below firmware through ccs using SPY bi-wire communication.
#include <msp430.h>
void main(void) {
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
SYSBSLC &= ~SYSBSLPE;
PM5CTL0 &= ~LOCKLPM5; // Disable the GPIO power-on default high-impedance mode
// to activate previously configured port settings
//SYSBSLC |=SYSBSLPE;
P1DIR |= 0x01; // Set P1.0 to output direction
for(;;) {
volatile unsigned int i; // volatile to prevent optimization
P1OUT ^= 0x01; // Toggle P1.0 using exclusive-OR
i = 10000; // SW Delay
do i--;
while(i != 0);
}
}
Output:P1.0 LED is toggling.
Generated hex TI-TXT file.
Using BSL-Scripter.exe I want to load hex file through bsl.
I attached script file, Hex file,log file and password file.
I am getting error header incorrect and sometimes bsl password locked and sometimes bsl is locked.
Please help me i struct here. please share password file and hex file for MSP430FR4133.
--------------------------------------------------------- BSL Scripter 3.4.0.1 PC software for BSL programming 2018-Jun-28 14:08:52 --------------------------------------------------------- Input file script is : C:/ti/bsl-scripter-windows/1.txt MODE FRxx UART 9600 COM5 //gives wrong password to do mass erase RX_PASSWORD pass32_wrong.txt Read Txt File : C:\ti\bsl-scripter-windows\pass32_wrong.txt [ACK_ERROR_MESSAGE]Header incorrect! // //add delay after giving wrong password //because the device does not give //any response after wrong password applied // DELAY 2000 Delay 2000 ms RX_PASSWORD pass32_default.txt Read Txt File : C:\ti\bsl-scripter-windows\pass32_default.txt [ACK_ERROR_MESSAGE]Header incorrect! RX_DATA_BLOCK BSL_Entry.txt Read Txt File : C:\ti\bsl-scripter-windows\BSL_Entry.txt [ACK_ERROR_MESSAGE]Header incorrect! [ACK_ERROR_MESSAGE]Header incorrect! [ACK_ERROR_MESSAGE]Header incorrect! Time elapsed of writing 122 bytes : 0.1196 seconds Speed of writing data :0.9964(kB/s) SET_PC 0xC400
@c400 21 83 B2 40 80 5A CC 01 B2 F0 FF 7F 42 01 92 C3 30 01 D2 D3 04 02 D2 E3 02 02 B1 40 10 27 00 00 91 83 00 00 81 93 00 00 F6 27 FA 3F 03 43 31 40 00 28 B0 13 50 C4 0C 43 B0 13 00 C4 1C 43 B0 13 4A C4 32 D0 10 00 FD 3F 03 43 03 43 FF 3F 03 43 1C 43 10 01 @ff80 FF FF FF FF FF FF FF FF @ffe2 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 42 C4 2E C4 q
@FFE0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF q
// //Script example FRxx UART BSL // //Device : MSP430FR4133 //Comm Bridge: MSP-BSL Rocket // //Download blink application through //UART BSL in FRAM device // LOG MODE FRxx UART 9600 COM5 //gives wrong password to do mass erase RX_PASSWORD pass32_wrong.txt // //add delay after giving wrong password //because the device does not give //any response after wrong password applied // DELAY 2000 RX_PASSWORD pass32_default.txt RX_DATA_BLOCK HEX_FIle.txt SET_PC 0xC400