Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > EEPROM write on AT24C1024B-TH(1Mb)

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



EEPROM write on AT24C1024B-TH(1Mb)
Moderator:
RSKV

Post Reply
Follow this topic



EEPROM write on AT24C1024B-TH(1Mb)

yasu2012 posted on 27 Sep 2012 9:00 PM PST
Member
2 Forum Posts
I tried to write 100kB boot img on 1Mb EEPROM(AT24C1024B-TH) by CyControl.exe but, it failed. Are there any mistake about my process? I show several matters as shown bellow. 1. 27kB boot img (Fx3BootAppGcc.img), it succeeded to write. 2. I changed compile mode from Debug to Release on creating USBBulkLoopAutoEnum.img because that file is 130kB on Debug mode. 3. I tried to write 100kB(USBBulkLoopAutoEnum.img) same way as 27kB (Fx3BootAppGcc.img), but it failed after about 10 seconds waiting. I think size of EEPROM is enough to be written, because AT24C1024B-TH is 1Mb(128kB) and I tried to write 100kB file. Additional info is here. a. A0 pin of AT24C1024B-TH is NC b. A1 and A2 pin of AT24C1024B-TH is Pull-down with 3.3k ohm. If someone has experience to write AT24C1024B-TH on FX3 board, please advise me...


Re: EEPROM write on AT24C1024B-TH(1Mb)

RSKV posted on 28 Sep 2012 04:40 AM PST
Cypress Employee
655 Forum Posts

Try the following thing:

Copy the .elf file to the folder where elf2img.exe is present.

Open a command prompt (Start --> Run --> cmd). Go to the elf2img folder (in my case: C:\Cypress\FX3 SDK\util\elf2img) in the command prompt. Then give the following command:

elf2img.exe -i USBBulkLoopAutoEnum.elf -o USBBulkLoopAutoEnum.img 0x0C 0xB0 -vectorload yes

Here I am assuming the name of the .elf file as USBBulkLoopAutoEnum.elf. In your case it might be a different one.

After running the above mentioned command it will output a .img file. Use that .img file to program the EEPROM.

Thanks,

sai kirshna.






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.