Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AuKa_4634111
Level 2
Level 2
5 replies posted First like received First reply posted

I am having a problem getting Debug to identify the PSOC4 in my project. I am sure I am overlooking something simple despite having designed many, many PSoC projects. I am hoping someone here can trigger an insight as to the problem.

I am using the I am using PSoC Creator 4.3 with a MiniProg3. The processor is CY8C4245AXI-473 both in hardware and in PSoC creator (-483 for the KIT-042). My debug setup is

When I connect the MiniProg3 to a CY8CKIT-042 PSoC4 Pioneer kit with no power applied, it works as expected.

When I connect it to my circuit, it identifies the MiniProg3, but no processor as below

If I open the XRES  line on the PCB (schematic down below) of the SWD interface I get the response below, so the system does seem to recognise the presence of the micro

If I reduce the clock speed to 400kHz in the debug i get the following when I try to "Port Acquire"

Confusingly, if I reduce the clock speed further to 200kHz in the debug i get a different result as follows when I try to "Port Acquire"

These results are the same if I apply external power or self power the MiniProg3. I thought it might be the processor, so I built a second board with just the processor and the 10 pin SWD connector (no capacitors either)- made no difference. I have checked and double checked all the connections and the connectivity of the tracks. I have checked the actual wiring diagram against the wiring of the CY8cKIT-042 and I can't see any mistakes, so I am at a loss.

Below is an aspect of the circuit (the PSoC4 is represented as multiple parts of the symbol (U2) and J3 is the 10 pin SWD programming connector). All the unshown pins are part of a 3rd part of the symbol and are plain I/O pins. I don't believe have any bearing on the issue.

I must be doing something stupid. Can anyone spot it?

0 Likes
1 Solution

moto

Thanks very much for your input. I went back to your suggestion of "Power Cycle". This time I left XRES open circuit. it worked. That meant there was a problem on the XRES line. It turned out that pins 10 (XRES) and 8 of the programming header were shorted on both PCBs that I tried, right underneath the housing and invisible even with a X10 magnifying glass. I HATE hand assembling SMD!

Once again, many thanks for allowing me to work through my problem by asking intelligent questions.

Aubrey

View solution in original post

5 Replies