Unable to Reprogram PSoC 6

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

cross mob
YuLi_4647551
Level 1
Level 1

In the select debug target window the two cortex are not shown. Instead the window show something as follows:

pastedImage_0.png

The board used is PSoC 6 BLE Prototyping Kit (CY8CPROTO-063-BLE). The program previously programmed into the PSoC is a ADC that read voltage from a GPIO pin.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

Hi YuLi_4647551​,

I have attached a Blinky LED hex file for the same Kit. Can you please try and program the hex file using Cypress Programmer?

1. When you open Cypress Programmer if it asks you to upgrade firmware please click on Upgrade Firmware.

2. After that, select your device and click on Connect -

pastedImage_0.png

3. Next click on Open icon and select the hex file that I have shared.

4. Click on Program.

I have also attached the Cypress Programmer log for your reference.

Please let us know if you can program this hex file.

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

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

Hi,

How about trying to push SW4 and/or SW3?

For the details please refer to the Kit Guide.

moto

0 Likes

Thanks for the reply!

Unfortunately I tried pressing SW3 and it is not changing the mode of the Kit. And there is no SW4 on the board.

I also tried to reload the firmware with the PSoC Programmer and it shows an error like this:

pastedImage_0.png

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

Dear yuli-san,

I'm sorry I mistook the board as CY8CKIT-062-BLE.

For the CY8CPROTO-063-BLE, the guide is

https://www.cypress.com/file/450941/download

And probably you need to use the KitProg2 Mode Selection Button SW3.

So pushing SW3 was correct. How about keep pushing for 3 secs or so?

To reload the firmware you may need to use Cypress Programmer instead of PSoC Programmer.

Best Regards,

29-Feb-2020

Motoo Tanaka

0 Likes

After I pressed for 3 seconds the status LED starts to flash and the target window become blank.

I tried the Cypress Programmer to reload the PSoC 6  and the message in the target window ask me to update my firmware for KitProg.

Then I received this error:

Failed Connect to  | Port KitProg3 (CMSIS-DAP/BULK/0C200D21022A7400) in use

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

Hi

Pressing SW3 another 3sec will switch the kitprog to the prevous mode.

Then try Cypress Programmer again.

Please make sure other programs are not accessing the board, like PSoC Programmer, PSoC Creator etc.

moto

p.s. sorry for poor typing this is from my iPhone as I’m out of office.

0 Likes

Hello yuli_4647551​,

KitProg3 version expected in PSoC Programmer is 1.01.158 and in Cypress Programmer it is 1.13.322.

That is why Cypress Programmer shows that the KitProg3 version needs to be updated.

Also, in the screenshot that you have shared, KitProg is in BULK mode. So, you should be able to program the device.

The error that you have mentioned in the previous comment is seen when the port is used by a different software. Can you please try these steps -

1. Disconnect the device.

2. Close PSoC Creator/PSoC Programmer/Cypress Programmer and any other software like Bridge Control Panel that might be using the port.

3. Connect the device

4. Program the device with Cypress Programmer

Hope this helps,

Thanks and Regards,

Rakshith M B

Edit -

MoTa_728816​, I am sorry, I missed your last comment as the page was not refreshed.

Thanks and Regards,
Rakshith M B
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear Rakshith-san,

That's OK, your statement is much more clear.

And as yuli-san can see the kitprog through the programmer,

I hope that this issue won't be too serious, too.

Best Regards,

29-Feb-2020

Motoo Just Returned from lunch Tanaka

0 Likes

Thank you Motoo and RakshithM!

I rebooted the PC and completed the above steps. The Cypress Programmer is able to refresh the PSoC 5LP at this point.

However, the port is still being used as a UART output as seen from the terminal and I am not able to erase the flash of PSoC 6 using PSoC Programmer. It shows an error message like this:

Hex File parsing failure. Hex file does not exist or cannot be opened.

Thanks again for bearing with me through this long issue.

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

Dear YuLi-san,

I think that the problem is in the different phase.

Please try

(1) Quit PSoC Programmer (and/or Cypress Programmer)

(2) Start PSoC Creator

(3) Clean and build your application

(4) Try to debug

Best Regards,

29-Feb-2020

Motoo Tanaka

0 Likes

I just followed the above procedure and the result is as following:

pastedImage_0.png

Thank you all the help. I will try to switch to another PSoC board.

0 Likes
lock attach
Attachments are accessible only for community members.

Hi YuLi_4647551​,

I have attached a Blinky LED hex file for the same Kit. Can you please try and program the hex file using Cypress Programmer?

1. When you open Cypress Programmer if it asks you to upgrade firmware please click on Upgrade Firmware.

2. After that, select your device and click on Connect -

pastedImage_0.png

3. Next click on Open icon and select the hex file that I have shared.

4. Click on Program.

I have also attached the Cypress Programmer log for your reference.

Please let us know if you can program this hex file.

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B