DIY编程器网

标题: SPI Flash Microcontroller Programmer v3.7 [打印本页]

作者: liyf    时间: 2011-6-23 19:59
标题: SPI Flash Microcontroller Programmer v3.7
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



作者: hdzl    时间: 2011-6-24 16:26
本帖最后由 hdzl 于 2011-6-24 16:34 编辑

补充点儿中文资料,看英文实在累
SPI闪存编程器的制作

导言
SPI闪存编程器不仅可以用来在系统内编程,还能作为独立的编程器使用。他是一个容易使用的采用并口(打印机接口)的编程器。编程器硬件接口是由计算机的并行端口和信号控制,可以自由选择用户。该软件同时支持8051和AVR系列单片机。
硬件
图1显示了SPI的闪存编程器硬件接口电路原理图,接口的电源是一个9V直流适配器或9V电池。 缓冲区的74HCT367是集成电路并行端口,程序应该还与3V的输入并行端口工作。74HCT04是用于U型控制器编程时时钟信号设备的独立模式待机。
                                           图1:SPI闪存编程器的电路图

独立的编程连接图如图2,U型控制器可以在面包板或带有veroboard ZIF插座放置,然后连接至各引脚控制器。

                   图2:独立的SPI编程接口

软件SpiPgm37.zip下载


                                 SpiPgm37的主界面

作者: liyf    时间: 2011-6-24 19:52
谢谢翻译,辛苦了
作者: liyf    时间: 2011-6-24 19:58
奖励已发,注意查收
作者: shinfon    时间: 2014-6-1 00:12
剛加入~!這個很是可以!!感謝先!!
作者: lhy83117    时间: 2014-6-2 16:30
spi专用机,要是做成一托4或一托8就会好很多。
作者: liyf    时间: 2014-6-2 17:29
lhy83117 发表于 2014-6-2 16:30
spi专用机,要是做成一托4或一托8就会好很多。

这个spi是并口的,扩展有限
作者: waxkj    时间: 2014-7-10 11:16
这个真不错.ok
作者: tcqinzh    时间: 2015-1-2 23:33
好资料,感谢分享
作者: yangjing29    时间: 2015-11-3 15:42
好好资料,多谢分享
作者: benqhuang    时间: 2015-11-4 08:13
努力回帖!赚银两,赚积分!
作者: wxlxp    时间: 2016-2-10 13:42
努力回帖!赚银两,赚积分!
作者: 弹弹堂    时间: 2016-2-19 16:00
谢谢楼主分享
作者: khalil2000    时间: 2016-2-25 20:03
Good job liyf




欢迎光临 DIY编程器网 (http://www.diybcq.com/) Powered by Discuz! X3.2