Опубликовано 2013-01-31 12:29:13 автором Ruslan

AVR910 USB step by step instructions for assembly


One of the major issues that faces when programming microcontrollers - is a good choice programmatora.V the time, I also encountered this problem, rummaged through a bunch of stuff, and the choice fell on two simple programmer : the programmer of the five wires and resistors and AVR910 usb ( can be purchased from us ). Because at that moment I wanted to get done "hello world" ( LED blinks shortly ) , I made programmer of the five wires. How to assemble a read etoj article

This simple programmer - in my opinion , the best option for a quick start beginner. However, it has and outs : works only through the com- or lpt- port, the speed of the fill flash is relatively small.

to play, I wanted to do something more practical and convenient .

AVR910 usb was my next programmer. His scheme :  programmer schematic AVR910 usb

This circuit can be assembled on the breadboard or use the printed circuit board

pechatnaya board AVR910 usb J1 jumper is required for initial programming of the control IC programmer. When it is closed to the ISP connector connects an external programmer (I used the programmer 5 wires ). After flashing the control IC programmer this jumper must be opened and closed jumper J2.

Jumper J3 is used to reduce the clock frequency SPI port MK programmer to ~ 20 kHz. This is necessary for programming the IC AVR, clocked from the internal oscillator 128 kHz. You can not switch the jumper in the process of firmware

At the foot LED

the meander at 1 Mhz to revive MK mistakenly sewn with fuse- bits, which are responsible for the MC clock source

In this version of the programming jumper J5 is provided to power the controller sews. If it is open, it will be necessary to apply the MC sews external power supply

Programmer tested with programs AVRStudio, ChipBlasterAVR v.1.07 Evaluation, CodeVisionAVR, AVROSP, AVRDUDE

So, for the cause. For the assembly we need:

                                                                                                                                                                                                                                                                     
Radio components Model Number The main characteristic Shop
The microcontroller Atmega8 1 heart programmer Buy
Diode 1n40007 2 rectifier Buy
LED any 1 low power Buy
Condenser electrolytic 1 10 V 22 uF Buy
Condenser ceramic 2 22 pF Buy
Condenser ceramic 3 0.1 uF Buy
resistor a low-power (0.25 W) 9 330 ohms Buy
resistor a low-power (0.25 W) 2 68 ohm Buy
resistor a low-power (0.25 W) 1 10k Buy
resistor a low-power (0.25 W) 1 1 MOhm Buy
Resistor a low-power (0.25 W) 1 1.5 ohms Buy
resistor a low-power (0.25 W) 1 100 ohms Buy
Quartz 1 12 MHz Buy
Connector USB USBB-1J 1 Buy
Connector ISP BH-10 1 Buy
Fuse output 1 0,1 A Buy
Textolite foil 1 10 x 15 cm Buy

After assembling the circuit we need to program the control IC programmer. To do this, take the programming of the five wires , connect to the ISP port , switch the jumper on J1. Downloading firmware and fill it . For this I used a program CodeVisionAVR as the most simple , in my opinion.

set the fuse- bits , as shown in Figure

ustanovka fuse bits avr910

press Program All

Pinout size sockets ISP Programmer raspinovka ISP connector avr910 Everything is now our programmer is ready for use, and we can begin to first project on microcontrollers ( flashing LED )
Drivers and additional information is available here

Комментарии - (4)

  • sem-ant говорит:
    ни как не могу найти перемычку J5 подскажите где находится
  • Gregory говорит:
    Собрал такой программатор, все нормально, ОС его видит,"устройство работает нормально", только ChipBlaster,SinaProg, AVR8_Burn_O_Mat, CodeVision его не признают.AVR8_Burn_O_Mat сообщает:"avrdude: error: programmer did not respond to command: enter prog mod" и остальные сообщения такого типа. Что можно исправить? Или выбросить и пользоваться старым добрым STK200, который признают все программы? Спасибо!
    • Admin говорит:
      Вы чтото напутали. Я работаю им в CodeVision, все прекрасно работает без проблем. Разберитесь с настройкой COM портов.
  • Triger говорит:
    В описании данного программатора то ли случайно то ли специально внесены неточности ... Перемычка J5 отсутствует - питание на ISP от USB - не подаеться .. соответственно при программировании чип не будет запитан от USB ... На других сайтах где описываеться схема подобного устройства вывод 2 разьема ISP находиться под питанием ... Вывод - принципиальная схема - правильная - печатная плата - не верна - при повторении программируемый контроллер не будет запитан от USB ... Прошу прощения если это некропост но может комуто пригодиться ...

Добавить комментарий

Для отправки комментария вы должны авторизоваться.