USBISP全套C资料,支持STK500
http://www.matwei.de/eng/index.php?page1=elektronik&page2=usbispThe USBisp is another AVR programmer. Compared to the other freely available programmers out there mine has some advantages, I think:
USB-Interface
The USBisp is very interesting on notebooks where no serial or parallel port is available
STK500-Protocol
The USBisp is compatible to AVR Studio but also to much other programs supporting this protocol. For Example, these programs are avrdude and uisp.
fast
The USBisp is due to the fast USB interface but also due to the high SPI clock very fast compared to the original AVRisp from Atmel or the simple parallel dongles. The isp clock frequency is adjustable from 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 of the USBisp is easy to upgrade. A 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 of flash left in the ATMega8
open
The USBisp is not only a AVR programmer. Due to the open schematic and the bootloader you can use the hardware also as a general USB platform. With a simple port expander (some shift registers) you can develop your own USB light show or a USBlcd.
The hardware:
There are two important chips on the USBisp. One is the FT245BM which connects the other important chip, an ATMega8, to the USB. Due to the parellel interface between the FT245BM and the ATMega8 the data throughput between them and the PC can reach easily 6MBit. The PC driver creates a virtual COM port (COMx respectively /dev/ttyUSBx) so that no special software is needed to talk to the USBisp. The ATMega8 is responsible for the conversion between the STK500 protocol and the SPI data channel to the target AVR. Additionally there is a EEPROM connected to the FT245BM which contains some configuration for that chip. Also there is a 4MBit dataflash in the schematic but this is not necessary for the USBisp. It's a hangover from another project with the same hardware. The PCB (I will not release the CAD data of it) has the same outline than that of the original AVRISP from Atmel. So you can easily update your current AVRisp to USB.
The software:
Application and bootloader are written in C. The bootloader is a minimized of the application so that it fits into 1024 byte.
http://cache.amobbs.com/bbs_upload782111/files_2/armok0155349.jpg
翻译参考(欢迎交流指正:)
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
-----此内容被fsclub于2005-07-18,14:09:23编辑过 好东西,有的卖吗? 顶! 太感谢了,有空研究! 自己顶一下. usbisp_05_10_04.tar.bz2
usbisp_05_10_04.zip
usbisp_21_04_05.tar.bz2
Linux下的压缩包? 用WinRAR都可以解开的:) USP ISP资料里的两个HEX文件分别烧到哪里啊?一个是APP.HEX 另一个是 BOOT.HEX 我不明白这两个文件的作用,BOOT不是引导区吗?APP呢??
哪个高手给指点一下啊?? BOOT烧到BOOTLOADER里.APP当然就是烧到程序空间里了. 俺是新手,怎么烧到BOOTLOADER里啊??所谓程序空间是FLASH吗?还是E2P?? 可有人知道么,谢谢了 解不开??呜呜!......
--------------------
用WINRAR
可有人知道么,谢谢了
--------------------
FLASH 不错. 看了一下,FT245BM的芯片没得卖 FT245BM北京中发有卖。记得是二十几元 俺是新手,怎么烧到BOOTLOADER里啊??所谓程序空间是FLASH吗?还是E2P?? 我下了打不开啊1!! http://cache.amobbs.com/bbs_upload782111/files_6/armok01119676.jpg
http://cache.amobbs.com/bbs_upload782111/files_6/armok01119677.jpg
我的朋友制作的样品.但是我们两个都是AVR的初学者(51用的多,看形式AVR应该是未来的主宰).
不懂怎么烧这块板的芯片.
先发上网过过瘾. 可惜下不了了:( http://www.matwei.de/doku.php?id=en:electronics:usbisp
用这个试试 请问有卖的吗?或是哪里有卖的啊? usbisp_05_10_04.tar.bz2
usbisp_05_10_04.zip
usbisp_24_06_05.tar.bz2
usbisp_24_06_05.zip
usbisp_21_10_05.tar.bz2
usbisp_21_10_05.zip
usbisp_30_05_06.tar.bz2
usbisp_30_05_06.zip
usbisp_cad_files_2.1.zip
怎么这么多压缩包?都是什么呀 记号之 那么多应该是不同版本的固件. 可惜啊!我也很想看看啊! 18楼PCB画的挺漂亮的啊!可惜我帮不了你,我也是新手。 这个USBISP只能用AVR Studio烧写吗?有没有其他的软件支持啊? iccavr好像支持 stk500 首先谢谢CN.Cn AVR菜鸟的回答,我想问的是有没有类似SLISP、PROGISP这样的只是烧写的软件支持呢?^_= 只能看看 avrdude 行不了!!!
http://www.ouravr.com.cn/bbs/bbs_content.jsp?bbs_sn=454398&bbs_page_no=1&bbs_id=1000 avrdude 我试过,一写就提示时钟同步错误,而且将USBISP上存放程序的M8中内容弄乱了。当然也可能是我操作有问题,有人用avrdude、SLISP、PROGISP等软件写成功过吗? 怎么无法下载呢?提示object not found 我用上面的资料改为串口,制作成功,正用着感觉挺爽的,这回下载线不成问题了。 这个改用其他芯片也可以的, 我准备用南京的CH341T做一个, 感兴趣的话, 到时候我多做几个板子。 有做成功的吗?下次把它拼板一起去打 我做成功了,可以用!http://cache.amobbs.com/bbs_upload782111/files_6/armok01143218.jpg 先谢谢楼主,发个网址给大家, 自己找吧!
http://www.matwei.de/doku.php?id=en:electronics:usbisp Mark 我这里有做好的成品,下载速度非常快,有外壳,双面布板,体积小,有意者请电:13530258010 林生
http://cache.amobbs.com/bbs_upload782111/files_15/ourdev_445207.jpg
这是成品图 (原文件名:T1RwBdXcpfMgBTJ_g8_102113_jpg_sum.jpg) 板子上的93LC56SM要烧什么程序进去呢,是BOOT.HEX吗.不明白,只有二个HEX文件.这个两个文件要烧到什么地方.还请高人指点一二,谢谢!我是初学者. 谢谢LZ 不能下载哦 顶 好东西 MARK 好东西 MARK 好东西,留名 壳体比较赞 what 正在学习USB 不太了解 学习 一直要做个成品提提神 寻找中 mark mark 支持下! 请问用自制简易公版USBASP用PROGISP1.67可以写MEG8,不能写MEG16,但用双龙USBISP可以写MEG16,交换写多次如此, USB协议都模拟出来了 值得研究一下
页:
[1]