- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone
I'd like to set up the CapSense [CSD v2.0] on CY8CKIT-049-42xx PSoC 4 with the onboard bootloader, but if I follow the example posted here I get this error messages:
implicit declaration of function 'CapSense_Start' [-Wimplicit-function-declaration]
implicit declaration of function 'CapSense_InitializeAllBaselines' [-Wimplicit-function-declaration]
implicit declaration of function 'CapSense_UpdateEnabledBaselines' [-Wimplicit-function-declaration]
implicit declaration of function 'CapSense_ScanEnabledWidgets' [-Wimplicit-function-declaration]
implicit declaration of function 'CapSense_IsBusy' [-Wimplicit-function-declaration]
implicit declaration of function 'CapSense_GetCentroidPos' [-Wimplicit-function-declaration]
Build error: undefined reference to `CapSense_Start'
Build error: undefined reference to `CapSense_InitializeAllBaselines'
Build error: undefined reference to `CapSense_UpdateEnabledBaselines'
Build error: undefined reference to `CapSense_ScanEnabledWidgets'
Build error: undefined reference to `CapSense_IsBusy'
Build error: undefined reference to `CapSense_GetCentroidPos'
I attached the project to simplify the diagnostic. I don't know if there's a directive of protection on flash memory in this case (talking of bootloader). It could be, but the problem is elsewhere; I believe...
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the fascinating world of PSoCs!
That is just a typo:Your component is named "CapSense_1". When you rename it to "CapSense" the errors shown will disappear. With some bad luck, some new errors may pop up.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will also have to fix the dependencies for the bootloader as that is still
producing an error.
http://www.cypress.com/?rID=50230 AN68272 UART BL
http://www.cypress.com/?rID=41002 AN60317 I2C BL
http://www.cypress.com/?rID=57561 AN73503 USB HID BL with GUI Host
http://www.cypress.com/?rID=56014 PSoC® 3, PSoC 4, and PSoC 5LP Introduction To Bootloaders
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you everyone, but even if the software is compiled, it doesn't work.
I followed your tips; for example to rename the component to "capsense" or to add the dependencies to the bootloader through the setting of UART_Bootloader (hex/elf files) into "bootlodable" component after insertion of project such as part of SCB_Bootloader sub-group example projects. So, with this tips the compiling round off, but it doesn't work still...
I even set up the Design-Wide Resources like this...
and in this picture I show you the physical connection from cap_panel (that I made) to the board http://goo.gl/EoFUDk .
I have no idea what is wrong. Could you help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in main.c line 40 to 43 you have a dead-loop that just prints.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed Bob!
I forgot that loop for mistake; but it doesn't import, because it should have already commented before posting the zip file.
I apologize for this forgetfulness.
It was only a simple test for serial component, that hasn't worked to me... (with Putty...)
Anyway, if you delete the loop, the program doesn't work. Tomorrow, I shall try again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since you are not using the Pioneer Kit but the Prototype board the question is: Where do you have got the pcb patterns from to make a linear slider? How did you make the connections??
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob.
Just today, I improved my code and I solved some problem with Serial and CapSense, that now work (even if I think not properly...).
I made a simple linear pcb pattern with 5 rectangular pads on a piece of copper plate, that I painted to protect the touch zones. It work! But I'm looking for to improve the pattern.
It should have been used for a simple pattern of touch buttons, but I developed a linear slider to start from a known example.
If I solve all problems, I will post this project on my blog; this in the next future.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a video on PSoC Creator 101 series that explain a "similar" project...