Please check the following application note AN84858. This application note explains how to implement a host programmer to program a PSoC 4 device.The C code can be ported for your device.
Thanks for your response.
I am all ready referring this doc file. but i am no getting understanding.
is there any step procedure that should i follow?
as i need to update any file to cy8ckit-040? to set as programmer.
as kit has on board MCU PSoc 5 and CY8C4014LQI-422 . Psoc5 act as programmer to program PSoc 4 MCU CY8C4014LQI-422.
as i need to program this psoc 4 mcu cy8c4014sxi-421 which setup is made on breadboard, using kit PSoC 5.
The cy8c4014sxi-421 16-pin SOIC package has no XRES pin. This means a Power Cycle is needed to reset the micro. Unfortunately, this means KitProg won't work (directly) to program this micro/package. The 5LP on Kit-040 is similar to a KitProg, so it won't work (directly) either.
MiniProg3 programmer/debugger supports Power Cycle.
To use KitProg (or 5LP on -040) as a programmer for cy8c4014sxi-421, the voltage supplied to cy8c4014sxi-421 could be enabled/disabled using KitProg XRES output signal (using transistor(s), voltage regulator with an enable). However, no guarantee this will work as KitProg might timeout before cy8c4014sxi-421 has entered boot mode.
A word of caution: GPIO P1.6 should not be connected to ground as it acts as an internal XRES during power up.
In device datasheet pinout table, look to rightmost column for P1.6 "alternate" description for SO16 package. It mentions this pin is Internal Reset function. Also, read Note #1. "Must not have load to ground during POR (should be an output)." If it is used as an input, your hardware must guarantee this pin is logic 1 or high impedance during power up.
For PSoC 4000 programming, see:
I know I didn't answer your original question, but now you know it's not a simple solution to use -040 to program cy8c4014sxi-421.
thanks for your response and suggestion,
cy8ckit-043 is able to program psoc mcu?
because as i already purchased miniprog 1 and cy8ckit-040 for programming another psoc mcu.
but i am not able doing this.
please help me, if possible. as i think i have to connect external PSOC mcu with -043.
1) create psoc project with specific device selection.
2) connect external mcu with -043.
3) upload or program external mcu using -043.
or i need to do some different procedure to get this done.
I had purchased the kcy8ckit-043.
If possible Please guide me , how should i use it to program
I read the user manual guide. But do not understand it.
My device is getting recognized automatically, but i am trying to program
It shows unable to program.
Please i am really stuck here.
Could you please let us know the hardware connection you are using at your end? Also let us know the connections to your 4000 device and screenshots of your error observation.
Note that 16-Pin QFN, 16-Pin SOIC, 8-Pin SOIC packages do not have an XRES pin and hence require power cycle mode of programming which isn't supported on Kitprog. Use Miniprog to program in such cases.
Hardware Pin out for SWD Programming :
PIN 1 : P3.0/SDA/SWD_IO
PIN 2: P3.1/SCL/SWD_CLK
Thanks for your response.
i have cy8c4014sxi-421 of 16-pin SOIC which does not has XRES pin as describe in datasheet.
i had two kitprog of cypress, 1) cy8ckit-040 Pioneer Kit
and One cypress Miniprog1 .
is minprog1 able to program it? i had tried it but while connecting to PSOC IDE , it does not show cy8c4014sxi-421 ic.
is there any way to get program upload on cy8c4014sxi-421 using any of this above 2 kits and miniprog1.
Thanks & Regards
Unfortunately none of the options you have will be sufficient for the PSoC4 device without XRES pin. Miniprog 1 is dedicated for PSoC1 family devices and cannot be used for your device. As kitprog cannot do power cycle mode programming, they are also not a viable option. You may have to use Miniprog3 for your application.