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

PSoC™ 4 Forum Discussions

Anonymous
Not applicable

Trying to build progamming circuit that will work with MiniProg3  and 10 pin mini header (FTSH-105-01--l-DV-K). But the circuit has pins connected to the Psoc5(which I will not have) and ZERO ohm resistors that are confusing me. What is there purpose do i need them?

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

You may use the ISSP connection of the miniprog3 to program and debug the PSoC4 directly. No need for any circuitry, just connect.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

   

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

   

 

   

what the difference between SWD and ISSP circuits?

   

   

 

   

where can i find and example of ISSP circuit?

0 Likes
Anonymous
Not applicable

 The image you posted contains the most simple circuit needed to program a psoc4 using a miniprog3 using the  5pin connector. Just remove all the resistors marked as "No Load" and connect the connector pins to the psoc.

0 Likes
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

ISSP is for PSOC 1 programming.

   

 

   

This page, the guide, will explain all things Miniprog3 and programming interfaces.

   

 

   

    

   

          www.cypress.com/?rID=38154

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

0 Likes
Anonymous
Not applicable

I would like to use the 10 pin header because i already went thorugh the trouble of making a footprint for it in altium. It says in this datasheet (http://www.cypress.com/?docID=44358) I can connect the10 pin header and use it with the 5 pin SWD protocol.

   

I am having trouble understanding the picture below.

   

   

 

   

What is Table 3-2 talking about?  Are "Signal" pins on the psoc4 or programmer ?

0 Likes
Anonymous
Not applicable

Signal pins on the 5pin and 10 pin conector. If you just want to use SWD jus wire the correspondinf SWD pins from the connector to the psoc4 plus vcc and gnd

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

Look at the schematics for the CY8C049-42xx prototyping kit. I am currently programming it with a miniprog 3 using the 5-pin header. Even the debugging works. I have to correct the word "ISSP"-interface to "SWD"-interface but they are pin-compatible.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

Maybe this will help -

   

 

   

    

   

          http://www.cypress.com/?rID=81013     AN84858

0 Likes
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

This as well -

   

 

   

    

   

          http://www.cypress.com/?rID=78468

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

So im guessing for 5 pin SWD programming connection are

   

MiniProg3    Psoc4

   

VTARG    ---> 3.3v

   

GND        ---> GND

   

XRES      ---> XRES

   

SCLK      ---> SWDCLK

   

SDAT      ---> SWDIO

   

 

   

And for 10 pin connection I think this is what table 3-2 is talking about

   

MiniProg3    Psoc4

   

XRES     ---> XRES

   

TDI         ---> OPEN

   

TDO       ---> OPEN

   

TCK       ---> SWDCLK

   

TMS       ---> SWDIO

   

VTARG  ---> 3.3v

   

GND     ---> GND

0 Likes
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

The pins on the minprog are (the right hand pins labeled in white bottom pic) -

   

 

   

0 Likes
ETRO_SSN583
Level 9
Level 9
100 sign-ins 5 likes given 1000 replies posted

Maybe I am getting confused, I think RST, TDI, TDO, TCK,TMS are

   

concerning JTAG, so its the pins labeled to right you want to use.

   

VTARG, GND, XRES, SCLK, SDAT.

   

 

   

Maybe you should file a case on this and let forum know what you found out -

   

 

   

    

   

          

   

To create a technical case at Cypress -

   

 

   

www.cypress.com

   

“Support”

   

“Technical Support”

   

“Create a Case”

   

 

   

You have to be registered on Cypress web site first.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

So are the configurations I put up right?

0 Likes
Anonymous
Not applicable

I called the support line for cypress. This is what they said would be the right configuration.

   

0 Likes
SaWa_284216
Level 4
Level 4

This is the arrangement I use

   

0 Likes
SaWa_284216
Level 4
Level 4

 XRES goes to VDD through a 4.7k resistor, I made it from the PSoC 4 Pioneer board and it has worked fine in my recent designs

0 Likes