From 671b3cd2b7046edb8124fb123c72952aa16b49da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Alse=CC=81r?= <henrik.alser@me.com> Date: Sun, 17 Jan 2021 22:10:45 +0100 Subject: [PATCH] SWD --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 282add4..e53a0fd 100644 --- a/README.md +++ b/README.md @@ -100,11 +100,12 @@ The crystal will resonate at a specified frequency. Its waveform will be used as ### 7) Serial Wire Debug (SWD) connector -To program and debug the MCU we will use a SWD connector (6 pin header). Sometimes it can be tricky to find all the information in the datasheet and user manual for the microcontroller, all the information you need is there, it will just take time to find it. However, it can then be useful to follow proven examples like your Nucleo board. This is the connector that will be used:https://www.elfa.se/en/pin-header-6p-wuerth-elektronik-61300611121/p/30024526•Add one conn/CONN01X06 (male). +To program and debug the MCU we will use a SWD connector (6 pin header). Sometimes it can be tricky to find all the information in the datasheet and user manual for the microcontroller, all the information you need is there, it will just take time to find it. However, it can then be useful to follow proven examples like your Nucleo board. This is the type of connector that will be used: https://www.elfa.se/en/straight-male-pcb-header-through-hole-rows-contacts-54mm-pitch-rnd-connect-rnd-205-00627/p/30093647 +- Add one conn/CONN01X06 (male). - Search for the Nucleo boards datasheet. -- In this datasheet search for the table that explains the connector `CN4` pinout. You can also investigate how they have connected the target MCUto these pins in the schematic below in the datasheet. -- You can connect pins without wires going everywhere. Use ”net labels”(button to the right) to name one wire. It will connect all wires with the same name in the local sheet. +- In this datasheet search for the table that explains the connector `CN4` pinout. You can also investigate how they have connected the target MCU to these pins in the schematic below in the datasheet. +- You can connect pins without wires going everywhere. Use ”net labels” (button to the right) to name one wire. It will connect all wires with the same name in the local sheet. - VDDTARGET→+3.3V. GND→GND. NRST→NRST. SWCLK→SWCLK (PA14). SWDIO→SWDIO (PA13). SWO→SWO (PB3) ### 8) Power from USB -- GitLab