USB芯片CY7C68013如何擦除EEPROM内的程序

上传人:m**** 文档编号:425732618 上传时间:2023-11-23 格式:DOC 页数:10 大小:482.50KB
返回 下载 相关 举报
USB芯片CY7C68013如何擦除EEPROM内的程序_第1页
第1页 / 共10页
USB芯片CY7C68013如何擦除EEPROM内的程序_第2页
第2页 / 共10页
USB芯片CY7C68013如何擦除EEPROM内的程序_第3页
第3页 / 共10页
USB芯片CY7C68013如何擦除EEPROM内的程序_第4页
第4页 / 共10页
USB芯片CY7C68013如何擦除EEPROM内的程序_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《USB芯片CY7C68013如何擦除EEPROM内的程序》由会员分享,可在线阅读,更多相关《USB芯片CY7C68013如何擦除EEPROM内的程序(10页珍藏版)》请在金锄头文库上搜索。

1、擦除EEPROM方法艾曼技术 http:/ 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 development kit board?Response:Programming

2、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 steps will allow you to recover from a corrupt EEPROM

3、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 this point you should see the development board enumerat

4、e 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 FX28) By clicking on the Download button, navigate your way to the Vend_Ax directory and download

5、 Vend_Ax.hex9) On the EZ-USB Control Panels 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 dual-byte addressing scheme)Value=0x0000Index=0xBEEFLength=16Dir=1 IN 10) Press the Vend Req button to verify

6、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, continue.11) On the EZ-USB Control Panels Vend Req Toolbar, use the following to fill in the required fields:Req=0xA9Value=0x0

7、000Index=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 Panels 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

8、first byte in the EEPROM is 0x0015) Unplug the USB cable from the development board16) Connect the USB cable to the development 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 by

9、te in the EEPROM is 0x00 (an invalid signature byte).18) To program the EEPROM image, on the EZ-USB Control Panel, 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 dis

10、appear (1-2 minutes)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 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

11、hex2bix utility when you created your .iic file.21) If the EEPROM was programmed correctly, then plug 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 b

12、oard are the same as above, except that you should ignore the Switch1 instructions and substitute 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 Star

13、ted.pdf file, included in the kit software, section 5.4 for switch context). These steps 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 Smal

14、l (Select the small EEPROM)4) Connect the USB cable to the development board5) At this 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 t

15、hat the Target drop-down select field is FX28) By clicking on the Download button, navigate your way to the Vend_Ax directory and download Vend_Ax.hex9) On the EZ-USB Control Panels 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 single-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 C

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 工作计划

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号