PSoC™ 5, 3 & 1 Forum Discussions
I learn linker script recently and there are two commands which confused me. They are EXTERN and PROVIDE. In these article, it said EXTERN is force symbol to be entered in the output file as an undefined symbol. I try to add EXTERN(test) in the linker script and why can it compile and link successfully? I mean the test is undefined symbol, why can it link without any error? And for PROVIDE command, in my understanding, it is mainly avoid multiple definition and I try to add symbol test = .(without PROVIDE)in data section of linker script and declare variable int test in my source code, but why there is no error when linking? Shouldn't it be multiple definition error?
Show LessHello,
I've been using CY8C29866 for 10 years in our design and it's been working very well until recently that I am having issues with writing to EEPROM.
I use I2C bus to flash the Hex file in EEPROM from another microcontroller for field upgrades. This has been very well until several months ago that whenever I build the code with PSoC Designer and program the chip, then try to do a field upgrade and flash EEPROM with a minor change in HEX file the same way it sued to several months ago it crashes.
to be exact the line in the HEx file writes correctly but then I believe bFlashWriteBlock crashed trying to write the second line.
Show LessHello,
I am trying to program a CY8C24423A with a First Touch Programmer from PSOC First Touch ultimate starter kit via ISSP.
Programming is always terminated with this error message:
Detected SiliconID: "00 01 01 15" is not in database
There is only µC on the board, everything else was removed (no pull down on Reset, nothing on CL and DA just 100nF between VDD and GND. Connections (VDD, GND, Reset, CL and DA are checked)
Same error message when I disconnect the CY8C24423A from the programmer (FTPC Bridge) completely.
When I connect the expansion card from the PSOC First Touch ultimate starter kit, everything works.
I tried PSoC programmer 3.29.5 (3,3 and 5V) and PSoC designer 5.4
I tried also external VDD 5V
I tried 2nd µ-C
Any Ideas?
Thanks
Jan
Show LessHi,
for my UART port pins there is no API generated.
Under Mapping Contiguous is selected.
Whats going on?
I need the complete specifications of CY8KIT-059 5LP in order to know exactly the user available addresses of EEPROM, and size. Can somebody tell me where is the document or share it?
Show Less
Hi fellows,
Could anyone tell why I receive a run time error related to comparison of integers, something like this:
uint64_t myNum;
if(myNum >= (uint64_t)0xFFFFFFFFU) {//do something}.
My function refuses to do the comparison and returns the value of 2^31, which is unexpected.
Thanks in advance.
Show LessHello everyone!,
great to join this community I am currently a student and my first time having PSoC.
I have this display QC12864b which I would like to play with but I am not sure why its not working where the display is only blue. I want to do graphics and all but first I just wanted to test and print like Hello World.
This is what I have currently
I wanted to use UG8 library to control but its mostly written for arduino platform. so if anyone have some example code on how to go with this I will really appreciate it.
Show Less
Hello,
The attached I2C_4_INT.c contains code created by the creator. I did not modify it.
When I'm trying to read from PSOC, after few times, I got an exception caused by line 509 (CYASSERT)
...
}
else
{
#if(I2C_4_TIMEOUT_ENABLED)
/* Exit interrupt to take chance for timeout timer to handle this case */
I2C_4_DisableInt();
I2C_4_ClearPendingInt();
#else
/* Block execution flow: unexpected condition */
CYASSERT(0u != 0u);
#endif /* (I2C_4_TIMEOUT_ENABLED) */
}
What can cause this undefined state ?
The attached I2c.c contains 2 routines to read I2C message from host (I2cSlaveRecieveMsg) and send I2C message to host (I2cSlaveSendMsg).
Can you please tell if this code is wrong ?
Thank you,
Zvika
Show LessI keep getting this error when I connect my MiniProg3
I've tried re-installing the program, drivers but nothing seems to work. Any suggestions?
Show LessHi, I am currently using the CY8C5888AXI-LP096 for a project. I have connected the XRES(Pin 15) line to a port for programming so that I can support programming in the field.
During testing, i found that the line can glitch, which seems to cause instability in my design.
Is there a way to disable the XRES line during normal operation?
I was reading some documentation and it mentioned that in the NV Latch register I could toggle the XRES to a GPIO pin. But Looking through my code base, I can't seem to access the NV Latch register. How do I access the NV Latch register?
I have tried using the optional XRES setting, but that changes pin#22 to the XRES line, and what i am looking for is how can I disable the XRES on pin #15.
If there is no way to disable (pin#15 XRES), what would you recommend to do to stabilize my system, but still have the capability to program the MCU?
Any help would be appreciated.
Thank you.
Show Less