Subversion Repositories Projects

Rev

Rev 1193 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1143 - 1
@echo off
2
rem Use avrdude as programming-software with the AVRProg compatible bootloader
3
rem Martin Thomas, 2006
4
 
5
rem Verfiy that the bootloader is configured with #define DEVTYPE DEVTYPE_ISP
6
rem since it seems that avrdude does not work with "Boot" device-types and needs
7
rem ISP device-types (at least in version 5.1 as in WinAVR 4/06)
8
 
9
set HEXFILE=cansniffer.hex
10
set PROGRAMMER=avr109
11
set PORT=com2
12
set BAUD=19200
13
set PART=atmega32
14
 
15
rem * disable safemode - bootloader can not "restore" fuses anyway
16
set DIS_SAVE=-u
17
 
18
avrdude %DIS_SAVE% -p %PART% -P %PORT% -c %PROGRAMMER% -b %BAUD% -v -U flash:w:%HEXFILE%
19
 
20
rem pause