+ All Categories
Home > Documents > To Program Some AVR Microcontroller Unit

To Program Some AVR Microcontroller Unit

Date post: 08-Jan-2016
Category:
Upload: mariorobertofernandezrothar
View: 239 times
Download: 0 times
Share this document with a friend
Description:
microcontrol
5
 To program some AVR microcontroller unit (MCU) you will need an AVR programmer. The better way to do that, is to buy some deelopment !it li!e STK-500. This !it hae the adandage to gie you serial port, "C# connector, $RAM soc!et, % switches, % "&#s, connectrors 'or all o' the ports o' MCU and more, to one board. sugest to beginers, to  start wor!ing with $T *++ or some else deelopmert system, it will help them ery much. or the people that are want to programm only one piece o' A VR, to ma!e some circuit 'rom this site and they don-t want to spend money 'or any deelopment !it, the solution is this ultra lowcost AVR programmer.  The hardware:  The only components to bu ild this programmer are/  0 resistors 11+ ohm2345 2 male connector ('or printer port) with 1* pins 2 C base with % pins 2 C base with 1+ pins 2 C base with 4+ pins 2 board  ' you solder to the board 0 types o' C bases (%, 1+ and 4+ pins) you can ma!e a  programmer 'or all 6+$7777 series MCUs. The schematic is aailable in 8# 'ormat 'bprg.pd'  The fbprg.pdf  'ile has an small error. ' you want to program the AT90S8535 , you hae to ma!e some chang es to the connections because o' di''erent pins order  between A T6+$%*2* and A T6+s%*0*.  2. Connect t he 9TA"2 pin 'rom progra mmer (p in * o' pri nter por t), to pi n 20 o' AT 6+$%*0* 1. Connect t he VCC pi n 'rom pr ogrammer (pins 1,0,4 o' pri nter por t), to pi n2+ o' AT 6+$%* 0* 0. Connect the :;# pin 'rom progra mmer (pins 26,1+,12,11,10,14,1* o '  printer port), to pin 22 o' A T6+$1%0*  
Transcript

7/17/2019 To Program Some AVR Microcontroller Unit

http://slidepdf.com/reader/full/to-program-some-avr-microcontroller-unit 1/5

 

To program some AVR microcontroller unit (MCU) you will need an AVR programmer.The better way to do that, is to buy some deelopment !it li!e STK-500. This !it hae the

adandage to gie you serial port, "C# connector, $RAM soc!et, % switches, % "&#s,

connectrors 'or all o' the ports o' MCU and more, to one board. sugest to beginers, to

 start wor!ing with $T *++ or some else deelopmert system, it will help themery much.

or the people that are want to programm only one piece o' AVR, to ma!e some circuit

'rom this site and they don-t want to spend money 'or any deelopment !it, the solution isthis ultra lowcost AVR programmer.

 

The hardware:

 

The only components to build this programmer are/

 

0 resistors 11+ ohm23452 male connector ('or printer port) with 1* pins

2 C base with % pins

2 C base with 1+ pins

2 C base with 4+ pins2 board

 ' you solder to the board 0 types o' C bases (%, 1+ and 4+ pins) you can ma!e a

 programmer 'or all 6+$7777 series MCUs.

The schematic is aailable in 8# 'ormat 'bprg.pd'  

• The fbprg.pdf  'ile has an small error. ' you want to program the AT90S8535, you

hae to ma!e some changes to the connections because o' di''erent pins order

 between AT6+$%*2* and AT6+s%*0*. 

2. Connect the 9TA"2 pin 'rom programmer (pin * o' printer port), to pin 20o' AT6+$%*0*

1. Connect the VCC pin 'rom programmer (pins 1,0,4 o' printer port), to pin2+o' AT6+$%*0*

0. Connect the :;# pin 'rom programmer (pins 26,1+,12,11,10,14,1* o'

 printer port), to pin 22 o' AT6+$1%0* 

7/17/2019 To Program Some AVR Microcontroller Unit

http://slidepdf.com/reader/full/to-program-some-avr-microcontroller-unit 2/5

 

The software:

  or windows download the C8rog 2.+*C  and the drier 'or 5in98 icprog.sys 

5hen you run the ICProg press F3 and set the programmer as <Fu-Card

progra!!er<.

or #=$ so'tware download the 'bprg.>ip 

The schematic o' programmer, is aailable in 8# 'ormat 'bprg.pd' 

 

7/17/2019 To Program Some AVR Microcontroller Unit

http://slidepdf.com/reader/full/to-program-some-avr-microcontroller-unit 3/5

Atmel?s AVR assembler 2.0+ 'or windows warasm.>ip 

' you want to wor! with better so'tware than warasm, then download the AVR $tudio 0.* ( its @ M ) or AVR $tudio 4 ( its 12 M ) direct 'rom Atmel?s site.

"ow to progra! A#$ de%&'es w&th IC-Prog (.05A

 

Connect this ultra low cost AVR programmer (un Card programmer) to "8T2 port o'

your 8C and run the C8rog.e7e.

 

8ress F3 and select

Fu-Card

Progra!!er) and then

 clic!  *K 

 

7/17/2019 To Program Some AVR Microcontroller Unit

http://slidepdf.com/reader/full/to-program-some-avr-microcontroller-unit 4/5

ype, 'or e7ample AT6+s1020

:o to ile=pen ile and select

7/17/2019 To Program Some AVR Microcontroller Unit

http://slidepdf.com/reader/full/to-program-some-avr-microcontroller-unit 5/5

the

.he+ 'ile o' your proBect, 'or e7ample S,S3(3."/

 

' you want to program the internal eeprom o' the

AVR deice, go to ile=pen #ata ile ond openthe .eep 'ile, 'or e7ample S,S3(3.P

 

5hen you do all this steps, press F5 to start the programming the AVR deice.

Thats &t

updated at 3.0(.001 b2 Seras&d&s #as&&s


Recommended