4 Replies Latest reply on Mar 23, 2020 6:31 AM by MoTa_728816

    C8CKIT-059 does not appear in target device

    Skdk_4669631

      Hello,

       

      I just downloaded Psoc creator in order to programm my cy8ckit-059 but when I want to create a new project I can not find the device.

      I tried to download the kit set up file here : https://www.cypress.com/documentation/development-kitsboards/cy8ckit-059-psoc-5lp-prototyping-kit-onboard-programmer-and

       

      Unfortunately the device is still missing.

       

      May I have your help ?

       

      Thank you

        • 1. Re: C8CKIT-059 does not appear in target device
          MoTa_728816

          Hi,

           

          I think that you need to download and install PSoC Programmer.

           

          You can download it from the following URL.

          Please get the newest one.

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

           

          moto

          BTW, the "device" you need to select is "CY8C5888LTI-LP097", just to make sure ;-)

          • 2. Re: C8CKIT-059 does not appear in target device
            Skdk_4669631

            Thank you very much.

             

            I managed to select the CY8C5888LTI-LP097 but do you know why in my  »pins » window I have the chip and not the C8CKIT-059 ?

             

            I mean, I want to assign a LED at a certain my pin, e.g 42 but the program says that I can’t because it is a supply pin.

             

            thank you for your help

            • 3. Re: C8CKIT-059 does not appear in target device
              LePo_1062026

              Skdk,

               

              PSoC Creator has knowledge of PSoC devices such as the CY8C5888LTI-LP097 but does not have knowledge of the Cypress Kits.

               

              It is easy to assign the LED if you know the Port and bit.  For example on the CY8CKIT-059 the Blue LED is attached to port 2 bit 1 (P2[1]) in the Pins tab of the DWR.

               

              Therefore if you created a LED output in the TopDesign schematic like:

              You can go to the Pins tab of the DWR and select P2[1] as the Port.

              Then in your code you can turn on the LED by:

              LED_OUT_Write(1);
              

              or off by:

              LED_OUT_Write(0);
              

              or toggle by:

              LED_OUT_Write(~LED_OUT_Read());
              

               

              Len

              • 4. Re: C8CKIT-059 does not appear in target device
                MoTa_728816

                Hi,

                 

                First of all, when you create a new project, the workbench will look like this.

                010-New-Project.JPG

                At first, I will click the center pane then select 100 (or bigger) in the left upper size area, so that I can see the parts in the schematic.

                011-100.JPG

                Then I select a part to use, in this case, a "Digital Output Pin",

                012-digital-output.JPG

                and drag it onto the schematic area and release.

                Now a new Pin is placed in the schematic. (<- spell corrected)

                Please double click the pin to open the configuration dialog.

                013-pin-input.JPG

                 

                It will look like

                014-pin-config.JPG

                Then change the name of pin, here I named it "LED"

                and uncheck "HW connection".

                Then select "OK"

                015-aaa.JPG

                Now your schematic will look like

                016-schematic.JPG

                Then please double click "Pins" in the left side pane "Design Wide Resources > Pins "

                017-pins.JPG

                Then select "P2[1]" as it is the pin connected to the LED1 of CY8CKIT-059.

                018-Pin-2-1.JPG

                Now click generate application icon in the left upper short-cut icon area

                019-generate-application.JPG

                 

                After application is generated, double click "main.c" in the left pane

                020-generated.JPG

                Edit main.c something like

                021-main_c.JPG

                Then click the debugger icon

                022-debug.JPG

                If nothing was wrong, you will be in the debugger screen.

                023-debugger.JPG

                If you click "Resume" icon, the debugger will start the program and LED will blink every second..

                if we are lucky.

                024-resume.JPG

                You can click Stop Icon to quite debugger.

                 

                Time to feed my cat.

                 

                moto