EEVblog® Electronics Community Forum

Electronics => Microcontrollers => Topic started by: amwales on July 03, 2024, 12:31:00 pm

Title: Segger J-Link EDU Mini pinouts
Post by: amwales on July 03, 2024, 12:31:00 pm
I was hoping that paying for a Segger would reduce frustration learning to program a new MCU.
I just received a Segger J-link EDU mini, the plan was to get some stm32 experience, hook up an MCU on a breadboard and program it, simple. What surprised me is my own level of incompetence trying to find any HW documentation regarding the J-link on the Segger website, I was expecting to find at least a pinout diagram for the 10pin header on the J-Link. I found this 20pin description

https://www.segger.com/products/debug-probes/j-link/technology/interface-description/ (https://www.segger.com/products/debug-probes/j-link/technology/interface-description/)

But the only 10pin pinout I could find was on another website

https://mavink.com/post/4A003485AEB1FA7E1D6478BAB963663F05AM8CAD09/j-link-pinout (https://mavink.com/post/4A003485AEB1FA7E1D6478BAB963663F05AM8CAD09/j-link-pinout)

I am surely doing something wrong if I cant find something as basic at that on the manufacturers site.
Why is this so hard?

Further searching maybe its a standard Arm Cortex 10pin debug connector?
Title: Re: Segger J-Link EDU Mini pinouts
Post by: nali on July 03, 2024, 12:50:05 pm
Yeah, Segger documentation is a bit hit & miss sometimes.

(https://wiki.segger.com/images/b/bc/9-PinConnector_Port.png)

https://wiki.segger.com/9-pin_JTAG/SWD_connector
Title: Re: Segger J-Link EDU Mini pinouts
Post by: amwales on July 03, 2024, 01:02:08 pm
Thankyou there it is

https://wiki.segger.com/J-Link_EDU_Mini (https://wiki.segger.com/J-Link_EDU_Mini)

9-pin even though there are physically 10-pins  |O
And then again

https://www.segger.com/products/debug-probes/j-link/models/j-link-edu-mini/ (https://www.segger.com/products/debug-probes/j-link/models/j-link-edu-mini/)

'Target interface   9-pin 0.05'' Samtec FTSH connector'
Title: Re: Segger J-Link EDU Mini pinouts
Post by: ataradov on July 03, 2024, 02:11:48 pm
This pinout is what is called "Cortex-M debug connector". It is the standard set by ARM, so it applies to a lot of tools. There is an ARM document describing it too.

It sometimes called 9-pin because one of the pins is supposed to be a key and physically missing. But in practice nobody bothers with the key. And ARM and most other people just call it 10-pin.