Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.
Why do we have 2 connectors namely CN2 (SWD) and CN3 (ST-LINK) on STM32F407 Discovery board? Are not they the same thing?
No, they're not the same.
The pair of jumpers on CN3 connects the ST-Link to the target device (i.e, the STM32F407 located on the Discovery board).
When those jumpers are removed, the SWD pins on CN1 can be used to connect the ST-Link to another target device.
Required, but never shown