4 Replies Latest reply on Feb 22, 2017 10:36 AM by user_1377889

    Help for programing a CYBLE ship in a self made  PCB

    karl.wavrant_1687841

      Hello,

         

      I work with a self made PCB. My CYBLE ship is a CYBLE-022001-00. On my PCB, i have a male header of 3 pins for programming (SWDIO, SWCLK and GND ). I know normally we need 5 pins, but the board is self powered and we do not use the XRES pin. 

         

      I would like to program it but i don't know how to do it. In fact, i do not have programmer like MiniProg3. I have been told that with my CYBLE-022001-00, i do not need programmer because it is already integrated. But i am a bit septic. In Psoc creator, we have to choose a programmer among the list ( KitProg, KitProg2,MiniProg3...) but assuming CYBLE-022001-00 has its own, no one in the list is suitable.

         

      I thought of using PSOC Programmer, but first i have to link the CYBLE-022001-00 to my computer. I have been told that it was possible using a USB cable. I should denude the extremity and plug the right wires to my header. It looks like a bit extreme, but assuming it works, then,  i should use the bootloable and bootloader components in two differents projects, right ? I am quite lost as you can see. I forgot to say that i have the CY8CKIT-042-BLE kit. I hope someone will be able to guide me ! 

         

      Best regards,

         

      Karl     

        • 1. Re: Help for programing a CYBLE ship in a self made  PCB
          user_242978793

          You need the XRES pin to start the programming by resetting the chip.  You can use your CY8CKIT-042-BLE kit to program the device. You would need to jumper the programming pins to your device. 

             

          • 2. Re: Help for programing a CYBLE ship in a self made  PCB
            karl.wavrant_1687841

            Hi,

               

            Thank you for your answer ! I already tried to jump my header to the right pins on the KitProg but i could not select the device target because PSOC could not fully detect  my board, it was written : “This device was recognized, but PSoC Creator™ does not support using it at this time.” This is the result of the XRES pin not connected , is not it ? Then if i connect the XRES pin of my board with the XRES pin of the kitProg board, it will be fine ?

               

            Best regards,

               

            Karl

            • 3. Re: Help for programing a CYBLE ship in a self made  PCB
              karl.wavrant_1687841

              Hi,

                 

              Thank you for your answer ! I already tried to jump my header to the right pins on the KitProg but i could not select the device target because PSOC could not fully detect  my board, it was written : “This device was recognized, but PSoC Creator™ does not support using it at this time.” This is the result of the XRES pin not connected , is not it ? Then if i connect the XRES pin of my board with the XRES pin of the kitProg board, it will be fine ?

                 

              Best regards,

                 

              Karl

              • 4. Re: Help for programing a CYBLE ship in a self made  PCB
                joe.desbonnet

                I'm having a similar problem with the CYBLE-022001-00 module mounted on a custom PCB. I'm attempting to program with the USB dongle from the CY8CKIT-042-BLE using a cable from the 10 pin header. I first tried connecting just SWDIO, SWCLK, XRES, GND.

                   

                The CYBLE-022001-00 was recognized from PSoC Creator as a "Cortex-M0" with the message: "The device was recognized, but PSoC Creator does not support using it as this time."

                   

                I suspect it needs the power line connected. BUT: on the PCB the CYBLE-022001-00 is powered from a 3.3V rail with other non-5V tolerant devices on the same rail. I noticed when I first plug in the dongle the power line is at 5V.  My PCB proves no easy way to isolate the 3.3V rail while programming. 

                   

                Two questions:

                   

                1. Is the recognition of an unsupported Cortex-M0 device explained by my not connecting the power line in the programming cable?

                   

                2. Any suggestions as to how I can safely program my PCB without exposing it to 5V level voltage?

                   

                Thanks,

                   

                Joe.

                • 5. Re: Help for programing a CYBLE ship in a self made  PCB
                  user_1377889

                  Welcome in the forum.

                     

                  You will need a miniprog3 which will support your PSoC module with 3.3V.

                     

                   

                     

                  Bob