Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > CYUSB3011 Memory Map and linker files

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



CYUSB3011 Memory Map and linker files
Moderator:
RSKV

Post Reply
Follow this topic



CYUSB3011 Memory Map and linker files

fw2013 posted on 26 Jan 2013 11:08 AM PST
Member
3 Forum Posts

 

We are using the CYUSB3011 part (has 256KB instead of 512KB) and need the memory map of these 256 KBytes.  A linker file for this part would help solve this mystery as well.

I know there is RAM at 0x40078000 which is where the Boot firmware gets located.  Since this is at 490Kish above the start of the System RAM, I'm wondering what the exact memory map looks like between 0x4000000 and 0x40080000 for this part number.

It's not in any data sheet, app note or code example that I can find.




Re: CYUSB3011 Memory Map and linker files

fw2013 posted on 27 Jan 2013 04:14 PM PST
Member
3 Forum Posts

 Solved my own problem.  Here are the details for those that need to know:

The example project files for downloadable applications are all setup for the 512KB parts.  

The parts of RAM that are used by these apps, where the definition is and what to change for 256K parts is:

CODE: start 0x40003000 defined in ...firmware\common\fx3.ld stays the same

DATA: start 0x40030000 defined in ...firmware\common\fx3.ld changes to 0x40020000 (2 places)

HEAP: start 0x40038000 defined in cyfxtx.c in the project directory changes to 0x40028000

A define CY_U3P_SYS_MEM_TOP sets the top of RAM and needs to change from 0x40078000 to 0x40040000.

DMA BUFFERS location and size are automatically calcluated from the above settings based on what is left over.

 

These changes give the following size for the various sections:

CODE length 0x1D000 (116K)

DATA length 0x8000 (32K)

HEAP length 0x8000 (32K)

DMA BUFFERs length 0x10000 (64K)

 

Now your only job is to make everything fit inside those limits or move them around again to make it fit!



Re: CYUSB3011 Memory Map and linker files

RSKV posted on 28 Jan 2013 12:22 AM PST
Cypress Employee
655 Forum Posts

Hi,

Thanks for updating this thread after your problem is solved.

Thanks,

sai krishna.



Re: CYUSB3011 Memory Map and linker files

fw2013 posted on 06 Feb 2013 02:34 PM PST
Member
3 Forum Posts

Now we are having issues with the newest 1.2.2 boot firmware on this part.

Our tests conclude that the library cyfx3_boot.a expects the part to be a 512K part.

Has anyone gotten the 1.2.2 boot_fw to enumerate on the CYUSB3011 part?  If so, how?






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.