Announcements
Community Announcement : Welcome to the NEW Cypress Developer Community.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

Anonymous
Not applicable

I'm using the MiniProg3 to program my PSoC4200. In the application the PSoC is powered by 5,21V. The program process fails. Acquiring the PSoC device fails.

   

In the GUI PSoCProgrammer 3.23. the voltage is displayed to be 5000mV. Because the voltage seemed to be a bit high, I lowered the voltage until it is 4,5V. Programming the PSoC at this voltage works. With higher supply voltage the PSoC device can not be acquired.

   

Settings: Protocol: SWD; Voltage: 5.0V; Connector: 5p and 10p is tested; Programming Mode: Reset

   

Next step I tried to use 3,3V supply voltage. The settings in PSoCProgrammer is changed to 3,3V. Flashing the device is working without any problems.

   

The MiniProg is directly connected via 5cm wires to SWDIO, SWCLK and XRES. Voltages are stable (+/-20mV ripple).

   

Any idea why the PSoC can not be flashed while running with 5V?

0 Likes
5 Replies
Anonymous
Not applicable

I measured the levels of each signal with a Saleae logic analyzer. All signals are available. (see screenshot.png)

   

   

All signals can be viewed in detail. (see screenshot1.png)

   

   

 

   

Settings: SWD, 5V, 1.5MHz, 10p connector (settings.png)

   

   

 

   

   

   

0 Likes
ETRO_SSN583
Esteemed Contributor

The electrical interface shows small decoupling on Vdd, that may be a problem.

   

   

 

   

 

   

 

   

 

   

   

0 Likes
Anonymous
Not applicable

I measured the Vpeak-peak of VDD which is the first channel: Vpeak-peak is 0,1V

   

The second channel ist XRES, 3rd is SWDCK, 4th is SWDIO.

0 Likes
Anonymous
Not applicable

I soldered a 100nF between VDD and GND near the MiniProg3 connector. Now it works.

   

Thank you very much!

0 Likes
ETRO_SSN583
Esteemed Contributor

The point of the decoupling is that it has to be small, not large, because Miniprog3

   

has limitations ramping voltage. Not intuitive as most people would, rightfully,

   

put a bulk tant or electrolytic as well as a ceramic on Vdd on board.

   

 

   

You might file a CASE and ask what that limitation is, and post back here.

   

I cannot find it mentioned in Miniprog3 manual. I am quite sure there was

   

a limitation on the Minprog1.

   

 

   

To create a technical or issue 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