PaxInstruments / labwiz-board

A development board based on the STM32 series processors specifically targeting the STM32F103RxT series.
4 stars 2 forks source link

Boot configuration buttons #22

Closed charlespax closed 8 years ago

charlespax commented 8 years ago

I've changed the boot configuration control from solder pads to buttons. The boot config pins are connected to buttons D and E.

screen shot 2016-07-15 at 13 47 11

The SW_D is connected to BOOT0 with a default state of LOW and SW_E is connected to BOOT1 with a default state of HIGH. The default boot mode is Main Flash Memory. Pressing SW_D will boot into Embedded SRAM. Pressing SW_D and SW_E will boot into System Memory (ST bootloader). 6c4c93e6f0708beb3983928cc9450171198cac16

I'm concerned what happens when a user unintentionally presses one of the buttons while powering on the device. What will the user experience when booting into SRAM? What will the user experience when booting into System Memory?

Here are other relevant parts of the schematic. screen shot 2016-07-15 at 13 47 30 screen shot 2016-07-15 at 13 48 00 screen shot 2016-07-15 at 13 48 09

charlespax commented 8 years ago

I've added a solder jumper for development. In production the solder jumper would be unsoldered.

With an open jumper BOOT0 is always LOW. System always boots from Main Flash Memory. With a closed jumper the user is able to use buttons D and E to configure which memory to use.