# STM32L07xxx boot problems

I have created a design with an STM32L07xxx and an ATtiny that communicate with each other through UART.

Unfortunately I forgot to include a pulldown resistor to the BOOT0 pin of the STM. The result is that the STM mostly starts in bootloader mode. A redesign nor rework are an option at the moment.

My initial strategy was to use the ATtiny to make use of the bootloader commands to jump to the application code with help of the 'Go' command (as described in AN3155)

Unfortunately the binary I've been provided with enables RDP level 1 which stops me from using 'Go'. (I've tried, it only responds with nACKs)

My final option seems to be to set read protection to level 2 to ensure the bootloader jumps to either bank1 or bank2 (AN2606 42.1.2)

My question is; How do I ensure that the bootsequence jumps to bank1?

Other alternative suggestions that result in the application code being executed are also welcome!

• The BFB2 option bit is set. When it is not, then the bootloader is not started at all, it jumps straight to flash bank 1, therefore the stuff in AN2606 does not apply at all.