Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > SPI boot

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



SPI boot
Moderator:
RSKV

Post Reply
Follow this topic



SPI boot

Lumpi6 posted on 04 Dec 2012 12:41 AM PST
Top Contributor
183 Forum Posts

Hi,

is it possible to when using a bootloader in a SPI flash and then setup the application in 32-bit mode that the UART is still available and the SPI can be accessed?

thanks

lumpi




Re: SPI boot

RSKV posted on 04 Dec 2012 01:01 AM PST
Cypress Employee
655 Forum Posts

Hi Lumpi,

I don't think I understood your question clearly.

Let me tell you what I undertood from that.

You are keeping your .img file in the SPI flash so that FX3 can load the code from it when you power the device.

Once the code is loaded into FX3's RAM you want to configure the GPIF II interface to 32-bit and also want to use UART.

This can be done without any problem.

Please let me know if my understanding is wrong.

Thanks,

sai krishna.



Re: SPI boot

Lumpi6 posted on 04 Dec 2012 01:52 AM PST
Top Contributor
183 Forum Posts

Hi,

thanks. I like to put a small bootloader into the SPI flash and also append an application then. The bootloader loads the application into SRAM and then the application starts and it is setup in GPIF 32bit mode. You understand?

The UART in GPIF 32bit mode is at the same pins as the SPI (UART TX is connected to SPI MISO!!!!). So if I like to transfer SPI, then I have to switch between UART and software SPI? Would this be possible?

Sometimes application needs to save user specific informations in SPI flash and also get that information while application is running.

regards,

lumpi



Re: SPI boot

Lumpi6 posted on 04 Dec 2012 07:52 AM PST
Top Contributor
183 Forum Posts

Hi,

Sometimes out running application needs to save user specific informations in SPI flash and also get that information while application is running. So in this time if I need the SPI falsh I may switch off the UART peripheral and activate softwareSPI?

regards,

lumpi



Re: SPI boot

RSKV posted on 05 Dec 2012 04:43 AM PST
Cypress Employee
655 Forum Posts

Hi Lumpi,

Yes. It should be possible as you described above.

Thanks,

sai krishna.

 



Re: SPI boot

Lumpi6 posted on 06 Dec 2012 11:12 PM PST
Top Contributor
183 Forum Posts

Hi Sai Krishna,

thank you, great.

lumpi



Re: SPI boot

Lumpi6 posted on 06 Dec 2012 11:13 PM PST
Top Contributor
183 Forum Posts

Hi Sai Krishna,

thank you, great.

lumpi






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.