- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have:
- CY8CKIT-050 Kit (it is a 5LP)
- MiniProg4
I can program the 5LP with the MiniProg4 in Reset mode only when it is externally-powered.
But it fails if it is only powered by the MiniProg4.
I'm using latest PSoC Programmer with latest firmware for the MIniProg.
- PSoC Programmer v3.29.1
- MiniProg4 fw version: 2.21.1005
Attached is the image of the error and the how I'm configuring the PSoC programmer.
Any idea why it could be failing? Many thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ricardoquesada,
We will look into this issue and resolve it. We will update it as soon as we get the solution.
For now, we recommend using the MiniProg3 for programming.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ricardoquesada,
Can you please try changing the voltage setting to 5V and programming the device as shown following:
Please, let me know if this works for you.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Raj!
Weird... I wonder what might be different in our setup. From your screenshot I can see that you are using the LP035... so it seems that we have the same setup... but I still cannot program it... no even using 5V.
Any other idea? Thanks!
And it case it helps, this is how I'm connecting the cables:
(I also tried without the LCD screen, and the attached sensor, but with the same results)
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ricardoquesada,
Can you please check and connect the J10 and J11 for the 5V configuration?
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good catch Raj.
But I tried putting the jumpers in 5V, with the same results. Different things that I've tried:
- With a brand new CY8CKIT-050 (I've just opened), and two others that were known two work properly.
- The USB-C cable that comes with the MiniProg4 and my own USB-C cable
- Tried on Linux + VMWare + Win 10 Pro... and tried on two different host Windows 10 Pro.
- Tried plugging the USB cable in the different USB ports of the host machine
- Tried putting the Programmer in v3.3 (and jumpers on v3.3) and with v5 (with jumpers on v5)
All with the same results.
Just to clarify: I CANNOT program the PSoC device when I'm only powering the device with the MiniProg4, as shown in this photo:
But I CAN program it when I use the external power, as shown in this photo:
But I need to program it without using the external power.
Many thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I would remove the jumper from J10 entirely.
Reason: Miniprog4 has a direct connection to Vddd. If jumper J10 is installed, the Miniprog4 is back-driving the voltage regulators. This may be 1 of the issues.
The other issue is, without voltage sourced from USB, or 9V battery, or Ext power supply, there is no Vdda supply. To make Vdda, you'll need to install header J38, and place a jumper on it to connect Vdda to Vddd (position 2 to 3). Then remove resistor R23 to disconnect Vdda from regulator output Vdda_p.
Caution: if PSoC is not powered with Vdda, PSoC can be burned out. Vdda must always be equal or higher in voltage wrt all other Vd rails. This is spec'd in datasheet.
One more idea. When in PSoC Programmer, did you click on the toggle power icon (round button icon)? I think you did because Programmer shows Power Status of ON. Just checking.
My $0.02 worth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ricardoquesada,
Can you please try to follow the methods mentioned below:
- Use 3.3V as the source and try programming using the onboard debugger
- If you have MiniProg3 please, try to program using it
Please, let me know if you get success following the above methods.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Raj. I won't be able to access my workstation this week. I'll ask a coworker if they can try that.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Raj.
Just wanted to confirm you that MiniProg3 works Ok. Thanks.
Just to plan ahead: Is there a planned fix for the MiniProg4?
Many thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ricardoquesada,
We will look into this issue and resolve it. We will update it as soon as we get the solution.
For now, we recommend using the MiniProg3 for programming.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Raj,
I have the exact same issue, and have tried both steps. Unfortunately, changing the source to 3.3v (or other values) did not fix the problem (this is with a MiniProg4).
With a MiniProg3 I am able to program a custom board with a similar chip, but I still can't program the dev board.
Are there any other steps that can be taken?
-nd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI...
I'm able to program KIT-050 with Kitprog from KIT-059 (with SWD cable adaptor I made). No external power used. Power supplied by Kitprog. I simply moved KIT-050 jumpers to what I mentioned earlier.
The key is to remove resistor R23 and install header J38 to connect Vddd to Vdda. Then remove jumper J10. Now KIT-050 is completely powered by Kitprog (or in your case Miniprog4).
Looking at Ricardo's pictures, the supplied SWD cable way tooooooo long. SWD signals degrade quickly after cable is >10cm.
Good luck with your project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the tip BiBi.
If I can find a shorter cable, I'll try it. I'm using the one that comes bundled with the MiniProg4.