Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > FX2LP can attached 24LC1025 as Boot e2prom(C2 load mode)?

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



FX2LP can attached 24LC1025 as Boot e2prom(C2 load mode)?
Moderator:
RSKV

Post Reply
Follow this topic



FX2LP can attached 24LC1025 as Boot e2prom(C2 load mode)?

davidwang posted on 06 Sep 2012 8:00 PM PST
Top Contributor
24 Forum Posts



Re: FX2LP can attached 24LC1025 as Boot e2prom(C2 load mode)?

Gayathri posted on 07 Sep 2012 10:43 PM PST
Cypress Employee
428 Forum Posts

 Hi david,

 

Current firmwar framework for FX2LP supports only upto 64kB EEPROM ((i.e. with 16 bit internal address). Whereas, if you modify the firware handling the I2C addressing, itseems possible. But anyhow, the internal RAM of FX2LP is only 16kB right? Even if you are using external RAM, it can only upto 64kB. I do not understand why you want 128kB EEPROM? If the case is like, the firmware that you will load inside 128kB EEPROM will be of smaller size (< = 64kB with external RAM, or else < = 16kB), then I think it might be possible. But I cannot assure you unless it is tested. Please create a tech support case at www.cypress.com so that one of engineers can test and understand the feasibility for the same.

 

Regards,

Gayathri



Re: FX2LP can attached 24LC1025 as Boot e2prom(C2 load mode)?

davidwang posted on 07 Sep 2012 02:00 AM PST
Top Contributor
24 Forum Posts

In fact, I use CY7C68013A in my project, when I select C2-load mode, hardware boot loader copy only 16K bytes in E2prom(24L256)into internal 16K XRAM and CODE space(0x0000~0x3fff). if code size is less than 16K Bytes, it is ok. but my code size is bigger than 16K bytes, so I have to make my project into two hex file, the code size of 1st hex file is less than 16K bytes(0x0000~0x3fff), the 2nd hex file is located from0x4000~0xDFFF(40K bytes).

When the 1st code segment is loaded into internal 16K from I2C eeprom, FX2LP boots up and call TD_Init(), add my copy code:it will continue to read code data from eeprom and copy it into 0x4000~0xDFFF(movx inst).

Of course,I attached one 64K SRAM with FX2LP, SRAM RD <---> FX2LP OE(RD and PSEN),SRAM CS <--->FX2LP CS. EA = 0. So, one unified space(0x4000~0xDFFF,XDATA and CODE) is added.

I think this method can solve the bigger code code size case(>16K bytes) and can still work at C2 load mode.

As for bigger eeprom, more than 64K bytes, such like 24LC1024, I want to strore FPGA code in the same eeprom.

I want to know, hardware boot loader also call those three I2C function code(EEPROMWriteBytem,EEPROMWrite,EEPROMRead) in perpherial.c?

 

 



Re: FX2LP can attached 24LC1025 as Boot e2prom(C2 load mode)?

davidwang posted on 09 Sep 2012 07:43 PM PST
Top Contributor
24 Forum Posts

 anybody can answer this question?



Re: FX2LP can attached 24LC1025 as Boot e2prom(C2 load mode)?

Gayathri posted on 10 Sep 2012 02:03 AM PST
Cypress Employee
428 Forum Posts

 Hi David,

 

This might be of use to you http://www.cypress.com/?id=4&rID=33394. i.e. I believe in your firmware implement vendor command, as in vend_ax to write from EEPROM to external RAM. Please create a tech support case. One of our engineers can help assist you in your application.

 

Regards,

Gayathri






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.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20