PSoC™ Creator & Designer Forum Discussions
text.format{('custom.tabs.no.results')}
I get a "System.NullReferenceException" when I perform a "Generate Application". Yet if I copy ALL the components from one schematic page and paste them into second page and disable the first page. I perform a "Generate Application" and get no errors.
This is the case whether I use Creator 4.1 or 4.2.
Attached is a simple project. The offending page is enabled and the second page (working one) is disabled. Perform the "Generate Application" yourself. If you get the error as I did, disable the first page and then enable the second page. Perform another "Generate Application". It should complete with no error.
Len
Show LessI recently started playing around with a couple of CY8CKIT-059s for a project that I'm working on. Unfortunately, I'm not able to get the USBUART drivers to install. I've tried:
1) Plugging the dev board into 4 different Windows 7 64bit PCs.Windows looks for the driver but eventually gives me an error and says that it can't find drivers for the device.
2) Uninstalling the device via the device manager, rebooting, and repeating step 1. This gives the same result.
3) Uninstalling the device via the device manager, downloading the Cypress USB-Serial installer from here and installing the drivers. The device still doesn't work and Windows doesn't see drivers for it.
4) Under the folder where the Cypress drivers were installed, running CyDriverInstaller_x64.exe. This briefly brings up the command prompt and says "Please rerun the driver installation setup for driver repair operation." I've tried both a) running CyDriverUninstaller_x64.exe and then rerunning the installer, and b) removing everything from the USB Serial Driver folder using their uninstaller, reinstalling the driver package, then reinstalling the 64 bit driver. Regardless, I still get the message telling me to rerun the installation setup for repair.
All the installers have been run as an administrator, and when I reinstalled the driver package, I made sure to do so outside of the Program Files folder.
Does anybody have any recommendations or ideas as to how to get these drivers installed and running correctly?
Show LessWe have received a run of PCBs, where touch button have just about 45pF parasitic capacitance, and we are worried to use them since this is right on the limit. Is there a way to disable automatic shutdown off the buttons when >45pF capacitance is detected.
Show LessI know that the various Cypress development tools are supposed to be C99 compatible.
Though this is by now a very old standard, it's commendable to at least aspire to this compatibility.
One of the important improvements to the C language that was part of C99 was the introduction of the <stdint.h> header file that defines fixed-sized integral types in a compiler-independent way.
Despite this, the Cypress header and source files continue to use Cypress' own fixed-size integral types instead of those from <stdint.h>. This header is actually included in <cytypes.h> but not used in Cypress' code.
Why not step boldly into this millennium and replace those typedefs with the C standard ones?
That is: instead of uint32 use uint32_t, etc.
Customers' legacy code can still be compatible through the existing <cytypes.h> header, but there's no reason for Cypress' own code to use the old definitions. So instead of the current definitions in <cytypes.h>, this header could just do this:
#include <stdint.h>Show Less
typedef uint8_t uint8;
typedef uint16_t uint16;
typedef uint32_t uint32;
typedef int8_t int8;
typedef int16_t int16;
typedef int32_t int32;
/* Signed or unsigned depending on compiler selection */
typedef char char8;
#if(!CY_PSOC3)
typedef int64_t int64;
typedef uint64_t uint64;
#endif /* (!CY_PSOC3) */
When I am using PSoC Creator and Scroll the program will abruptly quit. It will also happen sometimes when I click on tabs. I haven't had this happen on any other program that I am running. This is also recent like just this week. I tried uninstalling and reinstalling and it seemed to work for a few hours fine then it started closing again with no error message or anything. Thoughts?
Show LessHello together,
I tried to run the PSoC 4 CAN Basic Example Project on my CY8CKIT-046 PSoC 4 L-Series Pioneer Kit.
I can build and download this project but when I run it, nothing expected happen (no signals on the CAN tx output pin, and no communication over the serial port.
Then I started the debugger and now I got the Error: dbg.M0015:
Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information.)
When I activate under Tools, Options, Program/Debug, On Run/Reset, run to: Reset Vector, I can get a bit more informations:
Now the debugger starts without a failure, it stands on void Reset(void) with Step I can get into the function Start_c()
where the memory seems to be initialzed correct.The error dbg.M0015 happen when __libc_init_array(); is called. main() would be the next call after __libc_init_array() but it seems that main() is never reached. I tried all the things which I found on the net like:
.cydwr Programming\Debugging, Debug select to SWD (serial wire debug) and the
Flash security all to Unprotected
I work with PSoC creator Software 4.2.0.641.
The same behavior happen with Windows 10 and Windows Vista.
When I create a short project which write some Informations to the serial port all work fine (serial port writings and debugging).
Has someone make the same experiance with the CAN example?
How can I find a solution for this problem?
Thank you very much for your help.
Best regards
Domare
Show LessMy MiniProg3 stopped being recognized by one of the development machines I use. It works on another. I thought maybe if I went ahead and updated PSoC Programmer, an updated driver would be installed possibly that the machine it was working on had.
When I attempt to update PSoC Programmer through Cypress Update Manager, I keep getting server errors. Sometimes at different points in the update process, some right at the beginning, sometimes after it's downloaded the first file. My coworker is also getting these update server errors. Are the Cypress update servers down at the moment?
Show LessI have designed an SWD debugger interface multiplexer that multiplexes 3 SWD signals (VREF, SWDIO, SWCLK) to 48 ports.
I use it on production to program or debug one of 48 devices using only one SWD debugger (Segger J-Link).
The PCB consist of six 1:8 analog multiplexers driven by STM32 Cortex-M0.
I would like modernize the design and use one of Cypress PSOC equipped with AMuxHW (Analog Hardware Multiplexer).
Can somebody point me at right direction which Cypress's device should I use to multiplex 1 to 48 SWD interfaces (3:144 line multiplex)?
Hi,
I am building the "CYPD3125-40LQXI_notebook" sample project from the "CCGx EZ-PD SDK 3.0.2" package in PSoC Creator 4.2 with no modifications of my own. The build error: "lto-wrapper failed" keeps appearing.
After some googling, I found that this is a known issue after PSoC Creator was updated to a newer version, but no one posted a solution besides the suggestion of renaming cm0gcc_*.ld to cm0g_*.ld, which didn't work for me. I also tried deleting all the *.o object files and do a clean build, but same error comes up. I already updated the components in the sample project.
Does anyone know a solution? This is my first project in PSoC Creator.
Thanks,
Jon
Show LessWhat does this line of code do? (void)<variable>;
Below is an example:
case CYBLE_EVT_GAP_AUTH_COMPLETE:
authInfo = (CYBLE_GAP_AUTH_INFO_T *)eventParam;
(void)authInfo;
DBG_PRINTF("AUTH_COMPLETE: security:%x, bonding:%x, ekeySize:%x, authErr %x \r\n",
authInfo->security, authInfo->bonding, authInfo->ekeySize, authInfo->authErr);
break;
Show Less