2 :: usage: MSP430Read RAM|INFO|MAIN|BSL output
3 :: %~dp0 is the path of this file.bat
7 if "%1" == "" set howtoread=MAIN
8 if "%2" == "" set readfile=Target_MAIN
10 %~dp0..\prog\msp430flasher -m SBW2 -r [%readfile%.HEX,%howtoread%] -z [VCC=3000]
12 ::%~dp0..\prog\srec_cat %readfile%_%howtoread%.HEX -intel -output %readfile%_%howtoread%.bin -Binary
13 ::%~dp0..\prog\HxD\HxD.exe" %readfile%_%howtoread%.bin