Programming a general PSoC3/5 DIP device

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 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? 

0 Likes
8 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Anonymous
Not applicable

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.

   
0 Likes
Anonymous
Not applicable

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

   

0 Likes
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

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

   
   

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

0 Likes
Anonymous
Not applicable

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

0 Likes
Anonymous
Not applicable

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.

0 Likes