7 Replies Latest reply on Oct 13, 2019 9:57 PM by yuku_4421226

    Cannot fix firmware of CY8CKIT-044 progKit

    yuku_4421226

      Environment

      OS:windows10 64bit

      PSoC Creator:4.2.0.641

      PSoC Programmer:3.27.1.3121

      KIT: CY8CKIT-044, CY8CKIT-026

       

      Hi,

       

      When I checked STATUS LED, I found the LED blinks fast(maybe frequency = 4.00 Hz). So I checked CY8CKIT-044’s Quick Start Guide and upgrade firmware. LED status became ON.

      However, I couldn't program to CY8CKIT-044. Also, I tried reboot PC, remove and insert all cable, retry to upgrade firmware, but I couldn’t solve the problem. How can I solve this error?

       

      postscript

      After upgrade firmware and  remove cable psoc and pc, the LED blinks fast when I reconnect psoc and pc.

       

       

       

       

      Thanks,

      yuki

        • 1. Re: Cannot fix firmware of CY8CKIT-044 progKit
          MoTa_728816

          Hi,

           

          How about updating the firmware of KitProg?

          I would do following.

           

          (0) Download and install the latest PSoC Programmer

           

          https://www.cypress.com/documentation/software-and-drivers/psoc-programmer-archive

           

          (1) Start PSoC Programmer

          000-PSoC-Programmer.JPG

          (2) Use Utilitiy Tab -> Update Firmware

          001-utility-update-fw.JPG

           

          moto

          • 2. Re: Cannot fix firmware of CY8CKIT-044 progKit
            yuku_4421226

            Hi Moto

             

            I installed psoc programmer 3.28.5(latest ver.) and update firmware. The LED blink pattern changed fast to very fast. According to the guide 63 page,  SWD or I2C operation is in progress in this pattern. However, I don't any communication with psoc, only connect pc and psoc. Is the psoc broken?

             

            Tanks,

            yuki

            • 3. Re: Cannot fix firmware of CY8CKIT-044 progKit
              MoTa_728816

              Dear Yuki-san,

               

              Although I think that you have already done this,

              but I would try

              (1) Disconnect USB from PC then reconnect

              (2) Push Reset SW for 3 ~ 5 seconds

               

              > Is the psoc broken?

              Possibly.

              If it's still in the guarantee period,

              you may want to contact with your supplier.

               

              Best Regards,

              12-Oct-2019

              Motoo Tanaka

              1 of 1 people found this helpful
              • 4. Re: Cannot fix firmware of CY8CKIT-044 progKit
                MoTa_728816

                Dear Yuki-san,

                 

                After posting my previous response,

                I noticed that at least you could update KitProg Firmware.

                 

                So that part of CY8CKIT-044 must be alive.

                Then the problem seems to be the rest.

                 

                If what I posted in my previous post did not help,

                I would try to acquire the port.

                 

                (1) From the menu bar

                Debug > Select Debug Target...

                000-Debug-Select.JPG

                (2) In the "Select Debug Target" Dialog

                Select "Port Setting"

                Note: In my case "PSoC 4200M..." is already displayed but don't care about it.

                001-Port-Setting.JPG

                In the displayed dialog, please make sure the choice(s) are same with mine.

                002-Port-Setting-Active-Protocol.JPG

                After dismissing the last dialog by selecting "OK" button

                Hopefully "PSoC 4200M .. ." will be visible,

                otherwise please try selecting "Port Acquire"

                003-Port-Acquire.JPG

                 

                If all above failed, attached is my trivial Green LED blinking project.

                Please try program your board with PSoC Programmer with the attached hex file.

                 

                To do it, start PSoC Programmer

                and from Menu select

                File > File Load...

                010-File-Load.JPG

                Then select the attached hex file.

                011-Select-the-hex.JPG

                 

                Then select "Program" Icon to program the hex file to the device.

                012-Program.JPG

                .. programming...

                013-programming.JPG

                 

                If "Programming Succeeded" is shown in the Results pane, it's done.

                014-Programming-Succeeded.JPG

                 

                This will blink the Green LED (P2[6]) every second.

                So if the board starts blinking this LED at least some part of PSoC 4 is alive.

                 

                Or if programming the device via PSoC Programmer also fails,

                PSoC 4 might be damaged/broken.

                 

                Best Regards,

                12-Oct-2019

                Motoo Tanaka

                1 of 1 people found this helpful
                • 5. Re: Cannot fix firmware of CY8CKIT-044 progKit
                  yuku_4421226

                  Dear Moto-sam,

                   

                  I tried below

                  1.

                  (1) Disconnect USB from PC then reconnect

                  (2) Push Reset SW for 3 ~ 5 seconds

                  →No change

                   

                  2.

                  (1) From the menu bar

                  Debug > Select Debug Target...

                  (2) In the "Select Debug Target" Dialog

                  Select "Port Setting" and confirm setting is same.

                  003.png005.png

                   

                  Then, push "Port Acquire"

                  004.png

                   

                  3.

                  (1)In Psoc programmer, Urilities tab > Upgrade Firmware

                  (2)Open hex file

                  (3)Push "Program"

                  →cannot porgram

                   

                  I find some strange points.

                  • In Psoc programmer bottom right,  power condition is "Not Powered".
                  • The psoc board' STATUS LED light weakly and Power LED is off.

                   

                   

                  Best Regards,

                  Yuki Kurihara

                  • 6. Re: Cannot fix firmware of CY8CKIT-044 progKit
                    MoTa_728816

                    Dear Yuki-san,

                     

                    From what you wrote, I am afraid that the board or the PSoC 4 on the board might be broken.

                     

                    One last thing I'd like to check is a couple of jumpers on the board

                    (1) Jumper 9 (J9) selecting VDD voltage between 3.3V and 5V

                    (2) Jumper 14 (J14) (Number 17 in your picture above)

                    Are both of them are placed just like in your picture?

                     

                    If they are, I think that the board has physical problem.

                     

                    I would suggest you to contact the distributor you purchased the board

                    and ask them for replacement or repair.

                     

                    Best Regards,

                    14-Oct-2019

                    Motoo Tanaka

                     

                    P.S. Writing hex file to the PSoC 4 is not from "Utilities tab > Upgrade Firmware",

                    but your screen shot suggests that you did right.

                    So it won't be a problem.

                     

                    > (1)In Psoc programmer, Urilities tab > Upgrade Firmware

                    > (2)Open hex file

                    > (3)Push "Program"

                    > →cannot porgram

                    1 of 1 people found this helpful
                    • 7. Re: Cannot fix firmware of CY8CKIT-044 progKit
                      yuku_4421226

                      Dear Moto-sam,

                       

                      Jumper 9 (J9) 14 (J14) are placed just like in the picture.

                      I'll contact distributor.

                       

                      I really appreciate your help.

                       

                      Best Regards,

                      Yuki Kurihara