Timeout of SPC Polling | Cypress Semiconductor
Timeout of SPC Polling
I am working with a CY8C5568LTI-114 PSoC5 core, and am attempting to program the firmware into it on a c# program using the PP_COM_Wrapper.dll supplied in Cypress' Programmer software.
10 pin header
MiniProg3 Rev. A
Every time I get to the flash programming, the program always faults with:
"Error: Timeout of SPC polling. Lost communication with chip (Status = 0x82)"
Looking at the the same issue here, I tried the suggestion of zeroing out the write-once latch data. Neither of them worked, and I can find no further mention of this issue anywhere.
I also get this error using Cypress' example unmodified (which is what a lot of my code is based on anyhow) save for changing the firmware file.
I attached a picture, it seems to write only a single block of flash/config data before stopping.
If I program the firmware directly in PSoC Creator 2.1, or with the PSoC Programmer tool, then the firmware is uploaded correctly. Strangely, after doing so, all program operations with my C# program work perfectly.
Then, if I disconnect the USB cables for the MiniProg3 and the board I'm working on (USB is power source), and close all Cypress programs and my Visual Studio project, and then reconnect the cables and open up my project (but not Cypress' programs), then it does not work again. This hinted that maybe it was a wrapper/driver issue, so I reinstalled PSoC Programmer with the Update Manager tool and used the latest dll file in my project, but it did not fix this.
In the thread linked above, a Cypress employee posted the workaround of opening PSoC programmer software and executing a command. However, the program I'm working on is intended to be run at a manufacturing facility to test boards as they come off of production, I need this to be fully automatic and reliable.
The OS is x86 Windows 7.
Any help will be appreciated.