Is this device fresh chip or programmed before?
Has it being programmed successfully before?
Are there any capacitors on programming line traces(SDA, CLK, XRES)? Please have a try with other devices or MiniProg-3, and make sure programming cable is not too long.
Thanks for answering.
The chip was bought from ebay, and was probably programed by the vendor (altough claimed to be a fresh chip). We could never program it successfully.
Our miniProg3 is working perfectly fine, we are flashing PSoC 4 and 5 devices on almost a daily basis.
We have our own design for the PCB the chip is used in, and there are no capacitors on any of the programming traces, neither is the programming line too long (apart from the standard miniProg cable, the trace on the PCB is max. 1 or 2 cm-s long).
I am attaching a screenshot from our oscilloscope which depicts the last transmission before the PSoC programmer fails the programming (with error mesage: Programming failed, device ID FF FF FF FF is not found in library - or something along those lines)
On the oscilloscope screen, the yellow line is the SDAT and the blue line is the SCLK traces.
We suspect that the signal levels of the response on the SDAT are incorrect (even though the SDAT is pulled to the GND via a 330ohm resistor)
All the Best,
I have never seen (yet) SDAT (or SCL) pulled low and 330 ohm is very small value. Did you set programmer protocol to ISSP?
The programmer protocol was ISSP, as stated in the original post, where most of the circumstances are elaborated in details.
all the Best,