Small PSOC 4000 family help ! ! !

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

cross mob
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
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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
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
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is the PDF on the MiniProg 3.

0 Likes
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
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

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
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

   

 

   

Bob

0 Likes