If you are having problem with programming the board,
please visit CY8CKIT-050 page
And download Kit Guide
In the Chapter 3. Kit Operation, 3.1 Programming PSoC 5LP Device
In terms of LEDs
LED3 : P6
I think that you can use jumper wire(s) to light LED1 and LED2 on the board.
To assign port/pin for an output pin in PSoC Creator, you can refer to Noriaki-san's answer.
I am not able to see P6 and P pin . If i am taking any available pin then also my led is not blinking.
Below is my program .
/* Place your application code here. */
I wonder where you are (lol)
At first let me confirm the followings...
(A) You are using CY8CKIT-050 5LP development kit in the URL below.
(B) You have downloaded and installed PSoC Creator
Then to make the confusion as little as possible, please make directory (folder)
Then please follow the steps below
(1) Start PSoC Creator
(2) From Menu Select File > New > Project...
(3) Create Project Dialog will be shown.
In the Select project type
select Target device
[ PSoC 5LP ]
Then use drop down menu to select <Launch Device Selector...>
(4) In the Device Selector window, scroll and find "CY8C5868AXI-LP035" and select OK
(5) Now your Target device should be set [ PSoC 5LP ][ CY8C5868AXI-LP035 ]
then select [ Next > ]
(6) In the Select project template, select "Empty schematic" and select [ NEXT > ]
(7) In the Create Project, enter
Workspace name: workspace
Project name: Design01
Then select [ Finish ]
(8) The dialog window disappeared, and now you are back in the PSoC Creator Workbench.
In the left pane, there is a new project "Design01" should be created.
(9) Although this is optional, but I usually click on the Editor area ("TopDesign.cysch") tab then
select the zoom size in the left upper dropdown menu to 100% or larger.
(10) Now the editor window is easier to see/operate.
Then in the right side pane, "Component Catalog"
Select Cypress tab
Expand Ports and Pins folder
Then select a "Digital Output Pin" and drag it on to the Editor area (in the TopDesign.cysch) and place the pin there.
(11) Now you should see "Pin_1" component there.
Then double click the "Pin_1" component to open its configuration window.
(12) When the configuration window for "Pin_1" is open, do follow
Change the name to: LED
Uncheck the box of HW Connection
Change Initial drive state: High(1)
Then select [ OK ]
(13) Now you should see "LED" in the TopDesign.cysch (which we call "schematic")
(14) In the left pain under Project > Design Wide Resources, double click Pins.
There should be pin assignment window "Design01.cydwr" opened.
In the right side of the tab, where you see "Name | Port | Pin | Lock"
use the drop down menu at the Port LED and select P6. (You might need scroll down to see the port)
(15) Now, LED pin is set to P6
(16) Now we are ready to let PSoC Creator generate application for this configuration.
Select "generate application" icon.
(17) It takes a while, then application (and drivers etc) for this project will be generated.
You can see system generated staff under "Generated_Source"
(18) Now, double click "main.c"
You will see the "default" main.c there.
(19) To follow your program, I modified main.c as below
(20) Then connect your CY8CKIT-050 to your PC via USB cable like below,
in case you have not done so.
You may need to wait a while till your PC detect the board.
(21) Then select "debug" icon from the icon menu.
(22) Hopefully, this will compile and download the program onto your CY8CKIT-050 and let you start debugging it.
Note: As I don't have CY8CKIT-050 5LP, I could not test further.
P.S. Just in case, I attached my project.
Design01.cyprj.Archive01.zip 445.3 K
> The project you sent working fine and i am able to see P6 pin.
That is good news.
> but in my project i am not able to see that pin.
This means that something is wrong with your project.
By any chance, could you try to follow the steps I showed by yourself?
> Any configuration need to change for this?
The URL you put was not valid.
Please attach the archive of your project using the method shown in the following discussion.
Reading from your description, the scenario most likely happening is
you chose wrong device for your project.
To check this please see the title of the project in the Workspace Explorer.
The name of the project is followed by the name of the device.
In my sample below
Project 'Design01' [CY8C5868AXI-LP035]
Design01 is the project name
CY8C5868AXI-LP035 is the device chosen for the project.
So I imagine that in your project, the device is something different.
To change the device to CY8C5868AXI-LP035, follow the steps below.
(1) Select the line "Project '<project_name>' [DEVICE_NAME]" and right click for the pop up menu
then select "Device Selector..."
(2) "Select Device" window will show up.
Use the scroll bar to find "CY8C5868AXI-LP035" and select it then select [ OK ]
(3) Now the Device name in the right of the project name in (1) should show [CY8C5868AXI-LP035].
(4) If you followed up to here, (I hope that) you can select P6 in the pin list.
Thanks... its working, but If i convert the same program to c# what change i need to do?
I followed the below steps but not working.
1.I removed 4 lines of code from the main.h.
2.I created a a new file under source files called Main.cs
3.Added the below code.
public static void Main()
4. Build and program
But i am not able to see any change even i change the Delay value.
> Thanks... its working, but If i convert the same program to c# what change i need to do?
So I hope that I could answer to "this" question.
And now you are asking how to convert a PSoC Creator Project to C# project.
Which is a totally different question.
I think that is a question which should be answered in your other discussion below.
Meantime, since I hope that I could answer "this" question,
I would appreciate it if you could mark my response as "Helpful" or "Correct Answer".