搜索
bottom↓
回复: 56

USBISP全套C资料,支持STK500

[复制链接]

出0入0汤圆

发表于 2005-7-4 16:22:38 | 显示全部楼层 |阅读模式
http://www.matwei.de/eng/index.php?page1=elektronik&page2=usbisp



The 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.  









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



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编辑过

出0入0汤圆

发表于 2005-7-4 16:34:10 | 显示全部楼层
好东西,有的卖吗?

出0入0汤圆

发表于 2005-7-4 17:16:42 | 显示全部楼层
顶!

出0入0汤圆

发表于 2005-7-5 12:51:26 | 显示全部楼层
太感谢了,有空研究!

出0入0汤圆

 楼主| 发表于 2005-7-18 14:09:53 | 显示全部楼层
自己顶一下.

出0入0汤圆

发表于 2005-7-18 15:44:32 | 显示全部楼层
usbisp_05_10_04.tar.bz2

usbisp_05_10_04.zip

usbisp_21_04_05.tar.bz2

Linux下的压缩包?

出0入0汤圆

发表于 2005-7-20 22:52:10 | 显示全部楼层
用WinRAR都可以解开的:)

出0入0汤圆

发表于 2005-11-4 21:47:47 | 显示全部楼层
USP ISP资料里的两个HEX文件分别烧到哪里啊?一个是APP.HEX 另一个是 BOOT.HEX 我不明白这两个文件的作用,BOOT不是引导区吗?APP呢??



哪个高手给指点一下啊??

出0入0汤圆

 楼主| 发表于 2005-11-5 08:40:07 | 显示全部楼层
BOOT烧到BOOTLOADER里.APP当然就是烧到程序空间里了.

出0入0汤圆

发表于 2005-11-6 09:31:04 | 显示全部楼层
俺是新手,怎么烧到BOOTLOADER里啊??所谓程序空间是FLASH吗?还是E2P??

出0入0汤圆

发表于 2005-11-8 12:56:08 | 显示全部楼层
可有人知道么,谢谢了

出0入0汤圆

 楼主| 发表于 2005-11-8 13:53:18 | 显示全部楼层
解不开??呜呜!......

--------------------

用WINRAR







可有人知道么,谢谢了

--------------------

FLASH

出0入0汤圆

发表于 2005-11-8 14:37:03 | 显示全部楼层
不错.

出0入0汤圆

发表于 2005-11-10 14:59:25 | 显示全部楼层
看了一下,FT245BM的芯片没得卖

出0入0汤圆

发表于 2005-11-10 19:30:54 | 显示全部楼层
FT245BM北京中发有卖。记得是二十几元

出0入0汤圆

发表于 2005-11-21 12:27:18 | 显示全部楼层
俺是新手,怎么烧到BOOTLOADER里啊??所谓程序空间是FLASH吗?还是E2P??

出0入0汤圆

发表于 2005-12-21 19:14:19 | 显示全部楼层
我下了打不开啊1!!

出0入0汤圆

发表于 2006-6-5 14:32:15 | 显示全部楼层




我的朋友制作的样品.但是我们两个都是AVR的初学者(51用的多,看形式AVR应该是未来的主宰).

不懂怎么烧这块板的芯片.

先发上网过过瘾.

出0入0汤圆

