PSoC™ Creator & Designer Forum Discussions
For PSOC 4000s:
I'm trying to get an isr to trigger on the falling edge of the comparator (not the low power one, the capsense one).
I'm getting an error of "Error: mpr.M0142: Invalid connection for output "\CSDCOMP:cy_psoc4_csd_v2_comp\:comp" connected to "isr_GPIO:interrupt". (App=cydsfit)"
So obviously I'm not doing it quite right. Would anyone know how to accomplish this task? The code is essentially taken from the example on interrupts.
I've tried following the example code and doing this:
but I don't see why the pin would be necessary, and the compiler seems to agree. Regardless of drive mode on the pin, you get:
"ADD: sdb.M0012: error: Terminals "CSDCOMP.CmpOut,Pin_Sw.external_0" connected to signal "Net_133" have mismatching types."
I'm assuming Net 133 is the net between the comparator and the pin. The error makes sense because the pin implies that you have an external input driving the pin, and the comparator is trying to drive it as well - not what we want.
Thanks.
Show LessThe problem is that when creating a new project I can not find the CY8CPLC20-OCD device with which I am going to work, only a similar one appears.
When I selected the other devices (CY8CPLC20-28PVXI, CY8CPLC20-48LFXI and CY8CPLC20-48LTXI) similar to the CY8CPLC20-OCD, I have trouble programming the card.
My code does not make mistakes but when I want to upload the program I made to the card, it marks an error and in the programming of the card.
Show LessHello,
The amount of RAM that can be checked at PSoC Creater's build or in the Resource Meter view is the sum of the stack size and heap size that reserved space in advance, not the size actually used during program operation.
Is there a way to check the actual stack size and heap size?
Software version PSoC Creator 4.2 (4.2.0.641)
Best Regards,
Naoaki Morimoto
Show LessI have the bridge control panel configured and it receives data correctly, but the graph doesn't show anything. I checked y-axis limits, etc.
Any ideas?
Show LessI work for a university and we use PSOC Creator for one of our classes. We are trying to find out if there is a simple way to deploy PSOC Creator to multiple computers at once such as a silent install or some other method.
I apologize if this question has been asked before, I did a search but couldn't find any solutions.
Thanks.
Show LessGot the CYCKIT-059: https://www.cypress.com/documentation/development-kitsboards/cy8ckit-059-psoc-5lp-prototyping-kit-onboard-programmer-and
with KitProg1 clung to it like terrified kitten to a pantleg ...or perhaps the other way.
PSoC Programmer GUI works great... now... I need to automate this process as simply as possible.
I dug into the CLI doc, but it's apparently extremely superficial even regarding command descriptions.
I'll express myself using a partial example.
Consider following script (I paragraphed it for clarity):
---
version
GetPorts
OpenPort KitProg/1625073A00087400 "C:\\Program Files (x86)\\Cypress\\Programmer"
GetProgrammerVersion
GetProgrammerRevID
GetProgrammerCapabilities
GetPowerVoltage
SetProtocol 8
DAP_AcquireChip
DAP_GetJtagID
PSoC3_GetFlashArrayInfo 0
PSoC3_GetFlashArrayInfo 1
PSoC3_GetFlashArrayInfo 2
PSoC3_GetFlashArrayInfo 3
PSoC3_GetFlashArrayInfo 4
PSoC3_GetEccStatus
HEX_ReadFile "C:\\Doc\\Cypress\\CY8CKIT-059\\CY8CKIT-059 PSoC 5LP Prototyping Kit Code Example\\Hex Files\\CE195352_Blinking_LED.hex"
HEX_ReadJtagID
HEX_ReadImageSizes
HEX_GetRowsCount
HEX_GetRowAddress 0
DAP_ReleaseChip
ClosePort
quit
---
and it's output:
---
version
<version 3.28.0
1 OK
GetPorts
<KitProg/1625073A00087400
0 OK
OpenPort KitProg/1625073A00087400 .
<
0 OK
GetProgrammerVersion
<KitProg Version 2.21
0 OK
GetProgrammerRevID
<0x00000011
0 OK
GetProgrammerCapabilities
<0x0001-0x0006-0x0001-0x0000-0x000c-0x0000
0 OK
GetPowerVoltage
<3.3
0 OK
SetProtocol 8
<
1 OK
DAP_AcquireChip
<
0 OK
DAP_GetJtagID
<2e 16 10 69
0 OK
PSoC3_GetFlashArrayInfo 0
<0x00000100
0x00000100
0x00000001
0 OK
PSoC3_GetFlashArrayInfo 1
<0x00000100
0x00000100
0x00000001
0 OK
PSoC3_GetFlashArrayInfo 2
<0x00000100
0x00000100
0x00000001
0 OK
PSoC3_GetFlashArrayInfo 3
<0x00000100
0x00000100
0x00000001
0 OK
PSoC3_GetFlashArrayInfo 4
E0x01051e2f
0x01305760
0x0105276d
ArrayID parameter is out Flash arrays' range
PSoC3_GetFlashArrayInfo 4 returned 80004005
80004005 OK
PSoC3_GetEccStatus
<0x00000000
0 OK
HEX_ReadFile "C:\\Doc\\Cypress\\CY8CKIT-059\\CY8CKIT-059 PSoC 5LP Prototyping Kit Code Example\\Hex Files\\CE195352_Blinking_LED.hex"
<0x00040000
0 OK
HEX_ReadJtagID
<2e 16 10 69
0 OK
HEX_ReadImageSizes
<0x00040000
0x00008000
0x00000000
0x00000004
0x00000004
0 OK
HEX_GetRowsCount
<0x00000000
0 OK
HEX_GetRowAddress 0
E0x01051e2f
RowID parameter is out of range for Flash Array
HEX_GetRowAddress 0 returned 80004005
80004005 OK
DAP_ReleaseChip
<
0 OK
ClosePort
<
0 OK
<
0 OK
<OK
---
I have following questions:
1. Why output from "SetProtocol 8" is "1 OK" indicating an error? When I don't issue it I'm getting protocol mismatch errors.
2. Is there any command to get FLASH arrays no. for "PSoC3_GetFlashArrayInfo", not to have to cross the max index?
3. Why after loading the proper default example HEX for this kit "HEX_GetRowsCount" returns 0 and "HEX_GetRowAddress" errors no matter for what arg?
AND the most important:
4. What to do after loading that HEX to actually program it into the target's FLASH??
Please notice, I don't want to overwrite the KitProg! I understand that I have to somehow ask the KitProg to update the target.
Thanks in advance for any tips.
Show LessWe have two people developing PSoc 5 projects on two networked computers.
David writes the sofware, and has all the project files on his computer.
I design the 'hardware' on my computer using PSoC Creator 4.2
Whenever I make changes to the hardware (adding components etc) I need to export the project. Running the IDE Export Wizard I am given the options of exporting to 'Eclipse', 'IAR Embedded Workbench for ARM', 'uVision 4', 'Generated CMSIS Pack' or 'Makefile'
Although David has the Eclipse software installed on his computer he would very much prefer to use Microsoft Visual Studio 2017 which is not in the list of options.
Would it be possible to use Visual Studio by choosing one of the other options; is export to Visual Studio available as an add-on; or is it in the 'to-do' list of future releases of PSoc Creator?
Show LessHello,
i have a problem with PSoC Creator, it does not start anymore. It stucks at loading. The message shows "Initializing... CyDesigner.Common.Transport.PPDeviceIO.CyPPDeviceIOPlugin". I have already uninstalled and then reinstalled. Nothing changed.
Show Less
Hello Team,
I have been using Psoc 6 BLE prototyping kit with device CYBLE-416045-02.
Everytime i try to create a project with a BLE module. I encounter this error.
Build error: cy_scb_uart.h: No such file or directory .
However, I have installed new PDL 3.0.4 and retargeted the io in buildsettings . I have also Copy pasted the header and c files of cy_scb_uart from utilities folder to retarget folder?
Please can you let me know what would be the possible steps to get rid of this error.
Thank you in advance,
Chaithanya Sreenivas
Show LessHello All:
Trying to build my first Psoc6 project in Creator PSoC Creator 4.2 (4.2.0.641) and I get the following error
Build error: Hex file generation step failed, see output window for more information.
I am building the default project,exept I did pick the The PSoc62.
I have attached the project.
Appreciate any help.
Giri
Show Less