0
\$\begingroup\$

The following is a board with an STM32F103 MCU.

Is it possible to tell if the marked port on the top left (JK1) is a Cortex Debug port that may be connectable with an ST-Link V2 or similar ?

According to some online references the pins used for the LQFPR48's debug port are PA13,PA14,PA15,PB3 & PB4.

UPDATE: PA13(SWDIO) and PA14 (SWDCLK) have traces all the way to the header but it's hard to see on which pin they end up. The back side has a wide LCD display connector and white wrapping which makes it hard to see where one trace go to and the other has a trace that seem to end up on two holes. GND is the filled hole with no traces (I've tested it for continuity). So that leaves me with finding Vcc, and the other 2 SWD signals positions.

Also, the port's holes do not fit with a 2.54mm which is typical for a pin header and also the connector wires that comes with the ST-Link v2 (Chinese clone). I'll appreciate any suggestions or enlightenments.

Board and pin out

\$\endgroup\$
6
  • \$\begingroup\$ what do you mean "the traces don't look like it"? PA13 and Pa14 seem very much connected to that header. \$\endgroup\$ Jun 25 at 10:46
  • \$\begingroup\$ Which board is it? What does the manual say? Maybe it does not support full JTAG but SWD only? It also looks like the serial port pins also go there. \$\endgroup\$
    – Justme
    Jun 25 at 11:01
  • \$\begingroup\$ @MarcusMüller Indeed, but PA14 looks like it's connected to two pins one above the other. And PA13 is not clear where it ends up. Also what would be the voltage pin ? \$\endgroup\$
    – elig
    Jun 25 at 11:52
  • 3
    \$\begingroup\$ why can't you just use a multimeter in continuity mode and check for definite which pins are connected? \$\endgroup\$
    – ChrisD91
    Jun 25 at 12:28
  • 1
    \$\begingroup\$ Hard to tell from the picture but the JTAG/SWD port seems to go there. RN5 looks like pullup/downs for the JTAG. Take an ohm meter and figure it out, then make your own cable. \$\endgroup\$
    – Dejvid_no1
    Jun 25 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.