PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I can program the psoc5 using openocd now, with some caveats. However, if an NVL entry exists, it stops.
I have a project which somehow did something to the NVL.
I understand setting the Reset condition on the Pins can cause this. However, setting the pins to Don't Care doesn't fix this problem, so I suspect something else is causing the NVL to change.
Is there *any* gui / command line interface to find out what is causing the NVL to be set? (so it can be "fixed" in the project?)
This would not normally be a problem, but using openocd to program the psoc halts when the NVL entry is in the Creator generated hex file. I have multiple reasons for using openocd, some of which involve production machines. Others are very fast compile/debug cycle. (https://socmaker.com/?p=1004, and https://socmaker.com/?p=1027)
If I use objcopy, could I exclude that from the elf file for the new obj? (before making a hex file) If so, would it be by address? If so, which address? otherwise, how would I do that exclusion?
Is there a way to use openocd to program the NVL (perhaps kitprog in kitprog mode?) (Just checking)
Thanks!
Show Less
Hi!
I've grown an inherited mess into a now now-useful application running on PSOC 5LP (CY8C5868AXU-035), using PSOC Creator 4.4.
We burn our board FW using KitProg 'dongles' connected to the SWD port + PSocProgrammer v3.29.5 - so far so good.
But we will need to make this a UART bootloaded app, with UART bootloader, for the 'real world'.
[info: currently.. C code: ~49K flash/13K RAM;
296K .cyfit file / 7.5K config.hex
650K project hex file;
future: RAM use will decrease a bit, C flash code will grow maybe 5-10 K]
1. I have documents on bootload and broad understanding, but where is link to ZIP file sources?
Found some old dead Cypress links, or links to irrelevant PSOC4 or 6 platforms...
Do please direct me to current valid PSOC5 code working on PSOC Creator 4.4 so I can begin to
play with it without pulling my hair using wrong/stale stuff, errors etc.
2. Where is the downloadable PC host app? Ideally I would like some command line C code to
download/burn .HEX file - small possibility exists this code might be wrangled onto an Android
platform some future time.
3. Approx expected time from FW burn thru reset into acutal app (not counting 2 sec delay) for a
650K Hex project file @ 115Kbps-8N1 serial rate?
At first glance it seems easiest to me to use exactly the same "soft hardware" from our FW app to build the
bootloader (which has fixed 115Kbps UART used for logging/configuration etc.) so that there is no "discontinuity" between the entities (other than "bootload" vs "bootloadable" distinction).
Any other guidance/tips welcome.
Thanks,
Bill
Hello,
Recently if I open PSoC Designer normally (not as admin) I can open projects but the top file menu ribbon is not available and I can't do any build or debugging.
If I run Designer as admin then the project does not open and I get this error:
has anyone had this problem? Any help is appreciated.
Show Less
Hello Team,
I am using the CY8C5888AXQ-LP096 Micro controller. I have to detect the interrupt for both edges at GPIO pin P6[4] .
I have configure the GPIO pin as mention below and adding the screenshot of configuration also.
1. As shown in Image, MCU_L_BC_TX_RX i.e P6[4] MCU pin configure as Digital input , Enabled Hardware Connection, External terminal , Resistive Pull up , Default state is HIGH and In Input panel selected as interrupt as Both Edges.
2. And In ISR Interrupt type is selected as DERIVED.
3. After configuration clear the interrupt in CY_ISR() function using Pin_clearInterrupt() Function
4. Then gave pulse signal to P6[4] and we have observe that it is only generating the interrupt at Rising edge not detection the interrupt at falling edge.
Could please anyone can guide us How we can configure the detect the interrupt on both rising and falling edge?
And where we are going wrong?
Warm Regards,
Annu
Show Less
Hello,
I am using PSOC5LP to run a SPI Slave wherein the SPI Master is an external MCU.
The SPI master sends total 8 bytes in a single transaction (CS assertion) wherein the first 4 bytes are to be used in a function and the next 4 bytes are for reading.
I am creating a 4 byte txbuffer based on the first 4 bytes received. But it always gets transmitted when the external MCU sends second transaction.
Is it possible to send these 4 bytes on the same transaction? Or is it necessary for the external MCU to send two SPI transactions?
Note : I am currently using SPI Mode 0. Using the functions SPIS_WriteTXDataZero() and SPIS_PutArray().
Please help with this.
Show LessI use PP_ComLib_Wrapper.dll in my project. I have created an object with that dll:
static PP_ComLib_WrapperClass pp = new PP_ComLib_WrapperClass();
and when i try to use the function USB2IIC_DataTransfer , i come up with this error: "I2C_PerformTransaction() is not implemented by this Programmer".
And also when i try to use the function USB2IIC_SendData , i get this one: "USB2IIC_SendData() not implemented for this programmer!"
How can i solve this error? What should i do? I use kitprog 3 "KitProg3 (Bridge/0C170AEE00162400)"
Show LessWrote USB PD sink CAPSENSE to CY7113. To validate the capsense function, we were able to power the CY7113 using a USB PD 3.1 140W adapter.
However, the voltage switching function is not working properly, when I press the CSB1 button (which should switch to 20V) and the slide button, the system seems to have restarted, all the LEDs are off, the voltage on the output terminal is 0, and it returns to 28V again.
I've also tried the 20V adapter, the switching function is working correctly on each capsense within the SPR range. The LED lighting and output terminal voltage are as described in GItHUb.
⇑ Can I use the voltage nagotiation switching function in 140W mode with this resource?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB-EZ-PD-Type-C/EZ-PD-PMG1-MCU-USB-PD-sink-CAPSENSE-140W%E3%82%A2%E3%83%80%E3%83%97%E3%82%BF%E3%83%BC%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88%E3%82%B7%E3%83%B3%E3%82%AF%E9%9B%BB%E5%9C%A7%E3%81%AE%E5%88%87%E6%9B%BF%E6%A9%9F%E8%83%BD%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%84%E5%95%8F%E9%A1%8C/td-p/737823
Show LessHello everyone,
I'm experiencing difficulties installing the KitProg Programmer drivers on my system running Windows 11. Each time I attempt to install, Windows fails to find the appropriate drivers for the device, as illustrated in the attached screenshot. I've attempted the usual methods such as searching for updated drivers through Windows Update, but to no avail.
Could someone guide me on how to properly install the KitProg Programmer on a Windows 11 system, or provide a link to the specific drivers required? Your assistance would be greatly appreciated to resolve this situation.
Thank you!
Show Less
Hi guys,
There is a board which we have produced more than 5000pcs.
But these days we find 6 boards show that the PSOC USB communication is abnormal. The PSOC communicates with the other CPU by USB.
I used the USB analyzer to capture the communication packet:
- INVALID status packet shows "The handshake is missing. "
- ERROR status packet shows wrong CRC.
Can anyone tell me the probable cause?
Thanks.
Best regards.
Zl
Show Less