SWD on STM$32f4 discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-12-16 4:12 AM
Hi all,
I am trying to program the discovery board of stm32f4 using SWD via the Cn3 connector. Does anyone have any experience in that.. Arun- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-12-16 6:11 AM
The board isn't set up to do that conveniently. The SWD connector is designed for programming an external MCU by connecting it's SWD connection to the Discovery SWD. Your PC connection is then to the USB connector CN1, and the Discovery is being used as a pass-through. Removing the CN3 jumpers keeps the Discovery F4 processor from messing up communication with the external MCU.
If you really want to program the Discovery via a SWD connection, you will have to use pins PA13, etc., and possibly even supply a separate power and ground to the board. The F4 datasheet has pinout definitions you will need to do this. Cheers, Hal- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-12-16 8:36 AM
Although CN3 would represent a good injection point for an external SWD programmer, you'd obviously want to hook up a ground, and maybe the NRST
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-12-17 1:45 PM
Clive is correct. You will also need to connect power. 5V will be needed to get 2.5V for the Cirrus chip. Otherwise, it looks like 3V regulated will do.
Cheers, Hal- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-12-30 2:58 AM
