Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Programming a general PSoC3/5 DIP device

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



Programming a general PSoC3/5 DIP device
Moderator:
ANCY

Post Reply
Follow this topic



Programming a general PSoC3/5 DIP device

Prasanna posted on 10 Jan 2012 5:38 AM PST
Top Contributor
45 Forum Posts

 hi ,


  can any body help me regarding programming a PSoC 3/5 device using Miniprog 3. specifically i have the following queries.


>The JTAG port pinout on the miniprog lists some 6 pin names what are the corresponding pin numbers/pins on the PSoC IC?


for example the pinout of a PSoC 5 IC given in this document http://www.cypress.com/?docID=31913


does not show the names except Vddio for VTARG as given in the 10 pin connector pinout in this page http://www.cypress.com/?docID=31913  .


 


>Is there any board supplied by cypress for PSoC3/5 similar to the MiniEval board for the PSoC 1 devices, so that i can connect the miniprog3 JTAG connector to that board to program any DIP packaged ICs? 




Re: Programming a general PSoC3/5 DIP device

Bob Marlowe posted on 10 Jan 2012 07:18 AM PST
Top Contributor
1768 Forum Posts

you may get the Processor-Modules for PSoc 1, 3 and 5 which are provided with the Cy8CKIT-001 separately, burt for PSoC 3 and 5 there are no DIP-packages afaik. The modules have got a JTAG and a SWD-interface, so that you can not even program them, you can single-step, watch variables and set breakpoints with the PSoC creator-program.

Bob



Re: Programming a general PSoC3/5 DIP device

kmmankad posted on 10 Jan 2012 08:09 PM PST
Top Contributor
268 Forum Posts

The JTAG pins are : (these pin numbers are universal across all PSoC 3/5)

TMS,SWDIO - P1[0]

TCK,SWDCK - P 1[1]

Configurable XRES# - P1[2] (pin 15 is a dedicated XRES also,but thats only in this)

TDO,SWV- P1[3]

TDI - P1[4]

nTRST-P1[5]

about your other query,there is no PSoC3/5 in DIP packages.You would need to use a socket or some other such costly gang programming equipment.




Re: Programming a general PSoC3/5 DIP device

kmmankad posted on 30 Mar 2012 12:06 AM PST
Top Contributor
268 Forum Posts

Prasanna,

I have made a simple single sided PSoC3 board that you could make yourself using PCB-Toner Transfer method in under an hour.

It uses the 48 pin SSOP package,but thats the only thing on the board which is tricky to solder.It can be programmed with the 5pin connector of MiniProg3,and is best used with a USB Bootloader.

Check it out here - http://www.psocdeveloper.com/forums/viewtopic.php?f=42&t=8096&p=38160#p38158



Re: Programming a general PSoC3/5 DIP device

kmmankad posted on 30 Mar 2012 12:09 AM PST
Top Contributor
268 Forum Posts

Just simply swapping the SMD passives for through hole ones will give you a simple through hole version as well.

Very little re-arrangement is required.Also,I've kept longer pads(3x the regular length) so that soldering the SSOP is much easier for beginners even with a thick tipped iron and no flux or magnification.



Re: Programming a general PSoC3/5 DIP device

U2 posted on 02 Apr 2012 09:57 PM PST
Cypress Employee
589 Forum Posts

JTAG interface can either be a 4-wire interface or a 5-wire interface. If you intend to use JTAG following Pins will be required. 

TMS - P1[0]

TCK - P 1[1]

TDO - P1[3]

TDI - P1[4]

nTRST-P1[5] (Required for 5 wire JTAG only)

GND

 

Also note that at present JTAG programming and debugging is suported through Miniprog3 and selected few 3rd party programmers. Not all JTAG programmers can be used for programming PSoC3 devices. However, any standard JTAG device can be used to perform boundary scan.

 

For SWD programming and debugging you will need the following connections.

 

SWDIO - P1[0]

SWDCK - P1[1]

VTARG(on Miniprog3) - VDDIO1

XRES

GND

 

kmmankad, that is a neat looking PCB.



Re: Programming a general PSoC3/5 DIP device

U2 posted on 03 Apr 2012 10:00 PM PST
Cypress Employee
589 Forum Posts

 Please refer the PSoC3 device programming specification for any query on programming PSoC3 via JTAG or SWD.


http://www.cypress.com/?docID=31397



Re: Programming a general PSoC3/5 DIP device

U2 posted on 03 Apr 2012 10:00 PM PST
Cypress Employee
589 Forum Posts

 Also refer this page to get general information on PSoC programming, http://www.cypress.com/?rID=2543



Re: Programming a general PSoC3/5 DIP device

kmmankad posted on 20 Apr 2012 07:44 AM PST
Top Contributor
268 Forum Posts

Just adding a bit of my experience,if it says it cant acquire the device,its mostly due to some issue with the power rails.Make sure you comply with the requirements mentioned in the above linked appnotes.






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