PSoC™ Creator & Designer Forum Discussions
I'm not sure where this belongs, but I am experiencing what is most likely a memory leak in PSoC Creator itself?
When I leave PSoC creator open, actively working on an active project, for say 12-24hours, I notice that the build time starts to increase. I'm just building the firmware part usaully.
For example, after working for about 12 hours, a rebuild is takes about 13.5 seconds. (I just added a space to the open file and re-built the project). Then, I closed PSoC creator, re-opened the project, added another space, and rebuilt. This time, it took only 2.9 seconds.
This happens with other projects I work on as well.
I had noticed this in earlier versions, and was told that this latest version had some memory leak fixes. They are apperently not all gone.
I'm happy to provide whatever information you need, and have an archive of the project workspace attached, as well as the information from the about screen pasted below.
Thanks,
Scott
-------- From About PSoC Creator:
Environment:
PSoC Creator 4.1 (4.1.0.2686)
Culture: English (United States)
OS Version: Microsoft Windows NT 10.0.15063.0
CLR Version: 4.0.30319.42000
Installed CyInstaller Products:
Peripheral Driver Library 2.1.0
PSoC Programmer 3.26.0
PSoC Creator 4.1
Loaded Plugins:
Name: Feedback Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Add a feedback page to the framework
Name: Customizer Loader
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Loads component customizers.
Name: Addin Discovery
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Discovers PSoC Creator addins (kits, language packs, etc)
Name: Device Catalog
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Device Catalog Plugin
Name: Documentation
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds the topics available in the documentation.
Name: Start Page
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds a start page to the framework.
Name: Output Window Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds the output window
Name: SCC Manager
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Source Code Control Manager is the central class used for SCC actions within PSoC Creator.
Name: Symbol, Schematic and SchMacro Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Symbol and Schematic Factory is used to load, cache, and retrieve symbols and schematics.
Name: Project Manager Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds project management related functionality.
Name: GDE Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Loads the Symbol and Schematic editors
Name: Language Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Supports user files in multiple languages
Name: Workspace Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Workspace Factory is used to retrieve instances of PSoC Creator workspaces.
Name: Project Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Project Factory is used to retrieve instances of PSoC Creator projects.
Name: Toolchain Manager
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: PSoC Creator Toolchain Manager
Name: ARM GCC Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: ARM GNU Generic
Name: ARM MDK Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: ARM MDK Generic
Name: ARM IAR Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: ARM IAR Generic
Name: DP8051 Keil Generic
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: DP8051 Keil Generic
Name: Device Selector
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Adds a dialog that allows the user to select a device.
Name: File Editor Factory Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Add file editors to the framework.
Name: Transport Framework
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides a generic device communication framework for use by other plugins.
Name: Debugger Core
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Core Debugger provides an architecture independent framework for the common debug features.
Name: PSoC Debugger
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides debugging support for the different PSoC families through a GDB back end.
Name: FM Debugger
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides debugging support for FM device families
Name: Device IO Transport
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides device IO support for Cypress devices though PSoC Programmer APIs.
Name: Serial Transport
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides basic serial device support for the rest of the tool.
Name: Bootloader Host
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Provides a host tool to perform bootloading operations.
Name: Background Elaborator
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: PSoC Creator Background Elaborator.
Name: TypeCache Factory
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The TypeCache Factory is used to retrieve instances of TypeCaches.
Name: PSoC Fitter
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: PSoC Fitter Plugin
Name: FM Fitter
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: FM Fitter Plugin
Name: DWR Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Registers resource editors with devices.
Name: DMA Wizard
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Enables quick and correct development of applications that use DMA.
Name: Tuner Plugin
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: Manages custom component tuner executables
Name: Notice Window
Version: 4.1.0.2686
Company: Cypress Semiconductor
Description: The Notice Window displays notices (status messages / errors with managed lifetimes).
hello everyone, hello cypress engeneers,
I downloaded and installed PSoC Creater 4.1 days ago under Windows XP. But I find it can not compile any project with an error message giving in the right window saying that it can not load libclang.dll, and several error message giving in the bottom window say that it can not find the file project.h and so on. I even try to construct an empty project with nothing adding to it, these errors still occur.
what may be the problem? Please help me!
Show LessI have this expression in a parameter validator message field:
Trigger2 valid value(s): `=(!$ShrTrigger2?"blank B")` `=($ShrTrigger1 && $ShrTrigger2)?"A"` `=$ShrTrigger2?"B"
It gives me this error message:
$Trigger2 = Trigger2 valid value(s): Unexpected ')' at offset 25 Unexpected '' at offset 35 Unexpected '' at offset 17.
First, could anyone help me see what the expression problem is?
Second, the reported unexpected positions seem to be wrong (BUG?)
Show LessHi All,
I am a newbie for this system. I have questions about digital GPIO write and read.
1. When I tried to copy code examples to my new project, it shows CY8C5888 and S6E1C3 not compatible and couldn't change to new chip
2. I tried to use port_name+write or port_name+read, but when I build the system it shows that "LCD_CS_write" is undefined.
LCD_CS is a gpio port name, while LCD_CS_write is a output command.
I hope to know how to define a GPIO output macro or function associated to a special PORT or BIT.
I use CY8CKIT-059 Prototyping Kits
Thank you in advance.
Jim
Show LessDear community,
when developing with PSoC Creator and a team of Embedded Systems Engineers, we are using subversion systems like Git to keep track of changes to the software. This is a much better and more modern approach then sending zipped projects from person A to person B, which unfortunately is still very common among engineers all over the world.
Using git, svn or mercurial works great with the most part of our projects, as it's perfect for tracking changes to code files. However, the TopDesign.cysch file constantly gives us headaches. As it is saved in a binary format unknown to subversion systems, changes cannot be tracked, which leads to frequent confusion among the engineer about who did what change last. We had a couple of bugs because the TopDesign cannot be merged from a feature branch, and the engineer just blindly replace it his/her version, without taking into consideration that others also had made changes to the file. We need to log all changes made to this file separately, and inform all engineers about changes.
A solution to this problem would be to change the file format of the TopDesign.cysch file in a future PSoC Creator release. Instead of using a proprietary binary file format, you could choose to write a custom XML format, which would be totally suitable to store all necessary configuration information.
I'd love to hear the thoughts about this within the Cypress Developer Community and also from Cypress themselves.
Show LessIs there a way to mandate the value of a symbol parameter depending on the setting of another parameter? What I mean is
- ParmA: true/false as set in instance
- ParmB: force false if A is false, otherwise, true/false as set in instance
Is issuing a validator error the best that can be done or is there a way to write a formula for B to force or take the setting?
It is clear that this is possible by using component customizers, but I understand the direction is to discouraged it's use and are unsupported.
Show LessHi,
it seems that 4.1 only has about ten examples (e.g. PWM, Timer, UART) installed. All others which are known from 4.0 and prior are not installed. If you want to create a project with example base, those examples are still shown, but then a error message is thrown. In my case this was for 5LP, but I think it's independent from the family.
Can anyone verify this by e.g. checking the example folder of the 4.1 installation (usually "Program Files (x86)\Cypress\PSoC Creator\4.1\PSoC Creator\examples\sampleprojects")? I already did a re-install, but this didn't help.
Edit: forget about the above (except the error message, see below), it seems that the examples are now downloadable by web content. Those examples must be installed manually and seperately - looks like there's no way to install them all at once.
@Cypress, if this is true, make it possible to download them all at once. I like the web based approach, but I want the examples locally. And please also check the above mentioned error message: if the example has to be manually(!) downloaded, then make sure the user is pointed to it instead of giving an error message which really doesn't help (the best way would be to start the download process if the example simply has to be downloaded IMHO).
Regards,
Ralf
Has anyone used openOCD with the PSOC? In the changelogs for openOCD it indicates it has support for kitprog now. I just don't have the clue for using it under Macintosh or Linux just yet.
I've been looking around to see if anyone has made it work.
Now that Cypress is starting to move to allowing other IDE use, I believe that all but the schematic design work can be done on the mac, using something like Intellij Lion, Eclipse, or even PSOC Creator with wine.
I used CrossOver Mac, and launched PSoC Creator under the CrossOver wine port, and compiled. However it does not handle the debugger (understandable!), and the schematic capture crashes and burns each time.
I use VMWare, so this is not critical, but it would eventually be nice to have working. I have written apps for all platforms (windows, mac, linux, ios, android), but I am full time PSOC designer now. I'm open to suggestions (and part time renumeration <smile>).
Show LessI tried filing a case, but it was closed immediately. An email said I had to go to the support community, but the "support" link in the community page points back to the mycases which get canceled and an email is generated telling you to go to the support community to file a case which gets canceled and an email is sent which tells you to......
MiniProg3 no longer works under VMware 8.58, windows 7, Cypress Programmer 3.26.....
None of the usual work arounds are applicable now in the vmx file:
usb.quirks.device0 = "0x04b4:0xf113 skip-reset, skip-refresh, skip-setconfig"
KitProg works, but with the latest sofware update, it is 2 to 5 times slower....
Show Less