[Wiki]7.Setting up Pokitto for Hardware debugging

PEX debugging works now. So I can talk to my (relatively) old friend again :slight_smile:

I just must connect the SWD connector to Segger in the other way round it was before (when I used on-board SWD socket). I just did not dare to try it before, because I was afraid of causing a damage. I was just expecting that it should be the same way as before (probably it depended which end I happened to cut from the SWD cable for making my own cable).

Another HW lesson for a SW guy :wink:

Below is the custom SWD-to-PEX cable I have made.

4 Likes

AFAIK you can’t break it by connecting wrong way around (have done it several times)

Nice cable, good job

Going to put this link here - https://www.segger.com/downloads/jlink/JLink_Windows.exe
I will 100% need it in the future and this will save a morning of googling.
[edit] This one also -> https://www.segger.com/downloads/jlink/#Ozone

4 Likes

Not fun :frowning:

Debug.Start();
Device "LPC11U68" selected.
Could not measure total IR len. TDO is constant high.
Could not measure total IR len. TDO is constant high.
Could not measure total IR len. TDO is constant high.
Could not measure total IR len. TDO is constant high.
Could not measure total IR len. TDO is constant high.
Could not measure total IR len. TDO is constant high.
Connection failed.

Whats going on? Are you sure your cable is OK?

Sorted it, I had it set as JTAG instead of SWD :stuck_out_tongue:

1 Like