欢迎访问ic37.com |
会员登录 免费注册
发布采购

自制USB接口ISP下载线

日期:2007-4-29 (来源:互联网)

本站 www.runmcu.com 语:usb接口的avrisp下载线对avr开发人员来说,是一个非常好的选择,它不仅仅可以为节省usb—>串口线(便携机),另一个方便就是你稍稍加以改造就可以使用上一个“免费”电源(usb电源)

资料来源:http://www.matwei.de/eng/index.php?page1=elektronik&page2=usbisp

the usbisp is another avr programmer.compared to the target="_blank" >port is available
stk500-protocol

the usbisp is compatible to avr studio but also to much target="_blank" >fast

the usbisp is due to the fast usb interface but also due to the high spi clock very fast compared to the target="_blank" >avrisp from atmel target="_blank" >2mhz down to about 60khz via the stk500 protocol.more, even slower, frequencies are planned to be implemented so that avr with slower clock rates can be programmed.

updates are easy

the firmware target="_blank" >software upgrade works also via the usb interface.the package contains a stk500 compatible bootloader so you can use avrdude to update the firmware.there are 7k target="_blank" >flash left in the atmega8

open

the usbisp is target="_blank" >only a avr programmer.due to the target="_blank" >hardware also as a general usb platform.with a simple port expander (some shift registers) you can develop your target="_blank" >chips target="_blank" >ft245bm which connects the target=_blank >


以下为 fsclub 网友的翻译

翻译参考(欢迎交流指正:)

usbisp是另外一个种编程器,和其它的自由(免费)编程器相比,我这个编程器有一些优点,我认为:

usb接口

这个usbisp支持stk-500协议,在一些没有串口或者并口的笔记本上是很有用的,
usbisp兼容avr studio,其实很多编程器也支持这个协议,像avrdude 和 uisp

快速

usbisp由于快速的usb接口和高速的spi总线,与原来的avrisp或者简单的并口下载线相比,其速度是很快的.这个下载器通过stk500协议,具有2m到60khz可调的频率.更多地,计划支持甚至更慢的频率,因此低频率的avr芯片也可以被编程.

升级更容易

固件很容易升级,软件的升级是通过usb接口来完成的,这软件包中包含兼容stk500的bootload,你可以通过avrdude来升级固件.在m8中可以用的程序空间为7k.

开放

这个usbisp不只是一个avr编程器,因为开放的电路和bootload,你可以用这个硬件来作为一个通用的usb接口平台, 通过一些端口的简单扩展(一些移位寄存器),你可以自己开发你自己的usblight show或者usb lcd.

硬件

在这里用了两个重要的芯片.一个是ft245bm,它连接另一个重要的芯片mega8,另一边连着usb接口.因为ft245bm与m8之间通过并行口联接,所以在pc和m8之间可以很容易的就达到6mbit的速度.pc上的驱动程序会生成一个虚拟的com口,所以在电脑上不需要特殊的上位机软件与usbisp相联.mega8负责以stk500协议传输与spi数据与目标avr单片机.,另外增加一个eeprom来保存一些ft245bm的配置数据.在电路图中的4mb的flash对usbisp来说不是必须的.这是另一个与这个硬件电路相同的项目中残留下来的.电路板(我不会发布相关的cad电子文件)与avrisp具有大体相同的轮廓,你可以很简单的把你的连接usb的avrisp电路升级到usbisp.

软件:

程序和bootload都是用c写的,bootload已经最小化,所以可以适合1024b的bootload


这里为外文网站下载地址:
usbisp_05_10_04.tar.bz2
usbisp_05_10_04.zip
usbisp_21_04_05.tar.bz2
usbisp_21_04_05.zip


以下介绍,是关于此下载线,引自 >

原理图:

零件装配图:

完整的制作资料、c源代码、烧录文件:usbisp 下载