;--------------------------------------------------------------
; ezbulk.A51 6-17-98 LTH
;
; A Simple bulk transfer. Updated and corrected version of the
; example code on page 81 of the EZ-USB TRM v1.0. Use this to study bulk transfers
; between the EZ-USB Development Board and the Anchor Control Panel.
;
; 1. Fills the EP2IN buffer with a decrementing count from 64 to 1.
; 2. Maintains counts of number of IN and OUT transfers to EP2.
; 3. Does nothing with the data received over EP2OUT.
; 4. Updates the first two bytes of the EP2IN buffer with the number
; of EP2IN transfers (byte 0) and the number of OUT transfers (byte 1).
;
; To exercise with the Anchor control panel:
; 1. Download the code, either from the Keil environment or by clicking the
; 'Download' button and selecting ezbulk.hex.
; 2. Set Interface 0, alternate setting 1. This establishes the EP2 endpoints
; with MaxPacketSizes of 64. Press "Get Pipes" to update.
; 3. Select Endpoint 2 IN in the Bulk Transfer button bar.
; 4. Click the Blk Trans button. You should see the 64 bytes decrementing from
; 64 to 1.
; 5. Click Blk Trans button again to perform another EP2IN transfer. The pattern
; should now be the same except for byte 0, which indicates 1 IN transfer has
; previously happened. Each click of BlkTrans button with EP2IN selected transfers
; another 64 bytes with the first byte incrementing.
; 6. Select Endpoint 2 OUT in the Bulk Transfer button bar.
; 7. Click BlkTrans. This sends 64 bytes to EP2OUT. The data is ignored.
; 8. Select Endpoint 2 IN, click BlkTrans. The second byte should now be 1, indicating
; that one EP2OUT transfer has previously happened.
;
; This code polls the endpoint busy bits. A more advanced example would use the vectored
; interrupts.
;--------------------------------------------------------------
没有合适的资源?快使用搜索试试~ 我知道了~
EZ-USB2100系列单片机资料
共140个文件
c:24个
h:13个
a51:13个
需积分: 9 9 下载量 161 浏览量
2008-03-22
12:16:00
上传
评论
收藏 238KB ZIP 举报
温馨提示
EZ-USB2100系列单片机原理。编程及应用:EZ-USB2100系列单片机原理。编程及应用
资源推荐
资源详情
资源评论
收起资源包目录
EZ-USB2100系列单片机资料 (140个子文件)
dscr.a51 7KB
Dscr.a51 4KB
dscr.a51 4KB
Ezbulk.a51 3KB
dscr.a51 3KB
FXJmpTb.a51 2KB
eziso.a51 2KB
2200jmpt.a51 2KB
USBJmpTb.a51 2KB
renum.a51 877B
delayms.a51 665B
susp.a51 466B
usbirqcl.a51 178B
ezmeter.aps 20KB
ep_pair.b6 2KB
memtest_Uv2.Bak 2KB
memtest_Opt.Bak 1KB
dev_io_Opt.Bak 924B
EzBulk_Opt.Bak 833B
build.bat 2KB
build.bat 2KB
build.bat 2KB
build.bat 2KB
build.bat 2KB
build.bat 1012B
build.bat 981B
build.bat 697B
build.bat 619B
main.c 18KB
main.c 17KB
fw.c 10KB
fw.c 10KB
fw.c 10KB
fw.c 10KB
Vend_Ax.c 10KB
periph.c 9KB
UsbBulkIo_VC++.c 5KB
ep_pair.c 5KB
periph.c 4KB
memtest.c 4KB
i2c.c 3KB
dev_io.c 1KB
discon.c 1KB
get_dscr.c 854B
i2c_rw.c 755B
usbBulkIo_Ezusb.c 691B
get_infc.c 685B
EZRegs.c 516B
get_cnfg.c 436B
get_strd.c 337B
delay.c 313B
resume.c 191B
dev_io 8KB
描述符表.doc 57KB
bulktest.dsp 4KB
isostrm.dsp 4KB
bulktest.dsw 539B
isostrm.dsw 539B
bulktest.exe 52KB
isostrm.exe 52KB
EZRegs.h 16KB
ezusb.h 12KB
forward.h 6KB
backward.h 5KB
Main.h 5KB
Main.h 5KB
resource.h 4KB
resource.h 4KB
dscr.h 487B
dscr.h 487B
dscr.h 487B
dscr.h 487B
Reg320.h 188B
Vend_Ax.hex 10KB
bulktest.hex 10KB
ep_pair.hex 6KB
isostrm.hex 6KB
memtest.hex 6KB
dev_io.hex 3KB
ezbulk.hex 227B
eziso.hex 200B
buaa.ico 28KB
ep_pair.iic 2KB
ezregs.inc 9KB
Ezbits.inc 806B
Macros.inc 438B
Reg320.inc 188B
wdgtldr.inf 1KB
dev_io.inf 1KB
autorun.inf 26B
Ezusb.lib 31KB
memtest.lnp 119B
MEMTEST.LST 7KB
memtest.M51 62KB
makefile 935B
memtest 14KB
MEMTEST.OBJ 6KB
FXJmpTb.OBJ 2KB
USBJmpTb.OBJ 1KB
memtest.Opt 1KB
共 140 条
- 1
- 2
资源评论
hbbinxue
- 粉丝: 3
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功