Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > the img size and 24lc256 eeprom

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



the img size and 24lc256 eeprom
Moderator:
RSKV

Post Reply
Follow this topic



the img size and 24lc256 eeprom

wudpeker posted on 22 Nov 2012 3:35 AM PST
Member
9 Forum Posts

The eeprom used on FX3 DVK is 24LC256, which is only 32KB, however, I found that even the minimum .img file size is over 120KB!! Is there a way to minimize the .img file size? If no, why Cypress used 24LC256 on the DVK board??




Re: the img size and 24lc256 eeprom

Lumpi6 posted on 22 Nov 2012 06:55 AM PST
Top Contributor
183 Forum Posts

Hi Wudpeker,

the 120kb is likely the lessest size. You may can use compiler optimization to reduce code size. You can change the I2C eeprom on the board, it should have a IC socket or you may use the 4Mbit SPI flash which is also on the dvk board.

The small eeprom is enough to tell the FX3 a customer specific VID and PID and to save some variables, but you may not really get such a huge I2C eeprom to save and load the application file. What you can also do with the I2C eeprom you can put on a bootloader for FX3, the bootloader is way lesser than 32KB in release version.

 

hope this helped you out...

regards,

lumpi



Re: the img size and 24lc256 eeprom

wudpeker posted on 22 Nov 2012 05:58 PM PST
Member
9 Forum Posts

I see, thank you. I am going to change it to 24LC1024.






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.