版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、擦除eeprom方法艾曼技术 如果电路板上的fx2芯片外部扩展的24lc64存储器里面写入程序,上位机控制软件cyconsole ez-usb无法识别板子,您可以使用下面的方法来恢复,擦除掉24lc64里面的内容。programming the serial eeproms on the fx2 development kit boardlast updated: 08/28/2009rate this knowledge base article (4/5) by 1 user question: how do i program the serial eeproms on the fx2
2、development kit board?response:programming the large serial eepromto program the large serial eeprom on the cy3681 fx2 development kit board, please use the following sequence (refer to the "fx2 getting started.pdf" file, included in the kit software, section 5.4 for switch context). these
3、 steps will allow you to recover from a corrupt eeprom and successfully program a new eeprom image every time.1) unplug the usb cable from the dev board2) set switch2 to off (disable eeprom boot)3) set switch1 to large (select the large eeprom)4) connect the usb cable to the development board5) at t
4、his point you should see the development board enumerate as "cypress ez-usb fx2 (68613) - eeprom missing" under windows device manager6) set switch2 to on (enable eeprom boot)7) open the ez-usb control panel, ensuring that the target drop-down select field is "fx2"8) by clicking
5、on the "download" button, navigate your way to the vend_ax directory and download vend_ax.hex9) on the ez-usb control panel's "vend req" toolbar, use the following to fill in the required fields: req=0xa9 (the 0xa9 vendor request is used to access large eeproms that have a du
6、al-byte addressing scheme)value=0x0000index=0xbeeflength=16dir=1 in 10) press the "vend req" button to verify that the 16 bytes displayed in the data window are not cd cd cd . cd. if the data is all cd, then it cannot read the eeprom (not a large type such as the 24lc64). otherwise, contin
7、ue.11) on the ez-usb control panel's "vend req" toolbar, use the following to fill in the required fields:req=0xa9value=0x0000index=0xbeeflength=1dir=0 outhex bytes= 0012) press the "vend req" button to blast the first byte in the eeprom. 13) on the ez-usb control panel's
8、 "vend req" toolbar, use the following to fill in the required fields:req=0xa9value=0x0000index=0xbeeflength=1dir=1 in14) press "vend req" to verify that the first byte in the eeprom is 0x0015) unplug the usb cable from the development board16) connect the usb cable to the develo
9、pment board17) at this point you should still see the development board enumerate as "cypress ez-usb fx2 (68613) - eeprom missing" under windows device manager because the first byte in the eeprom is 0x00 (an invalid signature byte).18) to program the eeprom image, on the ez-usb control pa
10、nel, press the "eeprom" button and navigate to and select filename.iic, where filename is the name you have given to your eeprom image19) wait for the eeprom file open dialog to completely disappear (1-2 minutes)20) to verify the eeprom load, repeat steps 9) and 10) above to read the eepro
11、m and verify that the first eight bytes contain a sequence starting with 0xc2 and followed in reverse endian by either our default vid/pid/did, or your own if you used the vid and pid parameters in the hex2bix utility when you created your .iic file.21) if the eeprom was programmed correctly, then p
12、lug out the board, set switch2 to on and switch1 to large and your board should load and enumerate with your firmware. the steps for programming the large eeprom on the cy4611 fx2 ata reference design board are the same as above, except that you should ignore the switch1 instructions and substitute
13、the jp1 jumper for switch2.programming the small serial eepromto program the small serial eeprom on the cy3681 fx2 development kit board, please use the following sequence (refer to the "fx2 getting started.pdf" file, included in the kit software, section 5.4 for switch context). these ste
14、ps will allow you to recover from a corrupt eeprom and successfully hand program a small eeprom every time.1) unplug the usb cable from the dev board2) set switch2 to off (disable eeprom boot)3) set switch1 to small (select the small eeprom)4) connect the usb cable to the development board5) at this
15、 point you should see the development board enumerate as "cypress ez-usb fx2 (68613) - eeprom missing" under windows device manager6) set switch2 to on (enable eeprom boot)7) open the ez-usb control panel, ensuring that the target drop-down select field is "fx2"8) by clicking on
16、the "download" button, navigate your way to the vend_ax directory and download vend_ax.hex9) on the ez-usb control panel's "vend req" toolbar, use the following to fill in the required fields: req=0xa2 (the 0xa2 vendor request is used to access small eeproms that have a singl
17、e-byte addressing scheme)value=0x0000index=0xbeeflength=16dir=1 in 10) press the "vend req" button to verify that the 16 bytes displayed in the data window are not cd cd cd . cd. if the data is all cd, then it cannot read the eeprom (not a small type such as the 24lc00). otherwise, continu
18、e.11) on the ez-usb control panel's "vend req" toolbar, use the following to fill in the required fields:req=0xa2value=0x0000index=0xbeeflength=1dir=0 outhex bytes= 0012) press the "vend req" button to blast the first byte in the eeprom. 13) on the ez-usb control panel's
19、"vend req" toolbar, use the following to fill in the required fields:req=0xa2value=0x0000index=0xbeeflength=1dir=1 in14) press "vend req" to verify that the first byte in the eeprom is 0x0015) unplug the usb cable from the dev board16) connect the usb cable to the dev board17) at
20、 this point you should still see the dev board enumerate as "cypress ez-usb fx2 (68613) - eeprom missing" under windows device manager because the first byte in the eeprom is 0x00 (an invalid signature byte).18) on the ez-usb control panel's "vend req" toolbar, use the follow
21、ing to fill in the required fields:req=0xa2value=0x0000index=0xbeeflength=8dir=0 out19) use the hex bytes field to enter the sequence c0 followed by vid(lsb), vid(msb), pid(lsb), pid(msb), did(lsb), did(msb), and configuration byte that you want. if you use the sequence c0 b4 04 81 00 00 00 00, then
22、 the board will automatically enumerate and load the default keil monitor. this is useful for debugging.20) to verify the eeprom load, repeat steps 9) and 10) above to read the eeprom and verify that the first eight bytes contain a sequence as mentioned in step 19) above.21) if the eeprom was progra
23、mmed correctly, then plug out the board, set switch2 to on and switch1 to small, plug in the board, and your board should load and enumerate as a "cypress ez-usb fx2 development board". the green bkpt/monitor light should also be lit, indicating a successful download of the default keil monitor program. 1首先將eeprom的sda与fx2断开fx2lp电路必须先设计这个功能,此时将你的fx2lp电路板的usb数据线接到计算机上。(备注:fx2lp指的是cy7c68013a, fx2指的是cy7c68013)2这时候可以在设备管理器,发现cypress ez-usb fx2lp(68013)-eepr
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 混凝土路面施工方案
- 时尚品牌与明星代言合作考核试卷
- 体育馆设施的维修与保养考核试卷
- 物业管理与小区方案实施考核试卷
- 技能师带徒计划方案
- 培训员工操作安全措施
- 高一化学全部教案新课标鲁教版必修一
- 淮阴工学院《结构动力学》2023-2024学年第一学期期末试卷
- 电子游戏、游艺厅娱乐服务行业相关投资计划提议
- 富氧水充氧机相关行业投资规划报告范本
- 期中考试卷(试题)-2024-2025学年苏教版二年级数学上册
- 2024年全国企业员工全面质量管理知识竞赛题库(含答案)(共132题)
- 《国有企业采购操作规范》【2023修订版】
- 野生动物管理学智慧树知到答案章节测试2023年东北林业大学
- [新版]高速公路交安工程监理实施细则
- 品质周报模板
- 压力管道焊接工艺、工艺卡、规程及工艺评定
- 2021年河南省实施殡葬管理条例
- 对上好少先队活动课的五点建议
- 慢性病自我管理新ppt课件.ppt
- ProCAST学习操作教程ppt课件
评论
0/150
提交评论