PSoC™ Creator & Designer Forum Discussions
I have a product that uses a CY8C29556, but due to the chip shortage it is not available. For a temporary sub, I've found the CY8C28533, which might work instead. I'm trying to recompile the program written for the CY8C29556 to work on the CY8C28533. The program was written in PSOC 4.4 which doesn't support CY8C28XXX microcontrollers. I've tried downloading PSOC 5.4 and recreating the project, but I get an error
"addr 0x7fe0 rtcnt 4 MAX 0x4000 !X The compiler has failed an internal consistency check. This may be due to incorrect input or an internal error. Please report the information addr+(rtcnt-2) <= image->size at ..\lksubs.c(175) to "support@imagecraft.com" make: *** [output/Cy8C28533.rom] Error 1"
Is there a version of PSOC or an addon that I can download that supports CY8C28XXX micros and can compile a PSOC 4.4 program?
I am Using the Controller CY8C29466-24SXI . In that Just Configuring the Port Pin to Turn ON And OFF the LED . But Controller Not responding its Points to Always HIGH State .
Source Code :
void main(void)
{
M8C_EnableGInt;
PRT2DR = 0;
VLT_CR = VLT_CR_4V5_POR;
while(1)
{
PRT1DR = 0x00;
PRT0DR = 0;
PRT2DR = 0;
}
}
Note : PORT Pins were Configured as Respective Global Out
Kindly Help me if I Miss anything on the Global resource Configurations Parameters
Show LessThe device is developed using PSOC5 (PSoc Creator 4.3) on CY8C5888AXI-LP096.
Although cyPm.h is generated by the code generation at compile time, the following generated code causes a compile error.
#define CY_PM_WFI asm volatile ("WFI \n")
"__asm" should be generated, but "asm" is generated.
Please tell me how to solve it.
Show LessHi,
I'm hoping someone can provide some wisdom to officially solve a compiler/linker issue that I'm encountering with Keil.
I'm a seasoned programmer with the ARM GCC environment but relatively new to Keil.
I'm trying to call the cy_boot CyLib call to CyGetUniqueID() API. When I use this call on a PSoC5 at the application level in main() and it also gets used in the USBUART component on the ARM GCC, NO ISSUE!
However, moving the code to a PSoC3 with Keil, I get the following warning:
*** WARNING L15: MULTIPLE CALL TO FUNCTION
NAME: _CYGETUNIQUEID/CYLIB
CALLER1: ?C_C51STARTUP
CALLER2: TERM_USBUART_EP_0_ISR/TERM_USBUART_DRV
The Keil help file provides the following for this warning:
Warning L15
Summary |
*** Warning L15 |
Description |
The specified segment is called from two levels, CALLER1, and CALLER2; e.g., main and interrupt program. This has the same effect as a recursive call and may thus lead to the overwriting of parameters or data. |
On this API call, there is no parameter data that changes. It just returns values from registers.
Sadly, even though this is a "Warning", it fails the linker phase.
What is the proper way to satisfy the linker to allow a completed build?
Show LessHello, I bought a CY8CKIT-046 and working on a project that requires audio file from SD card to be played back. Do you have an example project for the same for this kit?
Show LessI'm using some software enable counters in One Shot mode to create trigger pulses of a specific duration.
I have a situation where I need to trigger a camera array, then move a microscope stage in the Z axis. To accomplish this I'm using an ISR which checks for a Camera ready signal. the ISR switches the output for a demux and then resets the counter to generate a pulse.
Because the camera ready signal takes 100us to go false after it is triggered, I also needed to use a second counter to generate a signal to block the ISR from entering prematurely.
While setting this up I discovered a strange issue where the reset pin of the counter is set low, I call the Counter_Start(); function, and the counter is frozen.
One WOULD assume that when you call the Counter_Start(); function on the software enabled counter, that it SHOULD start counting then stop with TC high. Instead it does nothing, it's not even defaulted to TC high, which would be very helpful for automation.
This cannot be how this counter is intended to work. If it is WHY? The only way I can get the counter to start, is to send a pulse to the reset pin. This isn't a big deal for the counter reset by a control register from the ISR, I can simply toggle the control register on start up to prime the counter; however, I need to add an or gate and another control register to prime my other one shot counter.
This adds extra complexity and utilizes resources unnecessarily .
Is this something that is being addressed? A Start() function should "Start" the counter.
Show Less
Hi,
I'm getting an error from the phase of the build that converts the omf file to elf.
The command 'c8051-elf-omf2elf.exe' failed with exit code '3221225477'.
What error is it and how can I 'fix' my code to address it?
Show LessHello,
I'm try ing to find Cypress Flash File System to use S29GL064S NOR flash with PSoC 5LP. Datasheet links get me to Infenion's pdf flyers, and the FFS seems to be elsewhere.
How can I get the BD and FFS, as described like this:
Infineon Block Driver (BD) + File System (FS) – A FAT- based flash file system that can be used as a standalone FFS driver, or that can be integrated into your OS-based system
on the page:
Thank you in advance -
Dimitri
Show LessHello together,
we are evaluating PSoC 63 BLE Module CYBLE-416045 on the Prototyping Kit for a customized BLE application.
The most important topic at the beginning is to validate the OTA firmware update via BLE, because this is a mandatory requirement from our customers.
We found some different example codes here in this community forum but none of them is ready to use or even compileable!
Can anyone provide us a running example project for the Prototyping Kit with PsoC Creator 4.4 and PDL v. 3.1.5?
The programming part should be done via CySmart iOS App v. 1.3.0.102 because this is really close to our required use-case.
Best Regards!
Show LessI am programming a CY8C5488AXI psoc. The program built successfully in the past. Now (after a few months), when I build it, I get the following error ( using PSoC Creator v4.4. with toolchain ARM GCC 5.4-2016-q2-update):
C:\ELENTECH Projects\Distiller Control\PSoC\Distiller_Control\Distiller_Control_Proto.cydsn/proj_support.c:2176: undefined reference to `roundf'
collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
--------------- Build Failed: 12/22/2021 10:17:52 ---------------
This error refers to the following statement that calls roundf() (supposedly in math library):
temp = roundf(DAC_ONEDEGREE_COUNT * ((float) degrees));
The program has the #include <math.h> statement, which should declare the roundf() function.
Any suggestions/comments?
Thanks!