




免费预览已结束,剩余5页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
擦除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 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 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 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 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 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 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=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 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 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 byte 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 disappear (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 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 board 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 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 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 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 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 CD CD . CD. If the data is all CD, then it cannot read the EEPROM (not a small type such as the 24LC00). Otherwise, continue.11) On the EZ-USB Control Panels 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 Panels 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 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 Panels Vend Req Toolbar, use the following 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 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 programmed correctly, then plug out the board, set switch2 to On and swi
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 交通局文明客运工作方案2篇
- 公司安全部门管理制度
- 公司行管人员管理制度
- 河北承德市高新区2024-2025学年高二下册期中考试数学试卷附解析
- 广东省湛江市2023−2024学年高二下册期末考试数学试卷附解析
- 2025年中考语文(长沙用)课件:主题16 一路生花毕业纪念活动
- 劳动法律服务与数字化平台研究-洞察阐释
- 2024年黔南州荔波县“特岗计划”教师招聘真题
- 2024年珲春市事业单位招聘真题
- 殡仪馆可行性研究报告
- 抖音电商直播运营团队KPI绩效考核管理办法【部分岗位绩效指标相同要求所有岗位KPI不一样的请勿下载】
- 幼儿园省一类自评报告
- 《外科常见急腹症》课件
- 楼宇电气系统安全检查表
- 存在问题原因分析及整改措施
- 文员职业发展规划
- 干部履历表(中共中央组织部2015年制)
- 广东省广州市2023年中考物理试卷
- 新版机动车检测全部记录表格
- 数学教育概论 第3版
- 北师大版二年级数学下册《最喜欢的水果》教案及教学反思
评论
0/150
提交评论