自己动手制造at89c2051编程器(英文)

[09-08 11:37:39]   来源:http://www.88dzw.com  微机|单片机   阅读:8148

文章摘要: program was written in 'C'. To modify, it needs Micro C-compiler from Dunfield Development System Ontario Canada with tiny memory model.Functional TestUse a given programmer (or ready made Easy-Downloader) write the writer.hex into the 2051 chip. Put the programmed 2051 chip to the board. I

自己动手制造at89c2051编程器(英文),标签:电路设计,http://www.88dzw.com
program was written in 'C'. To modify, it needs Micro C-compiler from Dunfield Development System Ontario Canada with tiny memory model.

Functional Test

Use a given programmer (or ready made Easy-Downloader) write the writer.hex into the 2051 chip. Put the programmed 2051 chip to the board. Invoke any communication software with 9600 baud, 8-data bit, no parity. Connect DB-9 to COM1, say, press enter key, the title 'Easy-Downloader V1.1 for ATMEL 89C2051/4051' would be appeared on the screen. type >s2048 ( set byte counter to 2k), then without the 2051 chip in ZIF, type >r (read 2kB), on screen would show FFFFFFFFFFF... indicating corrected wiring for P1. If you put the chip having already program inside, r command will show the hex code with the number of byte set by s command. Try e command to erase the entire program!! All done. Figure 2 shows example of using Xtalk program to test the board.
自己动手制造at89c2051编程器(英文)
Figure 2: Using Xtalk to test the board
Now try with 'ez' the uploader program to help you more easy to write the hex file to the chip. Example of using ez is shown in Figure 3. Have fun...
自己动手制造at89c2051编程器(英文)
Figure 3: Example of using EZ program writes the writer.hex to 2051 chip



 

自己动手制造at89c2051编程器(英文)

Figure 4: Example of Using EZ3 and EZ3.1
DownloadEZ Uploader V3.0 for Window The EZ Uploader provides a simple means of sending HEX file to the writer board. To connect the board with EZ, click available COM port, COM1, say. After the EZ recognizes the chips, then click Send Hexfile, that all. Since there is no signature byte that indicates chip number and programming voltage, thus you have to choose the appropriated memory size either 2051 or 4051 manually, i.e.,  2048 or 4096 respectively.

Download EZ Uploader V3.1 for Window  An upgraded version of EZ3 with RAED and SAVE AS features for reading HEX code resided in the chip and save as an Intel HEX file.

Tips

HEX file extension

Some Assembler or Compiler produce output hex file with .OBJ instead of .HEX. The EZ needs .HEX extension, just rename it...

Expensive ZIF Socket

Without expensive ZIF socket, you may use an ordinary socket instead, surely many times of pulling the chips may cause the far end leg of the 2051 chip broken. My student suggests me to insert one more socket to the 2051 chip. It works very nice. Even the programmer has ZIF, but your application board does not have. Better to insert one socket to strengthen the 2051's leg.

上一页  [1] [2] [3]  下一页


Tag:微机|单片机电路设计家电维修 - 单元电路介绍 - 微机|单片机

《自己动手制造at89c2051编程器(英文)》相关文章