PSoC™ Creator & Designer Forum Discussions
Creator Version:4.1
Device : 5LP
Attachments: PNG image of C code snip
I iterate through a long loop and transmit a 72 character array over RS-232 if the host computer has requested an array readout.
At first, I used all 4 bytes of my hardware-only FIFO each time and then verified that the FIFO was empty using line 503 before putting 4 more bytes into the array. See attached code snip.. It didn't work - only 40 bytes made it out over RS-232 to the HOST computer (I verified that only 40 bytes were being sent using a scope).
I then commented out lines 505-507 and changed line 508 to increment the index by one instead of 4. Now it works - All 72 bytes are sent correctly.
What did I do wrong with my original attempt?
Thanks,
Show Lesshello cypress community, this is my first post here, i hope that someone can help me.
i forgot my psoc 4 cy8ckit-042-ble connected to the pc during the windows update and now PSoC creator can't find it.
in the device manager of windows i can find my PSoC board but i can't program it because the software don't find it.
i use a psoc 4 cy8ckit-042-ble. when i connect the board to the usb port the led turn on for few second and after turn off, such as the board isn't connected.
scuse me for my english, thanks to all and good work!
edit
in the device manager i find "kitprog programmer" and "kitprog uart" in the group of "other device" with an another called "unknown device", all three icons show a yellow triangle with this symbol "!" inside.
Show LessHello,
I have just experienced an issue using the component window for the ADC_SAR_Seq component
when debugging a PSoC 4 with PSoC Creator 4.2:
The content of the window won't be updated when program execution stops at a breakpoint.
That made me think the ADC isn't running at all.
But by random we found out that the window is updated after each single step (F10 / F11).
If I start program execution (F5) window contents will be still the same at execution stop
due to breakpoint.
Took me a whole day to find out what's going on 😞
Best regards
Michael
Show LessHi,
We are using PSoC 5LP and also using the SPRINTF function in the firmware.
This product uses μItron compliant RTOS.
(1)
Does the sprintf function in GCC support multitasking?
The current development environment is as follows.
-- PSoc Creator 4.2
-- ARM GCC 5.4-2016-q2-update
-- Linker settings
-- Use Newlib-nano: True
-- Use Newlib-nano Float Formatting: True
We think that sprintf may be causing problems due to simultaneous access from multiple tasks.
So I'm trying to use re-entrant "_sprintf_r".
However, the _reent structure must be defined, and the size of this structure is large and memory overflows.
Looking at the GCC document, it is written that if you define "_REENT_SMALL", the size will be reduced.
However, We don't know how to specify it.
(2)
Do you know how to define "_REENT_SMALL" ?
Regards,
Show LessHi,
I am trying to find a way to extract the Display Name property from custom-declared component type:
Here is "my_type" is a custom-declared type holding enumerated elements: Name: t1 (t2); Value: 1 (2), and Display Name: "AAA" ("BBB") accordingly. Parameter "my_Label" is assigned a Type of "my_type" and default Value of 1 (Display Name = "AAA").
Now in the header file I can access the parameter my_Label Value using evaluator `$my_Label` (=1) , and extract the element Name ("t1") using API function:
GetNameForEnum("my_Label", 1).
Q. How can I extract the property Display Name ("AAA") from parameter my_Label?
/odissey1
...
Show LessWe are using the PSOC 4 in our application and it has Boot loader and Boot loadable application both.
I have loaded the boot loader through MiniProg 3 and boot loadable application with the help of Boot loader Host. Both application were loaded successfully.
When I am trying to debug the boot loadable application through MiniProg 3 kit available with us, It doesn't allow us to do so.
How can I debug my boot loadable application??
Please let us know the steps to debug the boot loadable application.
Thanks.
Show LessI get an Asynch Path Warning that I don't understand and can't isolate further. It is caused by adding the standard SR Flip-flop component to a circuit in a PSoC 5LP design.
Attached is an archive bundle of a debug workspace called "Asynch Debug" which contains two simple projects one with the SRFF component added downstream of a Counter component and one without the SRFF. The project with SRFF throws the Static Timing Warning and the one without it does not.
Why does this happen?
Thank You
Show LessHello,
In creator version 4.2, Cy_boot 5.8 cannot compile on certain PCs.
In this case, on the "Update Components" Cy_boot version looks "5.8 downloadable".
Why?
Best regards,
Yocchi
Show LessUsing PSOC Creator 4.2.0.64 for PSOC5.
ARM GCC 5.4-2016-q2-update.
The static_assert macro appears to work however the IDE reports a warning of an implicit declaration. This does not occur in other tool chains, the Keil IDE editor actually evaluates the assert and generates an error warning during edit if something is changed that causes the static_assert to fail. Is there a way to at least turn off all warnings from static_assert?
Show Less