2 :: use with modified BSL_Scripter: https://github.com/drcrane/bslscripter-vs2017/releases
3 :: extract from zip file to \prog\BSL_Scripter.exe
5 :: wiring MSP430FRxx with UART2USB module
6 :: --------------------------------------
7 :: MSP430FRxxx CP2102/PL2303TA
16 :: close teraterm (the port COMx which will be used by BSL_Scripter.exe is freed)
17 :: wire your target on USB2UART module as indicated above
18 :: use scite command CTRL+2, with param1 = "your target", param3 = "COMx",
19 :: or drag'n drop your \binaries\target.txt file onto BSL_Scripter.bat then
20 :: select port COM when asked.
21 :: Once finished, start teraterm then remove the wire DTR, that performs reset.
23 :: scite parameters (view command = SHIFT+F8)
24 :: scite commands in \config\asm.properties:
25 :: $(1) target, example: MSP_EXP430FR5969
26 :: $(2) target extension, example: _8MHz
27 :: $(3) port COMx in use, example: COM8
29 :: \config\BSL_Scripter.bat variables:
30 :: %1 = target name without ext. of \binaries\target.txt file
31 :: %2 = port COMx in use
32 :: %~d1 = drive: of %1
33 :: %~n1 = target name without ext. of %1
37 @if 1%PortCOM% == 1 CALL %~d1\config\Select.bat SelectPortCOM
39 @%~d1\prog\BSL-Scripter.exe --log --quiet --initComm [INVOKE,%PortCOM%,UART,9600,PARITY] --device FRxx --erase ERASE_ALL --exit [RESET]
40 @%~d1\prog\BSL-Scripter.exe --log --initComm [INVOKE,%PortCOM%,UART,9600,PARITY] --device FRxx --speed FAST --bslPwd %~d1\binaries\pass32_default.txt -w %~d1\binaries\%~n1.txt --exit [RESET]