I am trying to migrate from Atmel to Cypress.
I use: PSOC 4000 SOIC-8 package; which contains 8 Pin:
1 SWD Clock
3 - VCC
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 ! Please!
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.
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?
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 ? ????
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!
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.