cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

I am trying to migrate from Atmel to Cypress.

   

I use: PSOC 4000 SOIC-8 package; which contains 8 Pin:

   

 

   

Pin:      function:

   

1          SWD Clock

   

2,6,7    GPIOs

   

3 -      VCC

   

4         VDD

   

5        VSS

   

8         SWD I/O

   

It's very confused to cross reading  the MINIPORG3 datasheet and the PSoc 4000 datasheet.... I got stuck. . . . unable to program????

   

At this time I try to use the power supply from the MINIPROG3.

   

I am able to 'build' a simple LED lit . . .But to program the chip??

   

*******

   

What is the minimum configuration of the connections between the MINIPORG3 & the PSoc for I can get the MCU programmed.

   

********

   

 

   

****Please Help!******

   

Please ! Please!

   

 

   

PT

0 Likes
Reply
6 Replies
Esteemed Contributor II

Welcome in the forum!

   

You need (as written on the Miniprog3) Vcc , Gnd, XRes, swd  and scl. Since your chip hasn't got an xres pin, you need to specify for your miniprog setup to use "Power cycle" mode to gain control over the PSoC chip. Supply voltage must come from Miniprog3.

   

Care for using latest Programmer (3.25.0) and update the Miniprog firmware to latest using the Programmer.

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

Thanks Bob for quick answer:

   

I have 3 questions:

   

- You say SWD: Do you mean its is the SWD I/O of the PSOC?

   

- Do I need to short the VCC & VDD; On the PSO side: ?

   

- I bet the VCC of the PSOC is connected to the VTARG of the MINIPROG3?

   

Or

   

how can I get the Power from the MINIPROG3? Its document says the device can supply the power to the target

   

but do not say from what pin or has any place marked as  VCC ? ????

   

 

   

Thanks

   

PT

0 Likes
Reply
Honored Contributor II

Here is the PDF on the MiniProg 3.

0 Likes
Reply
Anonymous
Not applicable

It's easy to say "read the material . . . . . ."

   

You are death wrong . . . . Please do not teach the wrong.

   

For the benefit of other readers.

   

This is the minimum connection to make it works:

   

(1) Using power cycle.

   

(2) USing 5 pin header of the MINIPrOG3

   

MINIPROG3    ---->         PSOC

   

GRND            ---->      GRND

   

VTARG          ----->     VDD - not the VCC as BOB said

   

SCLK             ---->      SCL

   

SDAT           ---->         SWD I/O  or SWD_IO

   

On the PSOC:

   

VCC------|| (0.1uf) ---->GRND -- Without this it will give you an error - Failed to erase flash.

   

Then here it's GOOD!

0 Likes
Reply
Honored Contributor II

Who was wrong Bob Marlowe or bobgoar? I always send the manual as you may need to read it on other issues. By the way it is Dead wrong not death wrong.

0 Likes
Reply
Esteemed Contributor II

I was wrong because I assumed that VDD and Vcc are always connected while programming.

   

 

   

Bob

0 Likes
Reply