Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Simply boot from the firmware on EEPROM

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Simply boot from the firmware on EEPROM
Moderator:
RSKV

Post Reply
Follow this topic



Simply boot from the firmware on EEPROM

potam posted on 20 Apr 2012 3:18 AM PST
Member
7 Forum Posts
Maybe this is a very primitive question but I need help.I want to boot up DVK board from EEPROM(24FC256) via I2c. What I did was below: 1.Edit vid/pid of slavefifosync sample 2.Add '-i2cconf 0a' option to elf2img.exe 3.Built project,burned .img file to EEPROM(offset 0) via ROM writer 4.Set switches to: J97=2-3 connected SW25=off/off/off/off (I guess pmode will be F1F) SW40=on/on/on/off (I guess the ROM address will be 0) Anyway,it didn't work.When I loaded the firmware on the RAM via USB control center it worked correctly.What was wrong?Or is there anything I have to do more? I wish someone will reply to me...


Re: Simply boot from the firmware on EEPROM

sodafarl posted on 20 Apr 2012 05:18 AM PST
Top Contributor
128 Forum Posts

Hi,

A 32KB (256Kb) eeprom  is not  big enough for the Slave Fifo example. I think you willl need two 128KB eeproms.

Sodafarl



Re: Simply boot from the firmware on EEPROM

potam posted on 20 Apr 2012 07:12 AM PST
Member
7 Forum Posts
>>Sodafarl Thank you for quick reply. EEPROM size is still small even if .img file size was 146 kB by debug build? If I boot from EEPROM,it works like XIP? I thought the firmware code would be transfered to the SRAM before start...silly:-p Anyway,I should to try. Thank you again!

Re: Simply boot from the firmware on EEPROM

potam posted on 21 Apr 2012 09:36 PM PST
Member
7 Forum Posts
Well,I spent a special Saturday night with Ms.DVK and now I know what means Sodafarl's reply. Maybe I should to think about SPI-Flash way via boot_fw method. So I'm tying to load .img on flash memory but the control center doesn't work properly. When I choose program-FX3-SPI FLASH,message "Programming of Boot Programmer Failed" shown and transfer status is "Code:997". My setting is below: SW25=off/off/on/off J96,98 and 101 to 104 are 2-3 short J97 is free Win7/64 with SDK1.1 and USBSuiteB403 If someone knows what is wrong,please help me.

Re: Simply boot from the firmware on EEPROM

potam posted on 21 Apr 2012 09:36 PM PST
Member
7 Forum Posts
By the way,another question. How can I put CR-LF on this BBS?

Re: Simply boot from the firmware on EEPROM

potam posted on 22 Apr 2012 06:54 AM PST
Member
7 Forum Posts
I'm sorry I didn't read old posts exactly. When I connected the USB board as 2.0 then SPI flash writing function on the control center worked properly. Anyway,I can sleep tonight...




ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.