cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F042

daviddavid96
Associate II
Posted on November 06, 2016 at 14:00

Hi I have designed my first PCB ever so.

My board has MCU STM32F042 and is based on nucleo reference design but for some reason I can not connect my stlink to using a nucleo stlink module in ''stand alone mode''.

It seems STM does not respond. When connected nucleo Stlink it stays red. Notice I only connect SWDCLK and SWDIO pins and this setting works an a board bought from ebay without problem b

My schematic can be found at:

https://github.com/mike7b4/solary2_pcb/blob/master/pdf/solary2.pdf

I have only soldered the capasitors, STM and 3v LDO the rest of the components is not connected. no external crystal or its caps are connected since this should not be needed when test.

LDO put out 3v as expected. However I noticed SWCLK gives 3v even if stlink is not connected. Reading the HW manual it says SWCLK is pulldown?

I have soldered 3 boards now and got same issue on all :\

1 REPLY 1
Posted on November 06, 2016 at 15:37

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F042%20problem%20with%20SWD&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx&currentviews=9]Dupe

Note you should use Sign In To Forum before Reply works.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..