Summary of 8051-PIC MICROCONTROLLER PROJECTS
This article details the construction of a USB-based AVR In-System Programmer (ISP) designed to replace an older serial version. The project utilizes an FT232BM chip for USB connectivity and an ATtiny2313 microcontroller, programmed with Klaus Leidinger's firmware. It includes an optional serial EEPROM for customizing device names and uses AvrOspII software for programming various AVR devices.
Parts used in the USB AVR ISP:
- FT232BM USB to RS-232 chip
- ATtiny2313 Microcontroller
- Serial EEPROM (IC1)
- USB-B Connector (CN1)
- 6-pin Connector (CN2)
- LED D1
- S1 Switch
- 11.0592MHz Crystal
- avr910_2313_v38c.hex Firmware file
USB AVR In-System-Programmer (ISP)
– The PCB was designed by: Dimitris Porlidas
– The schematic diagram was drawn by: Dimitris Porlidas
– The AvrOspII software was written by: Mike Henning
– Small modifications in firmware and schematic diagram were made by: Vassilis Serasidis

So, the solution was to replace the two transistors, that were used to adapt the RS-232 voltage levels to TTL voltage levels, with a USB to RS-232 chip such as FT-232BM.
Initially, I used the John Samperi’s firmware V3.2 but afterwards I found out the Klaus Leidinger’s firmware that was a little bit faster. So, I chose the second one firmware but I had to modify the source code to work with 11.0592MHz crystal instead of 7.3724MHz that was initially designed because I couldn’t find this crystal in the market .
This programmer worked perfect with AVRprog but then I found a software that could support much more AVR devices than the AVRprog could program. This software is AvrOspII V5.47.
For more detail: 8051-PIC MICROCONTROLLER PROJECTS
-
Why was the original serial programmer modified?
The modification was necessary because using a USB to Serial adaptor would cost nearly €30, whereas the FT232BM chip solution is more cost-effective. -
Which firmware was selected for this project?
Klaus Leidinger's firmware was chosen because it is faster than John Samperi's V3.2 version. -
What crystal frequency is required for the ATtiny2313?
An 11.0592MHz crystal is used because the originally designed 7.3724MHz crystal was unavailable in the market. -
Can the programmer work without the serial EEPROM?
Yes, the programmer works with or without the EEPROM, though FTDI suggests using one to store user settings. -
How do you supply power to the target circuit?
The S1 switch allows the target circuit to be supplied with +5V directly from the USB port, eliminating the need for an external power supply. -
Does Windows XP SP2 require additional drivers for this device?
No, if no modifications are made to the EEPROM, Windows XP SP2 or newer operating systems include all necessary drivers automatically. -
What software is recommended for programming AVR devices?
AvrOspII V5.47 is recommended because it supports many AVR devices and receives updates from the author Mike Henning. -
What fuse settings must be applied when burning the ATtiny2313?
You must deselect the Devide clock by 8 internaly option and select the Ext. Crystal Osc. 14CK + 65ms option.
