PSoC™ Creator & Designer Forum Discussions
A few days ago, attempting to open two different projects that had worked before, I get the crash message:
"psoc_creator.exe has stopped working"
"A problem caused the program to stop working correctly. Please close the program"
I am on Windows 10 64 bit. I made no obvious changes to the Cypress design suite of programs when the problem occurred.
Uninstalling and reinstalling PSoC Creator did not help.
I think a Windows update happened shortly before this problem, but I do not believe it was between the times it was working and started not working.
I tried to create a new project with my target device, but could not find it (CY8C4 family) in the device list. I did not create the original projects, so I do not know if another device was used originally or not.
Any help would be appreciated.
Thank you.
Show LessHello,
I checked the sample code (CE222867) of MagSense component.
The following description was in the source code.
"Note that this function is a temporary bug fix and this fix will be incorporated in the next revision of the MagSense Component."
When are you going to release a component that fixes this bug?
#This question related to What is the intent of the fix for CE222867?
Regards,
Shimamura
Show Lessfor(int i = 0; i < size_start_num; i++)
{
start_num = UART_ReadRxData();
CyDelay(100);
}
I am assuming that when I use UART_ReadRxData(), I should read data in UART_rxBuffer but looks like it is not.
Simon
Show LessMy basic idea for this code is I will keep getChar from keyboard until I hit ENTER key.
However, it is not working if I type 1 2 3 ENTER. It will stuck in while(UART_GetRxBufferSize() < size_start_num) until I enter 3 more digits then '123' will appear in Tera Term
Code is attached here
Simon
Show LessI’m having a problem building a project that would build on another PC.
I’ve recently installed PSoC creator on a fresh Windows 10 VM (on a Mac host).
I’ve installed all Windows and PSoC Creator updates and also installed PDL 3.10. I did receive an error when trying to install C++ 2017 redestributable required by PDL 3.10 because I have a newer version installed than the one suggested by the PDL 3.10 installer, but otherwise PDL 3.10 appears to be installed (components in Creator 4.2 are listed as 3.10).
When I clean/build the project I get the error:
Here’s the project setup showing the error:
I’ve tried uninstalling / reinstalling PDL 3.10 and deleting the ADC component and re-inserting it from the component list in Creator, but still get the same error.
How can I fix this, please?
Show LessHi all,
I'm working on a project using CY8C5287AXI-LP095 under PSoC Creator 4.1
My application receives a basic set of commands from UART
The communication interface is based on 485/MODBUS protocol.
We are looking for a strategy to include the firmware update over Modbus.
Since 89% of the flash memory is unused and no external Eeprom is available, presumably the whole image of the firmware update could be stored in a dedicated area of flash.
In summary:
1) The new firmware is received from UART and stored in a dedicated area of flash.
2) When the transfer is completed, we set a flag for the bootloader and the we reset our system.
3) The Bootloader finds a new firmware available, so starts the update process reading from the flash area.
4) After a reboot the firmware has been updated .
Now my questions are:
How can I reserve a dedicated area of flash?
Is it possible to introduce any kind of memory protection, in order to prevent the unintentional firmware corruption?
Regarding the Bootloader, may I write my custom API functions for updating the firmware from flash?
Any sugestion or clarification will be very appreciated.
Thanks.
B.R.
Giorgio.
Show LessHi,
I am working on multiple custom components, which have same property field (e.g. Display_Name). So in the "Types..." section of each component I have to declare same custom type "Display_Name_Type", which is quite tedious and strange, since it is same type, shared by many components.
On the other hand, the drop-in menu in Parameters Definition shows many pre-registered parameter types (e.g. AMux_AMuxType, etc.), which registered somewhere once and can be used for all components.
Q: How to declare a custom property type (e.g. "myTestType" ) and register it with Creator, so it would show up in the drop-down menu, and could be shared among multiple components?
/odissey1
Show Less
So I want to use UART to write code that program won't run until I type in a character in UART.
my code looks like this
for(;;)
{
while((UART_ReadRxStatus()& UART_RX_STS_FIFO_NOTEMPTY) ==0 )
{
data.command = UART_GetChar(); //put input character as command
}
while((UART_ReadRxStatus()& UART_RX_STS_FIFO_NOTEMPTY) ==0 )
{
data.size= UART_GetChar(); //put input character into size
}
}
and it is not working correctly after I type in first character. It never stuck in while loop after UART received first character
Show LessHi,
I would like to create an embedded mySQL client running on PSoC (PSoC 6, to be specific). I will connect to the Internet via a Ublox SARA module.
I've found a few Open Source mySQL connectors for Arduino, and these could be adapted, but I wonder if anyone has already done this for PSoC, or general 'C', especially if they've already done the glue to the UBLOX AT command set.
Thanks!
Larry
Show Less