Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > i2c eeprom bootimage build

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



i2c eeprom bootimage build
Moderator:
RSKV

Post Reply
Follow this topic



i2c eeprom bootimage build

jkt posted on 02 Aug 2012 4:19 PM PST
Member
7 Forum Posts

 Hi,

I am using FX3, and I am new to Eclipse IDE.

sorry for simple question on IDE.

For me the USB booting is working, I am able to test BulkLoopTest with "Control Center" application.

here I try to boot from I2C EEPROM. 

From the thread, I understand that we need to change the i2c conf in the elf2img application, for creating the boot image for i2c support.

http://www.cypress.com/?app=forum&id=167&rID=62035 

In Eclipse, I created new project and tried compilation for this but it throws warning and no elf file created.

But for the other projects those I import are built and created.

1. how to compile on this?

2. how to create the img file using the elf2img application? 

FYKI, I have checked the PMODE pins for I2C booting.

rgds,

jk

 




Re: i2c eeprom bootimage build

RSKV posted on 02 Aug 2012 08:00 PM PST
Cypress Employee
655 Forum Posts

Hi,

What is the part number of the I2C EEPROM that you are using?

Regards,

sai krishna.



Re: i2c eeprom bootimage build

jkt posted on 02 Aug 2012 09:39 PM PST
Member
7 Forum Posts

 hi,

its 32K Microchip part; (I need to check the part number).

what about the compilation and building the image?

rgds

 



Re: i2c eeprom bootimage build

RSKV posted on 02 Aug 2012 09:57 PM PST
Cypress Employee
655 Forum Posts

 Hi,

.img file will be created automatically when you built the project.

You mentioned that you are able to build the "BulkLoopTest" project and you downloaded the .img file from the USB port.

You can use the same .img file to programm the I2C EEPROM. If the EEPROM is not the recommended type then only you have to use the elf2img to change the header in the .img file. If you can provide me the part number then I will tell you whether you need change the header or not.

You are saying that you are using a I2C EEPROM of 32KB. Please check the size of the .img file that you are going to download. I don't think it will fit in to 32KB size EEPROM.

Regards,

sai krishna.



Re: i2c eeprom bootimage build

jkt posted on 03 Aug 2012 11:24 PM PST
Member
7 Forum Posts

 Dear Sai,

thanks for the info; The part number is 24LC256 - 256Kbit EEPROM.

regards,

jk



Re: i2c eeprom bootimage build

RSKV posted on 03 Aug 2012 12:21 AM PST
Cypress Employee
655 Forum Posts

We have tested with the 24FC1025. If you are using this EEPROM then you don't have to do any changes to the .img file using elf2img.exe

Thanks,

sai krishna.



Re: i2c eeprom bootimage build

jkt posted on 03 Aug 2012 10:01 AM PST
Member
7 Forum Posts

 for a image file size of 130 KB how you have flashed that in your EEPROM?

Yours is 128KB size, so you use multiple devices?

-jk



Re: i2c eeprom bootimage build

RSKV posted on 03 Aug 2012 08:00 PM PST
Cypress Employee
655 Forum Posts

You might be checking the debug version of the image file.

You may want to try with the release version of the image file. It will be of smaller size.

Thanks,

sai krishna.



Re: i2c eeprom bootimage build

jkt posted on 04 Aug 2012 10:03 PM PST
Member
7 Forum Posts

 Even I have tested with Release - option, but no luck



Re: i2c eeprom bootimage build

RSKV posted on 04 Aug 2012 04:53 AM PST
Cypress Employee
655 Forum Posts

 Hi Jk,

What do you mean by no luck with the release version.

Please give more details on the behavior that you are seeing.

Regards,

sai krishna.



Re: i2c eeprom bootimage build

Chris R. posted on 04 Aug 2012 01:34 PM PST
Top Contributor
135 Forum Posts

The EEPROM you are using is much too small for the FX3 firmware. You have to use at least one 1024kBit EEPROM, as the firmware is about 130kByte in size. If you compile with release option the firmware mostly will fit into one 1024kBit EEPROM, with debug option you will need two chips.



Re: i2c eeprom bootimage build

jkt posted on 06 Aug 2012 10:18 AM PST
Member
7 Forum Posts

 Hi Chris,

thanks for the info. I am in process updating the board with bigger EEPROM.

Hi Sai,

I meant that even selecting "Release" option, I am not able to fit in current EEPROM and so, the size of EEPROM is about to increased.

 

thanks and regards

 






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.