USB芯片CY7C68013如何擦除EEPROM內(nèi)的程序_第1頁(yè)
USB芯片CY7C68013如何擦除EEPROM內(nèi)的程序_第2頁(yè)
USB芯片CY7C68013如何擦除EEPROM內(nèi)的程序_第3頁(yè)
USB芯片CY7C68013如何擦除EEPROM內(nèi)的程序_第4頁(yè)
USB芯片CY7C68013如何擦除EEPROM內(nèi)的程序_第5頁(yè)
已閱讀5頁(yè),還剩5頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(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ì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論