AVR architecture has an In-System Programming ability which means It can be programmed just via 6 of its pins namely:
The Priority for routing this circuit was to occupy as little as possible clad and to have a symmetric design.
The Missing connection depicted by the DRC is because ATmega8 (and most Microcontrollers) have more than one ground,which as I have tested are internally shorted, so this glitch won't affect the working of our design.
Few 3D Views of our programmer:
Peace Out!
Used:
Proteus 8.4
USBasp Programmer Docs
- Ground
- Vcc
- MISO
- MOSI
- SCK
- Reset
The following flowchart shows the entire process:
The AVR Programmer is nothing but an AVR itself (atmega8 in our case). It recieves the program from the computer and then programmes its target through SPI.
The AVR Programmer is nothing but an AVR itself (atmega8 in our case). It recieves the program from the computer and then programmes its target through SPI.
The ATmega8 on itself runs a USBasp program for its operation as a programmer.
The Schematic for it is as follows:
The Priority for routing this circuit was to occupy as little as possible clad and to have a symmetric design.
The Missing connection depicted by the DRC is because ATmega8 (and most Microcontrollers) have more than one ground,which as I have tested are internally shorted, so this glitch won't affect the working of our design.
Few 3D Views of our programmer:
Front View |
Rear View |
Peace Out!
Used:
Proteus 8.4
USBasp Programmer Docs