Kitprog fails to program hex file.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
KeFl_1393441
Level 1
Level 1

I have a custom PCB that I'm using a KitProg from a CY8CKIT059. Iam trying to debug an application and getting errors while attempting to download the hex file. Iv'e attathced a screen image from the PSoC progammer. the connections are solid. Any thoughts as to what may be causing this?

pastedImage_0.png

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I saw a similar case in another topic.

PSOC 5LP 3.3V external powered KitProg

If your board is 3.3V driven, I would recommend you to use

MiniProg3 or MiniProg4 instead of KitProg.

MiniProg3

https://www.cypress.com/search-results?as_q=MiniProg3

Although I have not tried it, there seems to be MiniProg4, too.

https://www.cypress.com/documentation/development-kitsboards/cy8ckit-005-miniprog4-program-and-debug...

moto

View solution in original post

0 Likes
6 Replies
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi,

Can you please refer to the below link and check whether you have made the settings accordingly and let us know.

Troubleshooting PSoC® 3/4/5LP Programming/Debugging Issues - KBA210619

Regards

Alakananda

Alakananda
0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I've just tested using CY8CKIT-059

5LP_Program_191026.JPG

Once difference I noticed beside the target device, was

Programmer Tab > Status > Voltage

Mine: 4827 mV (~= 5.0V)

Yours: 3255 mV (~= 3.3V)

I think that KitProg works at 5V as it gets power from USB.

I wonder if the signal levels match with your board and KitProg.

(I have never tried to program 3.3V board from KitProg, so may be it's OK though...)

moto

0 Likes

moto,

I suppose in KeFl's case, he should make sure that VTarg from the KitProg board is not connected to the target.

Note though that his programmer Results indicated that the erase succeeded.  To do that, a minimal amount of SWD communication must have been successful.

Hmm...

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi, Len-san

Thank you for your suggestion.

I agree that at least SWD found/identified the device and erased the flash.

Meantime failing "program", in my experience could be caused by insufficient power.

But in case, KeFl-san's board's power is designed to be 3.3V, connecting VTarg could damage the board.

On the other hand, even if the power level of the board is 5V, if it requires more than the KitProg can provide,

there must be more power provided via the board's power supply.

Anyway, let's see...

moto

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I saw a similar case in another topic.

PSOC 5LP 3.3V external powered KitProg

If your board is 3.3V driven, I would recommend you to use

MiniProg3 or MiniProg4 instead of KitProg.

MiniProg3

https://www.cypress.com/search-results?as_q=MiniProg3

Although I have not tried it, there seems to be MiniProg4, too.

https://www.cypress.com/documentation/development-kitsboards/cy8ckit-005-miniprog4-program-and-debug...

moto

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

Information in the following similar topic seems to be very helpful.

PSOC 5LP 3.3V external powered KitProg

moto

0 Likes