Easy-Downloader V1.1 with SDCC
[09-08 11:37:34] 来源:http://www.88dzw.com 微机|单片机 阅读:8650次
文章摘要: Most of the high level code are the same as previous version with Micro-C. You may study them in the source code then. Let me shows you how to use sdcc to compile the source code again. The sample below uses batch file, s.bat. C:\sdcc\app>s C:\sdcc\app>path
Easy-Downloader V1.1 with SDCC,标签:电路设计,http://www.88dzw.comMost of the high level code are the same as previous version with Micro-C. You may study them in the source code then.
Let me shows you how to use sdcc to compile the source code again. The sample below uses batch file, s.bat.
C:\sdcc\app>s
C:\sdcc\app>path=c:\sdcc\bin
C:\sdcc\app>sdcc writer1.c
library file /sdcc/share/sdcc/lib/small/libsdcc.lib
library file /sdcc/share/sdcc/lib/small/libint.lib
library file /sdcc/share/sdcc/lib/small/liblong.lib
library file /sdcc/share/sdcc/lib/small/libfloat.lib
C:\sdcc\app>packihx writer1.ihx>writer1.hex
packihx: read 166 lines, wrote 75: OK.
C:\sdcc\app>
The batch file s.bat contains,path=c:\sdcc\bin
sdcc writer1.c
packihx writer1.ihx>writer1.hex
The output machine code is hex file with *.ihx extension. We can use a tool, packihx to convert such hex file with *.ihx to *.hex easily.
The ez4.1 is suitable for programming the hex file into a 20-pin microcontrollers, 89C2051/4051. Since the hex file produced by sdcc is not sorted from low address to high address. The old version, EZ31 has bug for such hex file. So I recommened to use EZ4.1 for program loading.
- schematic:
- Layout in pdf:
- c compiler for 8051:
- firmware:
- HEX file:
- EZDL4:
- orcad files (schematic, layout):
- gerber file:
资料下载.rar
Errata
- 18 March 2004: found hardware schematic error at MAX232. The error is that pin 2 on the D-SUB 9 connector must be connected to pin 13 on the MAX232, not pin 8. The error had reported by Henrik Olesen, student at the University of Southern Denmark.
Below picture shows how to modify the pcb!
- 上一篇:PIC单片机控制的小鸭牌药膳煲
《Easy-Downloader V1.1 with SDCC》相关文章
- › Easy 51Pro单片机编程器的制作与使用
- › Easy-Downloader V1.1 with SDCC
- › EasyRecovery应用详解
- › 提示"This MotherBoard does not support Easy Energy
- 在百度中搜索相关文章:Easy-Downloader V1.1 with SDCC
- 在谷歌中搜索相关文章:Easy-Downloader V1.1 with SDCC
- 在soso中搜索相关文章:Easy-Downloader V1.1 with SDCC
- 在搜狗中搜索相关文章:Easy-Downloader V1.1 with SDCC