â The AVR firmware was written by: Klaus Leidinger
â 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
Nowadays, USB is the most popular connection connection between PC and peripherals such as AVR programmers, printers, scanners etc. For that reason I had to modify my old serial AVR In-System-Programmer (ISP) to work with USB connection. You can say, âuse a USB to Serial adaptor to connect your AVR ISP with your PCâ. Yes, that could be a solution but it would cost me more money than a singe FT232BM chip because I had to include an USB to RS232 adaptor and a power supply for my programmer. (almost âŹ30).
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.
The circuit.
Following the schematic diagram that I read in the FT232BM manual I made the connections between ATtiny2313 and FT232BM. The FT232BM requires a few and ordinary components to work. When you connect this circuit to your PC you will see the message â a new hardware was foundâ and then the factory name of FT232BM. IC1 is a serial EEPROM that used to store userâs settings. So, you can rename this programmer to be appeared as âAVR In-System-Programmerâ or âMyAVR programmerâ. Furthermore, you can add the firmware version of your circuit. Of cource, you can bypass this component because itâs optional. I saw that the programmer works with or without this EEPROM. Anyway, FTDI suggests you to use this EEPROM. Led D1 flashes when data are transmitted or received by FT232BM. CN1 is a USB-B connector and CN2 is a 6-pin connector to your target AVR (it is connected to the AVR to be programmed). The S1 switch is used to supply your target circuit with +5V from the USB connector of your PC. In this case you wonât need any additional power supply for your target circuit. Consider that a single USB port can supply up to 500mA current. You should not exceed this current limitation including the current that needs your AVR programmer too.
Programming the ATtiny2313.
Burn the ATtiny2313 with avr910_2313_v38c.hex file. Do not forget to deselect the âDevide clock by 8 internalyâ option and select the âExt. Crystal Osc. 14CK + 65msâ option on fuses section of your AVR programming software.
Optional: Configure the USB programmer.
As I said before, you can configure your programmer to be appeared with the name you want. In this case, my programmer is appeared as âAVR In-System-Programmerâ when I plug it in to the USB port. Note that if you change any information on this screen you should change the same information in the âFTDIBUS.INFâ and âFTDIPORT.INFâ files. If you donât make any modification to the EEPROM and you have Windows XP SP2 or newer operating system, you wonât need any driver. All the necessary drivers are included in your operating system.
The AvrOspII programming software.
The programming software that was chosen is AvrOspII V5.47 (currently version) because it supports a lot of AVR devices and the author of this software Mike Henning is keep on writing new versions supporting new AVR devices. You can see if there is a new AvrOspII version available Here.
I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. ACCEPTCheck Privacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.