Skip to content
Snippets Groups Projects
Commit 671b3cd2 authored by Henrik Alsér's avatar Henrik Alsér
Browse files

SWD

parent 78b7468f
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment