You are here

Small PSOC 4000 family help ! ! ! | Cypress Semiconductor

Small PSOC 4000 family help ! ! !

Summary: 6 Replies, Latest post by Bob Marlowe on 01 Oct 2016 07:29 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
ephitran_1914216's picture
User
3 posts

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

 

 

 

user_1377889's picture
User
10699 posts

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

ephitran_1914216's picture
User
3 posts

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

user_242978793's picture
User
1456 posts

Here is the PDF on the MiniProg 3.

ephitran_1914216's picture
User
3 posts

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!

user_242978793's picture
User
1456 posts

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.

user_1377889's picture
User
10699 posts

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

 

Bob

Log in to post new comments.