发表于 2006-6-6 09:44:13 | 显示全部楼层
可惜下不了了:(

出0入0汤圆

发表于 2006-9-22 13:58:41 | 显示全部楼层
http://www.matwei.de/doku.php?id=en:electronics:usbisp

用这个试试

出0入0汤圆

发表于 2006-9-22 17:42:59 | 显示全部楼层
请问有卖的吗?或是哪里有卖的啊?

出0入0汤圆

发表于 2006-9-22 21:21:10 | 显示全部楼层
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

怎么这么多压缩包?都是什么呀

出0入0汤圆

发表于 2006-9-22 22:30:59 | 显示全部楼层
记号之

出0入0汤圆

 楼主| 发表于 2006-9-23 10:56:48 | 显示全部楼层
那么多应该是不同版本的固件.

出0入0汤圆

发表于 2006-10-5 22:10:47 | 显示全部楼层
可惜啊!我也很想看看啊!

出0入0汤圆

发表于 2006-10-5 22:22:19 | 显示全部楼层
18楼PCB画的挺漂亮的啊!可惜我帮不了你,我也是新手。

出0入0汤圆

发表于 2006-12-12 15:20:45 | 显示全部楼层
这个USBISP只能用AVR Studio烧写吗?有没有其他的软件支持啊?

出0入0汤圆

发表于 2006-12-12 15:52:38 | 显示全部楼层
iccavr好像支持 stk500

出0入0汤圆

发表于 2006-12-13 22:19:03 | 显示全部楼层
首先谢谢CN.Cn AVR菜鸟的回答,我想问的是有没有类似SLISP、PROGISP这样的只是烧写的软件支持呢?^_=

出0入0汤圆

发表于 2006-12-13 22:29:31 | 显示全部楼层
只能看看 avrdude 行不了!!!

http://www.ouravr.com.cn/bbs/bbs_content.jsp?bbs_sn=454398&bbs_page_no=1&bbs_id=1000

出0入0汤圆

发表于 2006-12-14 08:33:44 | 显示全部楼层
avrdude 我试过,一写就提示时钟同步错误,而且将USBISP上存放程序的M8中内容弄乱了。当然也可能是我操作有问题,有人用avrdude、SLISP、PROGISP等软件写成功过吗?

出0入0汤圆

发表于 2006-12-18 15:07:23 | 显示全部楼层
怎么无法下载呢?提示object not found

出0入0汤圆

发表于 2006-12-18 20:27:18 | 显示全部楼层
我用上面的资料改为串口,制作成功,正用着感觉挺爽的,这回下载线不成问题了。

出0入0汤圆

发表于 2006-12-18 20:34:49 | 显示全部楼层
这个改用其他芯片也可以的, 我准备用南京的CH341T做一个, 感兴趣的话, 到时候我多做几个板子。

出0入0汤圆

发表于 2006-12-23 13:57:30 | 显示全部楼层
有做成功的吗?下次把它拼板一起去打

出0入0汤圆

发表于 2007-1-29 20:17:40 | 显示全部楼层
我做成功了,可以用!

出0入0汤圆

发表于 2007-8-29 13:00:43 | 显示全部楼层
先谢谢楼主,发个网址给大家, 自己找吧!

http://www.matwei.de/doku.php?id=en:electronics:usbisp

出0入0汤圆

发表于 2009-5-10 17:13:40 | 显示全部楼层
Mark

出0入0汤圆

发表于 2009-5-15 22:15:02 | 显示全部楼层
我这里有做好的成品,下载速度非常快,有外壳,双面布板,体积小,有意者请电:13530258010 林生


这是成品图 (原文件名:T1RwBdXcpfMgBTJ_g8_102113_jpg_sum.jpg)

出0入0汤圆

发表于 2009-8-7 18:42:51 | 显示全部楼层
板子上的93LC56SM要烧什么程序进去呢,是BOOT.HEX吗.不明白,只有二个HEX文件.这个两个文件要烧到什么地方.还请高人指点一二,谢谢!我是初学者.

出0入0汤圆

发表于 2009-9-6 23:08:50 | 显示全部楼层
谢谢LZ

出0入0汤圆

发表于 2009-10-31 12:43:51 | 显示全部楼层
不能下载哦

出0入0汤圆

发表于 2009-11-20 08:58:08 | 显示全部楼层
顶 好东西

出0入0汤圆

发表于 2009-11-20 10:32:01 | 显示全部楼层
MARK

出0入0汤圆

发表于 2009-11-20 11:58:10 | 显示全部楼层
好东西 MARK

出0入0汤圆

发表于 2009-11-20 13:16:25 | 显示全部楼层
好东西,留名

出0入0汤圆

发表于 2009-12-9 18:28:31 | 显示全部楼层
壳体比较赞

出0入0汤圆

发表于 2009-12-22 01:53:27 | 显示全部楼层
what

出0入0汤圆

发表于 2009-12-23 23:59:40 | 显示全部楼层
正在学习USB 不太了解 学习 一直要做个成品提提神 寻找中

出0入0汤圆

发表于 2010-4-5 18:09:18 | 显示全部楼层
mark

出0入0汤圆

发表于 2010-4-9 10:16:19 | 显示全部楼层
mark

出0入0汤圆

发表于 2010-4-9 11:25:22 | 显示全部楼层
支持下!

出0入0汤圆

发表于 2011-3-31 17:18:35 | 显示全部楼层
请问用自制简易公版USBASP用PROGISP1.67可以写MEG8,不能写MEG16,但用双龙USBISP可以写MEG16,交换写多次如此,

出0入0汤圆

发表于 2012-11-11 08:13:16 | 显示全部楼层
USB协议都模拟出来了

出0入0汤圆

发表于 2013-11-25 16:28:56 | 显示全部楼层
值得研究一下
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-29 05:03

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表