- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi everyone, i using PSoC Creator 4.4 and for programming CY8CKIT-042 programmer kit. I had take an error in programming phase at recently.
we work on external microprocessor and someone maybe touch a swicth, i don't know.
what can i do for solution. i try to upgrade kitprog version, because i see kitprog linkage when i press port acquire button.But now view CMSIS-DAP.İ can't firmware upgrade of kitprog.
Somebody help me please.i wish you good work
Solved! Go to Solution.
- Labels:
-
ispn:39611:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I had made the assumption that you prepared KIT-042 to use its Kitprog to program an external PSoC. The preparation requires removing resistors R32,R33,R34. If these are not removed, then KIT-042 PSoC 4245 will block SWD signals and try to respond to programming.
Looking at KIT-042 pcb layout, these 3 resistors are located very near where the wires are solder to the pcb. In fact, under the 3 wires.
If you carefully move the three wires out of the way, can you see if the 3 resistors have been removed?
Another way to tell if the resistors are still populated on pcb is, if you disconnect round connector from external target, try to program KIT-042 4245 PSoC. If this is successful, then the resistors are still populated on pcb.
When you say " i connected the devices with my friend's kitprog 042 , i don't see any problem." does this mean you were able to program target PSoC with your friends KIT-042 Kitprog? If yes, can you verify if the 3 resistors were removed from KIT-042 pcb.
edit:
Have a look at his thread:
Solved: Re: CY8C4014SXI-420 only able to succesfully progr... - Infineon Developer Community
It's a different external PSoC target from your target, but still uses KIT-042 Kitprog to program external PSoC target. The user had to remove R32, R33, while leaving R34 (XRES resistor) in place. This is okay to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Press and hold the Reset button (SW1) for 5 seconds to exit CMSIS-DAP (Mass Storage mode).
NOTE: Only PSoC4 Families are supported in this version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
firstly ,thanks for answer
now, this mode changed as kitprog but my problem was not solved. i can not programming still. bottom picture say that maybe i use another application on this device . but any app does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Open PSoC Programmer, click " utilities", update "firmware".
Then please check if it can be programmed successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i did all of you say , but did not work. Unfortunally bottom error tap coming still.
But i upgraded Kitprog from PSoC Prpgrammer.
I checked that probable disconnect(USB connection or SWD linkage), but all of them is normally
- 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
i check out many directive but programmer does not work. once try to connect with Creator and i see that;
then i worked on PSoC programmer and updating from utility settings but i found same error still;
stage_1
stage_2
stage_3
i use 5 pins for programming, so these pick on 10 pins. I can't change pin number and internal power must be 5 Volt and jumper choosen by 5 volt that is not false, but programmer choose 3.3 V. There has many unexpecting choosing . İ think main problems these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Something to try...
Un-check Auto Detect and select the correct Device Family and Device, from the drop down windows. At present, it is showing 4147. Should show 4248.
As for the 3.3V vs 5V, you've set the voltage in the Design Wide Resources to 3.3V. Change it to 5V if that's what you desire to use.
Can you upload a photo of Kit-042 board without the BLE module installed.
Also, are you trying to program the PSoC on BLE module, or are you trying to program a custom pcb containing a PSoC? This is not clear to us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
selected CY8C4127AXI-S443, CY8C4245AXI-M445 devices for my apps because i using these, so these devices are external Cypress PCB. i need 5 V supply but , i can't change it in PSoC Programmer. Actually has writen 5 V in code.
green and yellow leds stabil , blue led blinked
all connections of board used programming only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Thankyou for uploading a photo of your setup. I immediately see the problem.
SWD signals from Kitprog are not very strong. The wires can not be longer than 10cm in total length between Kitprog PSoc 5LP and target PSoC.
You should shorten the SWD wires to be less than 10cm in length.
Also, I can see 4 colored wires in gray cable. Is there a 5th wire that I can't see in photo?
And, check the order of the SWD signal wires going between Kitprog and target.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for spend your time for me.
color of 5th wire is black, maybe you can not see because of that. I checked all cables with ohmmeter between Kitprog and target PCB , there is not problem.
But there is i don't understand a case. This circuit was work a few days ago on many devices!
Also, i will try to decrease length of wire. I have shorten this;
But it shown still;
and close the programmer and try from creator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Thank you for the new photo. I see the black wire now.
Since the Kitprog was able to program a target PSoC previously, it's possible the Kitprog SWD interface is damaged.
To test Kitprog SWD interface, you'll need to remove the 3 SWD wires and re-install resistors R32, R33, R34. This re-connects the PSoC 4245 on pcb to Kitprog SWD signals. Now, try to download to 4245. If this is not successful, either Kitprog is damaged, or the 4245 is damaged. If this is successful, then you have a wiring issue to round connector at target PSoC or, the target is PSoC (at the end of round connector) is damaged.
You might also check the solder connections in the round connector (with blue colored cap) heading to the target.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi , "To test Kitprog SWD interface, you'll need to remove the 3 SWD wires and re-install resistors R32, R33, R34" is that means i have to remove these resistors and install another resistors here again. İf it is not as i understand what can i , sorry i don't understand completly
Also, "then you have a wiring issue to round connector at target PSoC or, the target is PSoC (at the end of round connector) is damaged" i connected the devices with my friend's kitprog 042 , i don't see any problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I had made the assumption that you prepared KIT-042 to use its Kitprog to program an external PSoC. The preparation requires removing resistors R32,R33,R34. If these are not removed, then KIT-042 PSoC 4245 will block SWD signals and try to respond to programming.
Looking at KIT-042 pcb layout, these 3 resistors are located very near where the wires are solder to the pcb. In fact, under the 3 wires.
If you carefully move the three wires out of the way, can you see if the 3 resistors have been removed?
Another way to tell if the resistors are still populated on pcb is, if you disconnect round connector from external target, try to program KIT-042 4245 PSoC. If this is successful, then the resistors are still populated on pcb.
When you say " i connected the devices with my friend's kitprog 042 , i don't see any problem." does this mean you were able to program target PSoC with your friends KIT-042 Kitprog? If yes, can you verify if the 3 resistors were removed from KIT-042 pcb.
edit:
Have a look at his thread:
Solved: Re: CY8C4014SXI-420 only able to succesfully progr... - Infineon Developer Community
It's a different external PSoC target from your target, but still uses KIT-042 Kitprog to program external PSoC target. The user had to remove R32, R33, while leaving R34 (XRES resistor) in place. This is okay to do.