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?
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.
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 -
“Create a Case”
You have to be registered on Cypress web site first.