English French German Italian Portuguese Russian Spanish

v1

Survey

Which microcontroller family do you prefer?
 

Did you know?

In 1957 a battery was discovered in Bagdad. It was made by the Parthians, who ruled Bagdad from 250 B.C.E. to 224 C.E., and was used to electroplate silver.

Forum elektronika, schematy, porady, naprawa

FacebookTwitter

 

Home > Projects > Programmers > Parallel port AVR, 8051 programmer - DIY programator
(3 votes, average 5.00 out of 5)
Projects articles - Microcontroller programmers
Parallel port AVR, 8051 programmer - DIY programator 5.0 out of 5 based on 3 votes.

 

  3 

SPI Flash Microcontroller Programmer    Ver 3.7

     Introduction

    This SPI Flash Programmer can be used either for in-system programming or as a stand-alone serial flash programmer for the Atmel SPI programmable devices. The programmer hardware interface is controlled by the PC parallel port and the parallel port control signals are freely selectable by the user. The software supports both the 8051 and AVR series devices.

 

    Hardware


    Figure 1 shows  the  circuit diagram of the SPI Flash programmer hardware interface,  the  power to  the  interface  is provided either by programmed device. The 74HCT541 IC buffer the parallel port signals. It is necessary to use the HCT type IC in order to make sure the programmer should also work with the 3V type parallel port. 

Shematic is given below


www.electronics-base.com sch_avr

 

 

 

 

 

 

 

 

and here is high quality shematics in PDF format to download

 

PCB layout with component placement

 www.electronics-base.com pcb_avr

 

 

 

 

 

 

 

 

and here is high quality version in PDF format to download

 

PCB tracks wor PCB development

www.electronics-base.com pcb1 avr

 

and here is high quality version in PDF format to download

 

 


    Software


    The SpiPgm37.zip  file contains the main program and the io port driver. Place all files  in the same folder.

     The main view of the program is shown in figure 3.

     Also   make   sure   do   not   program    the    RSTDISBL    fuse   in   the AVR series devices, unless it is necessary  otherwise  further  serial  programming  is  disable, to  restore the serial programming a  high voltage parallel  programmer is required.

 

    For  the  fuses setting consult the datasheet of  the respective u-controller

.

    Following are the main features of this software,

      # Read and write the BIN, HEX and ROM file formats
      # Read Signature, Fuse and Lock bits
      # Edit, Clear and Fill the Flash & Eeprom memory buffer
      # Verify with memory buffer
      # Auto save the OSCCAL data to Flash & Eeprom
      # Display buffer checksum
      # Program selected Fuse & Lock bits
      # Auto save the fuses settings for the open program file
      # Parallel port pins are freely selectable
      # EEPROM file open and save commands
         

    Download   SPI-Flash Programmer Software   SpiPgm37.zip
      

3

 

 

 

 

 

 

 

 

 

 

 

 

 

Main view of the program SPI-Pgm  Ver 3.7

  

This programator is reliable and extreamly cheap to build. Only downside is that most laptops and newer computers do not have parallel port anymore.. Also if you have x64 bit windows try first to start program to see if it is possible.. If you have desktop PC with parallel port and want simple for little cash than this is right choice.

and here is bonus ALTIUM project for this AVR DIY programmator to download

Related Posts:
Cycle Performance
  As part of ongoing research to examine performance degradation caused by cycling, Cadex tested a large volume of portable batteries for wireless communic
PCB design tutorial
  Designing PCB is not easy and it usually requires a lot of experience. But what should you do if you have little or no experience? Do not worry. For simp
AVR 2x16 character LCD display universal code library
In this example we will make small project that uses 2x16 character LCD display to write some text and variables to it. You can read more about how these displa