PSoC™ 5, 3 & 1 Forum Discussions
i hope you can help me a little bit.
At the moment I am trying to program a PSoC 5 (CY8C5268LTI-LP030) with the CommandLineInterface.
Unfortunatey it isn´t working properly 😞
What have I done...
At the moment I am using this commands in a script:
OpenPort KitProg/0720063201324400 C:\Program Files (x86)\Cypress\Programmer
PSoC3_ProgramRowFromHex 0x03 0 0
Till the command "PSoC3_ProgramRowFromHex 0x03 0 0 " everything looks good. But while using this command I get following error message:
"PSoC3_ProgramRowFromHex 0x03 0 0
Timeout of SPC polling. Lost communication with chip (Status = 0x00)
PSoC3_ProgramRowFromHex 0x03 0 0 returned 80004005
And I am not sure how to fix it. I don´t know the problem... Is there anybody with an idea how to fix it?
Is there a command to program the whole hexfile without the rowId and arrayId? For example the command Program(). Unfortunately the UserGuid tells me it is only for PsoC1 😞
And is the arrayId 0x03 the correct id?
Many thanks in advance. I hope somebody can help me! 🙂
Ando some more informationen.
I am using a KitProg2 and the programming with PsocCreator oder PscoCProgrammer is working without any problems. So I guess there is no hardwareproblem.
I'm using a CY8CKIT-059 in combination with TeraTerm. One thing I can observe when downloading a new binary is that the KitProg UART gets a bunch of garbage and confuses TeraTerm, which needs to disconnect and connect again.
Interestingly, other tools behave different:
YAT: gets just a few characters including escape sequences
HTerm: same as YAT
PuTTY: can't see any garbage
Currently it looks like the effect pops up mostly if the application sends UART messages after reset by itself (e.g. without receiving a message first and then send an answer), but I've to verify that. I assume that when KitProg is resetting the device within a character transmission, the application might interpret it as some escape sequences or something like that. I also can see the effect at a much lower rate and much less garbage if the application doesn't send anything at startup, so even transmitting nothing is not the (full) solution.
Disconnecting and reconnecting is not a big issue, it's simply annoying if you've to do it everytime a binary is downloaded. Since also YAT and HTerm show at least 'some effect', I want to suggest that the KitProg firmware disables the UART while downloading a binary.
I am trying to implement a control functionality for the LCD backlight in my application, where the backlight of the LCD needs to be switched OFF after an interval (~10sec) maybe using an interrupt, without affecting the program's execution.
The system consists of a PSOC5 LP, 16x2 LCD, a temperature sensor over ADC, and a pushbutton (or a 4x4 keypad - I know the method of detecting the keypress is different), which can act as a trigger.
I think the approach is to use the timer, and trigger it with a pushbutton (or 4x4 Keypad - preferred) to generate an interrupt after a period has elapsed and then turn off the LCD backlight, without halting the execution of the program completely (like printing the temperature value continuously even after backlight is OFF), which I think would be to use the One-Shot mode of the timer.
Using the One-Shot does help with triggering and turning the LCD backlight OFF only once, but no response after that. The main application is a MENU system, where the LCD would need to go OFF on different screens, so the timer needs to have a reset of the Period once the ISR is finished - to then be able to trigger again and so on.
I would like to get some help with this application and I am unable to comprehend on how to reset the timer for the above-mentioned application.
Attached is the firmware with One-Shot Timer and ADC.
Hope someone can help.
I installed PSoc 4.4 from the provided CD, onto my CY8CKIT-050 KIT.
It recognizes the device when it is plugged into the programming USB, but when I plug it into the communication USB I get the device descriptor request failed. I tried updating drivers, but I am not sure which ones are needed. Any information on how to get it to read would be appreciated.Show Less
Make a PCBA according to the KitProg2 circuit diagram, how to create a USB bootloader or the KitProg2 firmware
Hi, can someone give me an example of programming automatically with python(just like psoc programming just customized with python)? What I want to do is automatically detect the boards and program with hex file. Does an API exist or how should I go about it?Show Less
Cypress PSoC 5LP Prototyping Kit Measurement Electronics: hardware and software eBook : Magda, Yury: Amazon.in: Kindle Store
If someone has this book can they review it ??
Should I buy this if I'm a beginner?
Using Signal Generator give following signals and find using ADC
a. Square wave input frequency range 50 Hz to 1 KHz in.
1) Find Frequency.
2) Find average voltage.
b. Input Sine wave 50 Hz to 1 KHz
1) Find Frequency.
2) Find Peak to Peak value.
3) Find Offset value.
Display the result using UART -> putty on the host computer once every 3 to 5 secs interval.
Windows 10 is not detecting USB UART driver for Bootloader Host software.
Please help. Even I am not seeing any unrecognized device in Device Manager
list. What should I do? In Bootloader Host program there is no listing of USB UART Port.
I have attached the screenshot.
I have generated triangular and sawtooth waveforms in Psoc 5LP and I am varying the frequency using Putty and using PWM_WritePeriod(). I want to change the frequency from Putty without using PWM Write Period. Can anyone tell me how to?
I have attached the zip file with both the codes. Please help!
I am generating a square wave using wavegen from a DSO. I want to measure it's frequency and average voltage using ADC in the psoc. How do I proceed? I have to display the result using UART every 3 to 5 seconds.Show Less