Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > PSoC 5 Miniprog Programming works, but Bootloader Host does not

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



PSoC 5 Miniprog Programming works, but Bootloader Host does not
Moderator:
ANCY

Post Reply
Follow this topic



PSoC 5 Miniprog Programming works, but Bootloader Host does not

Scott D. posted on 15 Oct 2012 10:25 AM PST
Member
3 Forum Posts

 Hi All - 

Ran into a problem where programming my PSoC 5 works when programming from the Creator 2.1 environment over the miniprog, but fails when I program with a USB bootloader host application (both mine and the tool supplied with Creator 2.1). Digging in, the failure from CyWriteRowFull indicates CYRET_LOCKED.

The failure occurs on ArrayID 1, row 176. Coincidentally (actually,  not..), when programming from Creator using the miniprog, the programming pauses for about 1/2 second at block 452 (452-176 = 256 -- Array Id 1, row 176...).

We have dozens of units that program without issue, and two that present with this problem. All have the same bootloader.

Any ideas? 

Thanks!




Re: PSoC 5 Miniprog Programming works, but Bootloader Host does not

vvsk posted on 15 Oct 2012 10:56 AM PST
Cypress Employee
25 Forum Posts

Scott,

1.) If you have another PSoC 5 device, you can use the HSSP project provided in AN73054 at http://www.cypress.com/?rID=57435 to find out what exactly is the error code. The code in this AN uses a PSoC 5 as a programmer (like Miniprog3) to program the target PSoC 5 or PSoC 3 device. The code is modular enough for you to go in to the lower level and find the failure status.

2.) Also, I would recommend that you file a tech.support case to get this resolved as well. This would help us in identifying if this is a flash memory issue at the technology level for the device under consideration.

 

Regards,

Vivek



Re: PSoC 5 Miniprog Programming works, but Bootloader Host does not

Scott D. posted on 15 Oct 2012 11:55 AM PST
Member
3 Forum Posts

 Thanks Vivek - 

I will look into the appnote you suggested, and, after I look into a couple more things, will create a ticket as well.

One note - I have just rebuilt my application using the Creator 1.0 and loaded the bootloader using the miniprog. Using the same bootloader host application, I sucessfully programmed the device. Reprogrmming with the bootloader built with Creator 2.1, then programming the application with the Bootloader Host still failed as before.

 

Regards,

    - scott



Re: PSoC 5 Miniprog Programming works, but Bootloader Host does not

Scott D. posted on 15 Oct 2012 02:10 PM PST
Member
3 Forum Posts

 My last post is probably not relevant - I am finding that the failure appears to be data related.

Manually changing the record at that row I can force the programming to either pass or fail. For example, programming the row with all 0, 0xFF, or 0x55 completes sucessfully, Programming only the first byte with 0xA0, and the remainder of the row with 0x00 fails as previously indicated. 

I will submit a ticket for this. If I get a resolution, I will update this post. Thanks.






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