SPI Flash Microcontroller Programmer Ver 3.7
支持器件列表
at89sxx
at90sxx
atmegaxx
attinyxx
介绍
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.
电路
Figure 1 shows the circuit diagram of the SPI Flash programmer hardware interface, the power to the interface is provided either by a 9V dc adapter or a 9V battery. The 74HCT367 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. The 74HCT04 is used to generate the clock signal for the u-controller when programming the device in stand-alone mode.
Figure 1: Circuit Diagram of the SPI Flash Programmer
Figure 2 shows the connection diagram for the stand-alone programming, the u-controller to be program is placed on a breadboard or on a veroboard with a ZIF socket, the required signals are then wired to the respective pins of the u-controller.
Figure 2: Stand-alone SPI Programming interface
软件
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 下载
SpiPgm37.zip
(310.56 KB, 下载次数: 75)
Figure 3: Main view of the program SPI-Pgm Ver 3.7
|