11 Replies Latest reply on Feb 28, 2020 11:03 PM by RakshithM_16

    Unable to Reprogram PSoC 6

    YuLi_4647551

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

      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.

        • 1. Re: Unable to Reprogram PSoC 6
          MoTa_728816

          Hi,

           

          How about trying to push SW4 and/or SW3?

           

          For the details please refer to the Kit Guide.

           

          moto

          • 2. Re: Unable to Reprogram PSoC 6
            YuLi_4647551

            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:

            • 3. Re: Unable to Reprogram PSoC 6
              MoTa_728816

              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

              • 4. Re: Unable to Reprogram PSoC 6
                YuLi_4647551

                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

                • 5. Re: Unable to Reprogram PSoC 6
                  MoTa_728816

                  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.

                  • 6. Re: Unable to Reprogram PSoC 6
                    RakshithM_16

                    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.

                    1 of 1 people found this helpful
                    • 7. Re: Unable to Reprogram PSoC 6
                      MoTa_728816

                      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

                      • 8. Re: Unable to Reprogram PSoC 6
                        YuLi_4647551

                        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.

                        • 9. Re: Unable to Reprogram PSoC 6
                          MoTa_728816

                          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

                          • 10. Re: Unable to Reprogram PSoC 6
                            YuLi_4647551

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

                             

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

                            • 11. Re: Unable to Reprogram PSoC 6
                              RakshithM_16

                              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 -

                              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

                              1 of 1 people found this helpful