> For the complete documentation index, see [llms.txt](https://tk233.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk233.gitbook.io/notes/stm32/misc/using-nucleo-stlink-to-flash-off-board-chips.md).

# Using Nucleo STLink to Flash Off-board Chips

### Standard Board Interface

| Pin | Signal (DUT's side) | Color                                     |
| --- | ------------------- | ----------------------------------------- |
| 1   | GND                 | <mark style="color:orange;">Brown</mark>  |
| 2   | 3V3                 | <mark style="color:red;">Red</mark>       |
| 3   | SWCLK               | <mark style="color:orange;">Orange</mark> |
| 4   | SWDIO               | <mark style="color:yellow;">Yellow</mark> |
| 5   | RX (STLINK -> DUT)  | <mark style="color:blue;">Blue</mark>     |
| 6   | TX (DUT -> STLINK)  | <mark style="color:green;">Green</mark>   |

### Nucleo Pinout

<figure><img src="/files/04XKAgti0oiO9MfNipJV" alt=""><figcaption></figcaption></figure>

### Example Connection

<figure><img src="/files/sUaXIfzpU5PxnlRe2lCZ" alt=""><figcaption></figcaption></figure>
