Skip to main content
SKira.1
Associate
Feb 22, 2020 8:17 PM UTC
Solved

Stm32f042f6 tssop package , when i am powering ,microcontroller is not starting ,even if i use hard reset . its only starting when i connect ST link( SW Debug)

YStm32f042f6 tssop package , when i am powering, microcontroller is not starting ,even if i use hard reset . its only starting when i connect ST link( SW Debug)  mode.I am using external clock 8 mhz.

I have attached Circuit diagram !! i tried with couple of MC but still same problem..

This topic has been closed for replies.
KnarfB
KnarfBBest answer
Super User
Feb 23, 2020 3:46 PM UTC

PB8 is also the BOOT0 pin. You either want to add a pull-down here to ensure flash boot mode or override that feature by programming the USER option bytes in flash.

2 replies

KnarfB
KnarfBBest answer
Super User
Feb 23, 2020 3:46 PM UTC

PB8 is also the BOOT0 pin. You either want to add a pull-down here to ensure flash boot mode or override that feature by programming the USER option bytes in flash.

SKira.1
SKira.1Author
Associate
Feb 25, 2020 3:24 PM UTC

Thank you !! Now its working!!​