PSoC™ 5, 3 & 1 Forum Discussions
Hello everbody,
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
HEX_ReadFile "C:/HexFile/Testfile.hex"
SetAcquireMode "Reset"
SetProtocol 8
SetProtocolClock 152
SetProtocolConnector 0
SetPowerVoltage 5.0
//PowerOn
DAP_AcquireChip
PSoC3_EraseAll
PSoC3_ProgramRowFromHex 0x03 0 0
DAP_ReleaseChip
ClosePort
quit
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
E
Timeout of SPC polling. Lost communication with chip (Status = 0x00)
PSoC3_ProgramRowFromHex 0x03 0 0 returned 80004005
80004005 OK"
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?
Question 2:
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.
Hi. I am working with a PSoC5 project in which I kept the hex file binaries of a PSoC5 program (to blink LED continuously) in an array at main.c Now, I wish to copy these binaries to RAM and execute it from RAM to see LED blinking. Can I get an assistance to accomplish this task?
Show LessHello Everyone,
I have been trying to get a system consisting of PSOC5 LP and SIM800A GSM module communicating to each other over a dedicated UART channel, and another UART channel for communication between PSOC5 LP and PC.
I have a problem where I need to read the date and time from the GSM module using AT commands and then store the date and time values (which come as a string as a response from the GSM module) as global variables to be used program a RTC connected to the system.
I have followed this tutorial and can see that I can see the date and time from the module while interfacing with an Arduino manually.
I am aware of how to send AT commands to GSM module, but can't seem to understand how to read or parse or store the responses from the GSM module in response to the AT commands.
Can anyone help me to read and store (to then reformat the string later) the time and date from the GSM module using PSOC5 LP?
I am attaching a simple two_uarts_mod project, which I could use to manually send the AT commands and read the time and date (but can't seem to find a way for the PSOC to read the response back from the GSM module).
Thanks and Regards,
Yash
I am having all codes with me Kindly fix the issues I am facing. Might be a communication issue with PSoc & driver
新規案件向け、
MPN:CY8C29466-24PVXI
中長期の供給面を考慮し、
後継としての推奨型格を御教示下さい。
宜しくお願い致します。
I am working with PSoc 5lp at the moment. I understood theoretically what an interrupt does, but why can't we write the work that is to be done with an interrupt in the main function only? Why separate ISR is needed?
Also, why flag variable = 0,1 is used?
Show LessHi,
We are using PSoC LP5 and we decide to make PSoC in hibernation state under some condition. My questions are: what function may not work when PSoC is in hibernation mode, e.g.,
- Will RTC still keep counting during hibernation?
- Will the pins that are set to high remain high during hibernation?
- Any other limitations?
Regards,
Winston
Show LessHi,
May be this be a fancy query, but still a thought as an engineer,
I have a code section in my project which is executed only once when I run the project for the very first time but after that for the entire duration of running that project this section won't be used. Can I know whether we have a method to disable this portion of the code from the flash permanently without reflashing the code? Whether there exist a method to store this portion of the code temporarily in some location other than Flash and execute it from there only the very first time, so that the flash space can be used entirely for implementing the continuously executing code section?
I am using PSoC5LP as the core of my project.
Show Less