Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > example of code banking for FX/FX2

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



example of code banking for FX/FX2
Moderator:
RSKV

Post Reply
Follow this topic



example of code banking for FX/FX2

pascalschwartz posted on 04 Oct 2009 6:40 AM PST
Member
5 Forum Posts
Hi,
Does any one have example for "Code banking" i have FX2 (up to 16k code/data) with flash (24LC64) of 64 kb how can i use the maximum the 64k of the flash?
pascal



Re: example of code banking for FX/FX2

aasi posted on 04 Oct 2009 08:24 PM PST
Cypress Employee
1090 Forum Posts
FX2LP 128 pin version is capable of working with external memory and can support code up to 64KB... why do you want to go for code banking when your code size is much smaller than that??

Re: example of code banking for FX/FX2

pascalschwartz posted on 05 Oct 2009 10:53 PM PST
Member
5 Forum Posts
1. the FX2 has 16 KBytes of On-Chip Code/Data RAM when the code is getting bigger then that i getting error from keil *** ERROR L107: ADDRESS SPACE OVERFLOW.
2. for the FX2 with 64k flash how i can code over the 16k limit without code banking?
3. we have the small flash of 64k But we going to upgrade to 1M flash AM29LV010B for future expansion of the code that should be very large.
Thnaks

Re: example of code banking for FX/FX2

aasi posted on 05 Oct 2009 02:26 AM PST
Cypress Employee
1090 Forum Posts
How is this 64k flash connected to FX2 in your design???
If you download the DVK, you can notice in the schematic that FX2 is connected to a SRAM and uses it as external memory and in this kind of operation it can theoretically have a firmware of size 64k...
Keil tool chain is capable of generating code banked firmware... what i'm confused is whether you are actually using a serial interface and downloading code to internal RAM from time to time and trying to achieve code banking or are you using a parallel interface and want to code bank it....




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: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20