STM32F030 and BOOT0 pin

Tyrreus picture Tyrreus · Mar 12, 2014 · Viewed 34.9k times · Source

I'm trying to create circuit with STM32F030K6T6 microcontroler and im not sure about one thing.

There is only BOOT0 pin (without BOOT1) and maybe I'm blind but I can't find description about this pin in ST documentation (I was looking in "DoclD024849 Rev 1" document which is datasheet for mentioned uC).

One thing I found is a description about pair of BOOT pins, showed below (based on "DoclD018940 Rev 5" - RM0091 Reference Manual document):

BOOT0=0 BOOT1=x - main flash memory boot
BOOT0=1 BOOT1=0 - system memory boot (boot loader)
BOOT0=1 BOOT1=1 - RAM memory

What I want to do is to program chip by SWD and I'm not realy sure what I need to do with BOOT0 pin.

The questions are: Should I pull-up this pin? What is the default value of BOOT1 in this case?

Answer

Gaskoin picture Gaskoin · Mar 12, 2014

In STM32F030 datasheet you can find that BOOT0 is the microcontroller pin, and BOOT1 is boot selector option bit (page 12)

In RM0091 on page 68 you can find where this bit is