PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/dist/burn-MBv1.2.bat

http://github.com/makerbot/G3Firmware
Batch | 20 lines | 15 code | 5 blank | 0 comment | 3 complexity | ef2aa7d4b7a88bb4de3237c4ff3b2b68 MD5 | raw file
 1@ECHO OFF
 2:startBurn
 3echo Ready to burn firmware for Motherboard v1.2.
 4pause
 5
 6tools-win\avrdude -v -pm644p -cusbtiny -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDC:m -Ulfuse:w:0xFF:m
 7
 8tools-win\avrdude -v -pm644p -cusbtiny -e -Ulock:w:0x3F:m -U flash:w:MBv1.2/PRODUCTION.hex
 9
10if errorlevel 1 (
11echo *** FAILURE *** Failed to verify program.  Try again.
12goto startBurn
13)
14
15if errorlevel 1 (
16echo *** FAILURE *** Failed to verify program.  Try again.
17goto startBurn
18)
19
20goto startBurn