Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > 5 pin vs 10 pin programming

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



5 pin vs 10 pin programming
Moderator:
RKRM

Post Reply
Follow this topic



5 pin vs 10 pin programming

kypparila posted on 23 Mar 2012 1:42 PM PST
Senior Member
16 Forum Posts

On my psoc 3 prototype I am currently using a 10 pin connector with the mini prog 3 for development. For production I would prefer to use a less expensive 5 pin connector to program the boards using the 5 pin connector on the mini prog 3 rather than the 10 pin one. Will this work ok or will there be problems?




Re: 5 pin vs 10 pin programming

U2 posted on 26 Mar 2012 02:12 AM PST
Cypress Employee
589 Forum Posts

Yes this will certainly work. You need to have the following pin connections between PSoC and minirprog3 for that.

P1[0] --> SWDIO

P1[1]--> SWDCK

VDDIO1,VDDA,VDDD -->Vtarg

XRES --> XRES

and Common ground.



Re: 5 pin vs 10 pin programming

kypparila posted on 28 Mar 2012 08:05 PM PST
Senior Member
16 Forum Posts

Thanks, does the miniprog3 also support single wire debug through the 5 pin connector? I'm guessing that it will since it uses the same pins for programming.



Re: 5 pin vs 10 pin programming

Gautam Das posted on 28 Mar 2012 09:20 PM PST
Cypress Employee
742 Forum Posts

Hi Kypparila,

Serial Wire Debug (SWD) is supported by both the 5-pin and the 10-pin connectors available on the miniprog3. Single Wire Viewer (SWV) is supported through 10-pin connector.

This is documented in the Miniprog3 User Guide. Here is the excerpt from the user guide:

"MiniProg3 supports programming and debugging PSoC 3 and PSoC 5 devices, using SWD, through the 5-pin or 10-pin connector.

The Single Wire Viewer (SWV) interface, also introduced by ARM, is used for program and data monitoring, where the firmware may output data in a method similar to “printf” debugging on PCs, using a single pin. MiniProg3 supports monitoring of PSoC 3 and PSoC 5 firmware, using SWV, through the 10-pin connector and in conjunction with SWD only."

The user guide can be found here www.cypress.com/?docID=29029



Re: 5 pin vs 10 pin programming

kmmankad posted on 29 Mar 2012 04:11 AM PST
Top Contributor
268 Forum Posts

Yes,the 5pin connector will easy work.Take a note of the connections U2 mentioned.

Also,while making the PCB,keep enough space around the connector so that you can easily insert the miniprog..Just something I had kept in mind while making my psoc designs..



Re: 5 pin vs 10 pin programming

U2 posted on 30 Mar 2012 11:24 PM PST
Cypress Employee
589 Forum Posts

I have done the same mistake which kmmankad has told. Keep some space aroung the programming header. Also, if you have a reset source on your board from a source other than Miniprog, try to have a diode that isolates the connection from your Miniprog and the connection from the other reset source. You don't want random resets on your XRES pin. Also, have a pullup pn the XRES Pin.



Re: 5 pin vs 10 pin programming

kmmankad posted on 31 Mar 2012 03:00 AM PST
Top Contributor
268 Forum Posts

@U2 : external pullup on XRES? But its already internally pulled up,right? ..






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