Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > USBUART Bootloader

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



USBUART Bootloader
Moderator:
ANCY

Post Reply
Follow this topic



USBUART Bootloader

bkphat posted on 06 Jan 2013 1:47 PM PST
Senior Member
13 Forum Posts

 Hi - I've been trying to develop a bootloader based on the USBUART component. I need the UART capability for something else before the actual bootload starts. I'm having some difficulties getting it to work. I started with the UART bootlaoder example, and even compiled the C# software for the bootloader host. I keep getting an error when I try to read the size of the flash, which is part of the overall bootloading procedure. I think this could be for a number of reasons, so I'm here to ask a few separate questions:

1) Is there any sample code for using USBUART for bootloading?

2) I notice Psoc Creator supports UART bootloading now, but not USBUART. Is there a way to do this easily? The Bootloader host does not seem to recognize the USBUART component either.

3) Alternatively, I could use USBUART when my core program starts, and the simply switch to USB bootloading, since that already works for me. Is there a way to disabple the USBUART component once I'm done using it, and then tell the componentto act as a genral USB? I can't have both USB and USBUART on the same schematic since they both require the same pins on the PSoC5.

Thank you,

bk




Re: USBUART Bootloader

Bob Marlowe posted on 07 Jan 2013 03:58 AM PST
Top Contributor
1768 Forum Posts

I am not quite sure whether you are re-inventing the wheel, but in Creator 2.2 there is an USBUART module that works together with the Bootloader component without any modifications. So the question is: What are you trying to implement?

 

Happy coding

Bob






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