- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Group Members,
I am using CY8C4014SXI - 421 for Learning Purpose. But I
am facing issue with Programming this device from PSoC
Creator and PSoC Programmer. PSoC Creator is not able
to recognize the target device. Please help. I have attached
a screenshot. I am using Snapped Away Programmer from
CY8CKIT-059 PSoC® 5LP Prototyping Kit.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran into the same problem, some time ago.
The point is, that the CY8C4014SXI - 421 does not have a dedicated XRES pin.
It's written in the documentation, that pin 1.6 has a temporary XRES function while booting, but in fact it does not work yet. An errata about this issue exists.
Therefore, the SO8, SO16 and QFN16 can be programmed / reset by power-cycle only.
Unfortunately, the KitProg does not have the ability to make a power-cycle.
So, until Cypress has made a repair for the temporary XRES function on pin 1.6, you need the MiniProg3.
There's a work-around to use the XRES output on KitProg, to put a PNP-Transistor in-line with VCC of PSoC 4014, and dis-connect it in that way from VCC and make so the power-on RESET. Needs a little bit of soldering.
Hope this information helps.
JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you already try to update the kitprog using PSoC Programmer (latest version) by following the Kitprog guide.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I have already updated the KitProg firmware by using PSoC Programmer.
and also already checked the connection of from KitProg to my Target Board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried programming the device from PSoC Programmer? What's the result?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No I haven't tried by using PSoC Programmer. Actually I don't
have it. It is very costly. So i am using KitProg which is Snapped Away
Programmer from CY8CKIT-059 PSoC® 5LP Prototyping Kit. It
is clearly written in CY8CKIT-059 PSoC® 5LP Prototyping Kit page
that "When snapped away, this tiny USB board can be used as a KitProg
programmer and debugger with any PSoC 3, PSoC 4 or PSoC 5LP device."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I meant, have you tried programming the device through your snapped KitProg board from PSoC Programmer software and see any error (not referring to programming through MiniProg3)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the attached screenshot, it looks like the KitProg is detecting the attached device as PSoC 5LP. Now in the PSoC Programmer, disable the AutoDetection option and select the PSoC 4 device from the drop-down (as shown in the below image) and try programming. Make sure that your board is powered. See if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are saying that KitProg is Auto Detecting attached device as PSoC 5LP.
But it is not true. If we keep auto detection feature ON, the Programmer will
auto detect the part of the attached device. I have already tried your Auto
Detection feature OFF suggestion before. But still tried this again but failed.
I have tried by keeping Auto Detection feature OFF. My Target board gets
its Power Supply from Kit Prog. My Target board is very small. It doesn't
require much current.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the communication between KitProg and the target device is successful, you are unlikely to see such errors.
If you are using long jumper wires (say 5-inch) to connect KitProg's SWD lines to the target board, shorten them try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually I am not using any Kind of Jumper wires. I am using Header (Berg Strip) in
both PCBs. I mean Female Header in KitProg and Male Header in my target board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran into the same problem, some time ago.
The point is, that the CY8C4014SXI - 421 does not have a dedicated XRES pin.
It's written in the documentation, that pin 1.6 has a temporary XRES function while booting, but in fact it does not work yet. An errata about this issue exists.
Therefore, the SO8, SO16 and QFN16 can be programmed / reset by power-cycle only.
Unfortunately, the KitProg does not have the ability to make a power-cycle.
So, until Cypress has made a repair for the temporary XRES function on pin 1.6, you need the MiniProg3.
There's a work-around to use the XRES output on KitProg, to put a PNP-Transistor in-line with VCC of PSoC 4014, and dis-connect it in that way from VCC and make so the power-on RESET. Needs a little bit of soldering.
Hope this information helps.
JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@user_659059,
Thank. This may be perfect solution. I was also thinking
that KitProg won't be able to program CY8C4014SXI. Because
when I was using PSoC Programmer software while KitProg
connected to PC, Power Cycle Option was not available to
select with this KitProg Programmer. I will try this suggestion.
But can I have circuit diagram? To perform this solution given
by you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
...seems to me, you need to build a circuit like this?
BR JK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried the circuit suggested by you. But still having some issue.
Please check the circuit screenshot. and check PSoC Programmer
screenshot. When I attached that Transistor based circuit with KitProg,
KitProg gets in Bootloader mode automatically. Please check my schematic.
See which Transistor I have used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the KitProg (CY8CKIT-059) User Guide: "Keep the reset-switch pressed and connect the kit to the computer. If the switch is pressed for more than 100 ms, the PSoC 5LP enters the bootloader."
According to the schematics of the KitProg from the PSoC5 board, the reset-switch brings the XRES-output to GND. It's connected to P12.4 from PSoC5. Therefore, the PSoC5 "listens" for more than 100ms to this pin, whether it get's a LOW on it.
Right now, we do the same, with R5; because R5 is connected permanently to GND. I don't know the firmware of PSoC5 from KitProg, but I think it's an input for 100ms, and after that 100ms, will be switched to output permanently.
So I suggest to make two tests:
a) disconnect R3 from XRES signal. KitProg get still into bootloader?
If yes, then the problem is somewhere else.
If no, reconnect R3 to XRES signal, and
b) disconnect 10kOhm R5 (your schematic 10kOhm R4) at least from GND, and check whether KitProg still enters bootloader. R5 (your schematic 10kOhm R4) is not necessarely needed for function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried those two suggestions. I disconnected R3 Resistor from XRES
Signal (R3 = 1.3k from My Schematic). KitProg doesn't get into Bootloader Mode.
I also disconnected R4 after reconnecting R3 to XRES signal (R4 = 10KOhm
from my Schematic) but still KitProg was going into bootloader mode. I am
checking again if there is any mistake.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had similar problem and by solved by connecting VCCD to ground through a capacitor. Please check if that is the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Were you able to successfully program the PSoC 4000 (without XRES pin) using KitProg?
Can you share the transistor circuit you eventually ended up with?
I'm about to go down this same road.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, Dear
is you get your solution for programming CY8C4014SXI - 421? using snap kitProg.
i had same issue, and not able to program it. i had try with cy8ckit-043 and cy8ckit-040. but not able to program it.
If you find solution can you share it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear AsMa_3150151,
I did not find any solution. Instead I bought MiniProg3.
MiniProg3 supports power cycyle programming mode.