[SIPHEC home]

AVR-ISP   AVR ISP Programmer for parallel port, AVR In-System-Programmer

Category: Development Board, AVR Microcontroller, AVR-ISP Programmer
Keywords: Microcontroller, Development Board, Prototype Board, AVR-ISP Programmer

 

 

AVR ISP Progammer

see AVR-HOWTO for programming target device

 

AVR ISP header pinout

AVR ISP Programmer, ISP Pin Header

 

Selection of ISP Programming Software

PonyProg (Windows)

avrdude 5.x

avrdude ATmega2560, ATmega2561

avrdude 4.x

usip (Linux)

 

AVR ATmega Board ISP Programming

 

 

 

Configuration and programming instructions for ATmega128 Development Board “TinyBoard” via PonyProg:

STEP 1:

For ATmega128 TinyBoard  V1.1 connect “HEADER A” to ISP programmer as shown:

ATmega128 TinyBoard V1.1 ISP Connection, Schematic

For ATmega128 TinyBoard  V1.2 connect ISP header from board with ISP programmer:

ATmega128 TinyBoard V1.2 ISP Connection, Schematic

STEP 2: Download PonyProg from PonyProg-download and install PonyProg.

STEP 3: Connect programmer to parallel port of your PC.

STEP 4: Configure ISP programmer (dongle) by “Setup->Interface Setup”, use the following settings.

 

PonyProg ISP Programmer Configuration

 

STEP 5: Verify presence of ISP programmer by using “Probe”.

STEP 6: Do “Setup -> Calibration”

STEP 7: Select “Device->AVR Micro->ATmega128”

STEP 8: Load your program file *.hex. using “File-> Open Device File”.

SETP 9: Now you can program your device by using “Command -> Write all”.

 

You can change pre-configured settings (fuse bits) by “Command -> Security and Configuration Bits”.

 


Note: You now have to use "flashfile.bin" instead of "flashfile.hex" unlike in prior versions (4.x).

avrdude: Version 5.1

>avrdude -p atmega128 -c stk200 -P lpt1 -U flash:w:demo.bin:r

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9702
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "demo.bin"
avrdude: writing flash (12058 bytes):

Writing | ################################################## | 100% 8.07s

avrdude: 12058 bytes of flash written
avrdude: verifying flash memory against demo.bin:
avrdude: load data flash data from input file demo.bin:
avrdude: input file demo.bin contains 12058 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 7.81s

avrdude: verifying ...
avrdude: 12058 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done. Thank you.

avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e9702
avrdude: erasing chip
avrdude: done.
avrdude: reading input file "f:\mmega128.hex"
avrdude: input file f:\mmega128.hex auto detected as Intel Hex
avrdude: writing flash (130100 bytes):
130099
avrdude: 130100 bytes of flash written
avrdude: verifying flash memory against f:\mmega128.hex:
avrdude: reading on-chip flash data:
130099
avrdude: verifying ...
avrdude: 130100 bytes of flash verified

avrdude done. Thank you.

 

>uisp -dprog=stk200 --upload if=mmega128.hex --verify

 

Features Atmel 8Bit AVR-Flash Microcontroller, AVR 8-Bit RISC

Atmel 8Bit AVR-Flash uC, TQFP, ATmega128, ATmega128-16AU, ATmega128-16AI, ATmega1281-16AU, ATmega2561-16AU
Pinout:
ATmega128, ATmega128-16AU
ATmega1281, ATmega1281-16AU
ATmega2561, ATmega2561-16AU
ATmega128-16AI / ATmega128-16AU (Pb free, ROHS) / ATmega1281 features
ATmega2561-16AI / ATmega2561-16AU (Pb free, ROHS) features


Icon PDFAVR ATmega128 datasheet (pdf)

Icon PDFAVR ATmega2561 datasheet (pdf)


Icon PDFAVR ATmega1280 datasheet (pdf)

Icon PDFAVR ATmega2560 datasheet (pdf)

 

AVR Development Tools:

AVR Resource Links:

 

[SIPHEC home]