Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>cd scopecl

C:\scopecl>dir
 Volume in drive C is Local Disk
 Volume Serial Number is AC37-8962

 Directory of C:\scopecl

01/29/2009  06:30a      <DIR>          .
01/29/2009  06:30a      <DIR>          ..
10/25/2008  12:26a             417,589 avrdude.conf
06/11/2008  10:51a             239,616 avrdude.exe
01/29/2009  06:02a                 624 expe.bat
03/02/2010  06:08p              43,520 libusb0.dll
01/26/2009  11:14p               2,855 MS-DOS Prompt.pif
01/26/2009  11:44p           1,603,254 New Bitmap Image (2).bmp
01/26/2009  11:43p           1,603,254 New Bitmap Image.bmp
02/26/2010  09:17p              58,485 scopeclock.hex
01/29/2009  06:22a                 818 test.txt
08/06/2009  03:36p                 644 uploadm328p.bat
              10 File(s)      3,970,659 bytes
               2 Dir(s)   4,335,566,336 bytes free

C:\scopecl>expe.bat

C:\scopecl>setlocal

C:\scopecl>set COMPORT=\\.\\com1

C:\scopecl>set HEXFILE=scopeclock.hex

C:\scopecl>set EEPFILE=scopeclock3-6ds.eep

C:\scopecl>.\avrdude -D -V -C.\avrdude.conf -pm328p -cstk500v1 -P\\.\\com1 -b192
00 -Uflash:w:scopeclock.hex:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.03s

avrdude: Device signature = 0x1e950f
avrdude: reading input file "scopeclock.hex"
avrdude: writing flash (31616 bytes):

Writing |                                                    | 0% 0.00s
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x0d
Writing | ################################################## | 100% 0.08s

avrdude: failed to write flash memory, rc=-4

avrdude: stk500_cmd(): programmer is out of sync

C:\scopecl>rem

C:\scopecl>rem The following line will program the eeprom of the Atmega328p.

C:\scopecl>rem Due to limitation of avrdude, this will always be a complete

C:\scopecl>rem reprogramming of all the eeprom memory, including the ScopeClock
Configuration data.

C:\scopecl>rem Version 3.6 of the Dutchtronix AVR Oscilloscope Clock does not us
e any

C:\scopecl>rem initialized eeprom memory.

C:\scopecl>rem

C:\scopecl>rem .\avrdude -C.\avrdude.conf -pm328p -cstk500v1 -P\\.\\com1 -b19200
 -Ueeprom:w:scopeclock3-6ds.eep:i

C:\scopecl>