Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > programming with miniprog3

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



programming with miniprog3
Moderator:
RKRM

Post Reply
Follow this topic



programming with miniprog3

KMoe posted on 29 Jul 2011 12:52 PM PST
Member
4 Forum Posts

Hello everyone!

I am trying to use the MiniProg3 to program my PSoC3, CY8C3245PVI-134.  I have the programmer settings set to 5-pin SWD programming at 3.3V, Auto-Dectection on, and Power cycle mode with a clock speed of 1.6MHz.  My programmer software is the most recent version.  I have had nothing but problems.

First off, when told to program the chip, the Auto-detect doesn't work so I have to manually set the device chip.  Even after this, it never powers up the device, fails, and most times disconnects from the computer, causing the programmer software to occasionally crash.  I've even tried programming through the  Creator IDE, same thing happens.  

My next try was to attempt the Reset programming mode and having the device externally powered, I have a little more success with that.  Occasionally the Auto-detect works, and it will erase the device and attempt to program the flash, but everytime it is followed by this Failure message:

FAILED! SWD respond packet contains Failed status!

Anyone have any idea what is going on?  I've tried contacting Tech Support via both email and phone and they are just too slow to respond.  I'm going to try to program with the JTAG next.

Ah, one more thing.  I went back to a PSoC 1 device that I know can be programmed with a MiniProg1, when attempting to program it with the MiniProg3, which claims to be able to do so, I get the same disconnection or just failure to program problems, thinking it just might be a bad programmer I bought another one, but all my problems persist.  Please help!




Re: programming with miniprog3

KMoe posted on 30 Jul 2011 07:02 PM PST
Member
4 Forum Posts

 Well, I have now tried programming this PSoC3 using JTAG with the 10-pin connector and SWD with both 5 and 10-pin connectors.  These are the following failures I get from both:

JTAG:  FAILED! Timeout of SPC polling. Lost communication with chip (Status = 0x80)

SWD:  FAILED! SWD respond packet contains Failed status!

Can someone please tell me what's going on?  Is there something in software I'm missing?  Some component in Creator that I am not aware of?

 



Re: programming with miniprog3

vvsk posted on 02 Aug 2011 02:47 AM PST
Cypress Employee
25 Forum Posts

Hi,

I wanted to point out a few things. From the part number, it seems you are using 48-pin SSOP. As you know for 48-pin SSOP devices, P1[2] is the only pin available for XRES and you have to be careful that you dont change the functionality of that pin from XRES pin to GPIO pin. This is given as option "Use Optional XRES" in PSoC Creator cydwr file.

If you program data that disables the P1[2] as XRES, then you can program the part only by Power cycle mode. Unfortunately, the current Miniprog3 does not support Power cycle mode. Please refer the KB article www.cypress.com/  (http://www.cypress.com/?id=4&rID=45570) for details on this.

With these information, the reason for your failure might as well be that you are programming NVL data that disables P1[2] as XRES. The easiest way to find this is if you can attach your hex file used to program PSoC 3. If the information is confidential, please email hex file to VVSK@cypress.com (it is 2 V's and not W in email id) and I will confirm this.

Thanks,

Vivek






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