OSDN Git Service

la der de der
[fast-forth/master.git] / config / MSP430read.bat
1
2 :: usage: MSP430Read RAM|INFO|MAIN|BSL output
3 :: %~dp0 is the path of this file.bat
4
5 set howtoread=%1
6 set readfile=%2
7 if "%1" == "" set howtoread=MAIN
8 if "%2" == "" set readfile=Target_MAIN
9
10 %~dp0..\prog\msp430flasher -m SBW2 -r [%readfile%.HEX,%howtoread%] -z [VCC=3000]
11
12 ::%~dp0..\prog\srec_cat %readfile%_%howtoread%.HEX -intel -output %readfile%_%howtoread%.bin -Binary
13 ::%~dp0..\prog\HxD\HxD.exe" %readfile%_%howtoread%.bin
14
15 pause