




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、擦除eeprom方法艾曼技術(shù) 如果電路板上的fx2芯片外部擴(kuò)展的24lc64存儲(chǔ)器里面寫(xiě)入程序,上位機(jī)控制軟件cyconsole ez-usb無(wú)法識(shí)別板子,您可以使用下面的方法來(lái)恢復(fù),擦除掉24lc64里面的內(nèi)容。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斷開(kāi)fx2lp電路必須先設(shè)計(jì)這個(gè)功能,此時(shí)將你的fx2lp電路板的usb數(shù)據(jù)線接到計(jì)算機(jī)上。(備注:fx2lp指的是cy7c68013a, fx2指的是cy7c68013)2這時(shí)候可以在設(shè)備管理器,發(fā)現(xiàn)cypress ez-usb fx2lp(68013)-eepr
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- HY/T 0436-2024海洋生物資源碳庫(kù)貢獻(xiàn)調(diào)查與評(píng)估技術(shù)規(guī)程大型藻類(lèi)(筏式養(yǎng)殖)
- 江蘇南通2024~2025學(xué)年高一下冊(cè)6月期末考試數(shù)學(xué)試題含解析
- 福建漳州第一中學(xué)2024~2025學(xué)年高一下冊(cè)數(shù)冊(cè)末試題
- 樂(lè)器行業(yè)口碑營(yíng)銷(xiāo)中的用戶參與度研究考核試卷
- 化學(xué)教育中的多元智能理論應(yīng)用研究考核試卷
- 保險(xiǎn)代理人在團(tuán)隊(duì)協(xié)作中的作用考核試卷
- 綠色產(chǎn)業(yè)政策與區(qū)域發(fā)展協(xié)同研究考核試卷
- 光學(xué)儀器在海洋科普中的應(yīng)用案例光學(xué)儀器考核試卷
- 2025年中國(guó)LED蜂窩像素屏數(shù)據(jù)監(jiān)測(cè)研究報(bào)告
- 2025年中國(guó)AⅤ端子數(shù)據(jù)監(jiān)測(cè)報(bào)告
- 2024年09月2024秋季中國(guó)工商銀行湖南分行校園招聘620人筆試歷年參考題庫(kù)附帶答案詳解
- 【MOOC】國(guó)際經(jīng)濟(jì)法學(xué)-西南政法大學(xué) 中國(guó)大學(xué)慕課MOOC答案
- 一年級(jí)期末家長(zhǎng)會(huì)
- 2024年黑龍江省齊齊哈爾市初中學(xué)業(yè)考試地理試題含答案
- 完整版2024年注安法規(guī)真題及答案(85題)
- 員工工資表范本
- 過(guò)戶摩托車(chē)委托書(shū)
- 小學(xué)五年級(jí)下、六年級(jí)上年級(jí)數(shù)學(xué)口算天天練20以內(nèi)分?jǐn)?shù)加減乘除法隨機(jī)1000道-第1套
- 序篇 不忘初心 作品鑒賞 不忘初心 課件-2023-2024學(xué)年高中音樂(lè)人音版(2019)必修音樂(lè)鑒賞
- 16J916-1住宅排氣道一
- 四年級(jí)下冊(cè)數(shù)學(xué)期末測(cè)試試卷附完整答案【各地真題】
評(píng)論
0/150
提交評(píng)論