USB芯片CY7C68013如何擦除EEPROM内的程序_第1页
USB芯片CY7C68013如何擦除EEPROM内的程序_第2页
USB芯片CY7C68013如何擦除EEPROM内的程序_第3页
USB芯片CY7C68013如何擦除EEPROM内的程序_第4页
USB芯片CY7C68013如何擦除EEPROM内的程序_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论