cancel
Showing results for 
Search instead for 
Did you mean: 

Program microcontroller STM32F047VGT6 outside Kit Board STM32F4 Discovery

hatem
Associate II
Posted on February 02, 2013 at 21:45

I has a kit  Board STM32F4 Discovery  WITH ST-Link / V2 .. I wanted to program/debug another microcontroller STM32F047VGT6 on my personal card .. I have to use the CN2 SWD STM32F4Discovery?? how I should SWD interface connector to microcontroller in  my own card ??

Thank you to answer me
4 REPLIES 4
Posted on February 02, 2013 at 23:20

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Using%20ST%20Link%20on%20Discovery%20board%20as%20standalone%20ST%20Link&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx&currentviews=23]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fUsing%20ST%20Link%20on%20Discovery%20board%20as%20standalone%20ST%20Link&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy.st.com%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FAllItems.aspx¤tviews=23

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
hatem
Associate II
Posted on February 02, 2013 at 23:39

I want to program another microcontroller different than in the kit board ... your solution is to program the microcontroller in this kit board STM32F4Discovery !

ken239955
Associate II
Posted on February 03, 2013 at 03:06

This is straight forward. You only need two connections plus ground.

At connector CN2:

pin 2 - JTCK, connect to target PA14, pin 76

pin 3 - GND, connect to target GND

pin 4 - JTMS, connect to target PA13, pin 72

Remove the jumpers at CN3.

I don't have my notes here with me so I am going from memory. You will have to wait until Monday for me to double check.

hatem
Associate II
Posted on February 03, 2013 at 10:11

THANK you for your help .. So I connect the 3-pin  directly without reistance or other electronic component .. ?