- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
Greetings.
I just received my Pioneer board for PSoC 4, CY8CKIT-042. I'm new to it, so curiously trying to get it to work.
To do that, I have downloaded the PSoC Creator 3.1 SP3, I also have PSoC Programmer 3.22.3 installed. With this after getting my pioneer board, I started with the LED Blinking project. I did the design & coding in Creator, then built it, was successfully built.
Then I connected the pioneer board to PC & tried programming it, but could not do that; as I was getting the error: -
Port Acquire Failed
Device may not be connected or the port may in use by another application
Please guide on the same. Do I need to install anything else? How to resolve it?
Waiting for positive & quick response.
Thanks & Regards-
Amit
- Labels:
-
ispn:39611:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had a similar problem first time using psoc 4. My recommendation is that try removing the programmer version 3.22 and load version 3.23.
Moreover, I am using psoc creator 3.2 which is a newer version than yours. You can update the creator as well. I do not think the problem is because of that, but I wanted to tell you anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sometimes simply unplugging the USB cable and re-plugging it in will
renegotiate the connection.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Dana & eee student,
Greetings.
It was as you said, Dana. It did worked good.
Now I was trying to get some more example projects, so I scrolled down to Examples & Kit's Tab on the Start page of the Creator. There I saw 2 options as follow:
Find Example Project....
No Kit Packages Installed
In turn I could not find Specifics as -
Kit's:
CY8CKIT-042
Blinking LED.cydwr & others as mentioned in Pioneer Kit Guide for CY8CKIT-042.
I also tried refreshing it but could not have it. What could be the reason for this?
Please help me getting device specific example projects, they could help a lot. Waiting for your response to proceed.
Thanks & Regards-
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go here and download the Kit only file and do the install -
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Dana,
Now I was trying to configure 2 of the slider segments on board as CapSense Buttons, Namely(Seg0 & Seg5). To do that I was refering to the code from Example project with CapSense slider.
In that how to define, initialize & make them work with CapSense? Please guide.
I have tried some, but it gives me error like:
error : CapSense_SENSOR_BUTTON0_BTN undeclared (first use in this function)
warning : implicit declaration of function PWM_WriteCompare .
if you have any project with CapSense buttons please share.
Thanks & Regards-
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For this, check the component name you gave the PWM -
warning : implicit declaration of function PWM_WriteCompare .
Should it be PWM_1_WriteCompare() ?
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dana,
The name given to PWM component is PWM only, there is no mismatch of the name. so I think PWM_WriteCompare() should be fine.
Regards- Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regarding projects on the start page of Creator there is a "Find Example Project"
link, there are several for PSOC that you can look at.
Also consider post your project so that forum can take a look at errors.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Dana,
I got it sorted, it was that I didn't needed the PWM & about the buttons, I had reverse initialized the LED's.
Now its working ok.
Second I wish to go for the Matrix type buttons. What will be the pre-requisites I will need for that? Do I need to define a table for the Matrix pattern? Please guide.
Thanks & Regards-
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another example -
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Dana,
I should have look at them. Will get back to you guys for any requirwd help.
Regards-
Amit