PSoC™ Creator & Designer Forum Discussions
Are there old releases of the kitprog firmware and is there an easy way to load them into a kitprog adapter?
New CY8CKIT-059 boards are shipping with version 4.19, the GUI tool will only write 4.18; but, I can only get version 4.11 working under Linux with openocd. I may be able to use something between 4.11 and 4.18, I just know that 4.11 works and 4.18/4.19 don't.
Thanks
Mike
Show LessHi,
I'm using printf with a variable of type uint32_t. Variables of this type have a fixed with of 32 bits, so this equals to long int in C. Is this true?
So, for printf, the correct format string is:
printf("%lu", Var); //%lu => long unsigned
Now, it's getting strange: If I use %lu, I get no error in the notice list after a build, but a error indicator in the corresponding line of the source editor window, saying "format specifies type 'unsigned long', but the argument has type 'uint32_t' (aka 'unsigned int')".
If I use %u, the error indicator in the source editor window wents away, but after a build a warning is shown in the notice list: "format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32_t {aka long unsigned int}"
This is confusing. I know I can use
printf("%lu", (long int)Var);
which eliminates both error indicators, but I wonder why there are errors different positions (source code window vs. notice list), and why %lu gives an error - %lu should be right IMHO.
Is the behaviour regarding the error messages a bug of PSoC Creator? Should I file a case about it?
Regards,
Ralf
Show LessHello,
I would just like to report a network error for the CY8CKIT-149 kit (other appear to be checked for an update fine). This appears in the newest production PSoC Creator, but I think it was also in the previous 4.1 version.
David
Show LessIs there a way to prevent the Emulated EEPROM component API from generating a Doxygen mainpage? This page, while interesting, is not the first thing I want readers of my documentation to see. Here is the offending code, from the generated file cy_em_eeprom.h:
/*******************************************************************************
* \file cy_em_eeprom.h
* \version 2.0
*
* \brief
* This file provides the function prototypes and constants for the Emulated
* EEPROM middleware library.
*
********************************************************************************
* Copyright 2017, Cypress Semiconductor Corporation. All rights reserved.
* You may use this file only in accordance with the license, terms, conditions,
* disclaimers, and limitations in the end user license agreement accompanying
* the software package with which this file was provided.
*******************************************************************************/
/**
* \mainpage Cypress Em_EEPROM Middleware Library
*
* The Emulated EEPROM provides an API that allows creating an emulated
* EEPROM in flash that has the ability to do wear leveling and restore
* corrupted data from a redundant copy. The Emulated EEPROM library is designed
* to be used with the Em_EEPROM component.
...
Show LessI need to make a custom build of Capsense_P4Library_GCC.a library. Where can i download the source code that builds to create this library? I did not find it in the PSoC Creator 4.2 installation. I need to do this for CY8C4147-S455 part.
Show LessSoC Creatorにて下記の動作をさせたいと思っています。
a)CreatorにてBuildを行いHEXファイル生成
b)生成されたHEXファイルを元に外部アプリケーション起動し、ROMチェック値を算出
c)bで算出されたROMチェック値をC言語ソースに埋め込み、再度CreatorにてBuildを実行
上記、a)からc)までの動作を行うためにバッチファイルを作成し、Build SettingsのUser CommandsのPost Buildに追加しましたが、マニュアルを見るとPost BuildはHexファイル生成後に実行されると記載されていますが本当でしょうか。また、c)のC言語ソースにROMチェック値を埋め込むところまでは出来ますが、バッチファイル上で再度Creatorを実行させる方法が分かりません。バッチファイルにてCreatorのビルドを実行させる方法はありませんでしょうか。
Show LessHi,
I've updated to 4.2, updated a project and its components, rebuilt it and now I'm getting errors:
- Failed building customizers for Downloads ( 4.1)
- Meta file 'C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\psoc\content\CyPrimitives\CyPrimitives.cylib\cyprimitives.dll' couldn't be found.
- The instance 'ADC_SAR_1', of component ADC_SAR_v3_10, contains an error. Failed to load assembly, 'C:\Users\[MYNAME]\AppData\Local\Cypress Semiconductor\PSoC Creator\4.2\customizer_cache\Downloads ( 4.1)_8da9065af29ef3682afde5b5d3379a422332b0f0c5f0c738cba92c6609f3af24
The last message is there for several components. Interestingly, the error messages are referring to downloads for 4.1, not 4.2. Not only in the paths, but also in the project column of the error message list (I assume that the 'downloads (4.1)' project is a hidden project added due to project dependencies).
Already tried to delete the 4.2 customizer cache directory, which forces a rebuild of the customizers, but no luck.
Any ideas how to solve this without having to create a new project file?
Regards
Show LessI have been able to do a loopback with SPI in Creator and I have been able to create and use an internal RTC using the clock crystal. I cannot find any examples of how to add an external SPI slave to the top level schematic design. Any assistance would be greatly appreciated.
Show Less