External crystal required for bootloader?
Hi
There's a not-too-well worded paragraph from AN2606 on page 33:
For STM32 devices embedding bootloader using the DFU/CAN interface in which the
external clock source (HSE) is required for DFU/CAN operations, the detection of the HSE
value is done dynamically by the bootloader firmware and is based on the internal oscillator
clock (HSI, MSI). When (because of temperature variations or other conditions) the internal
oscillator precision is altered above the tolerance band (1% around the theoretical value),
the bootloader can calculate a wrong HSE frequency value. In this case, the bootloader
DFU/CAN interfaces can malfunction, or not work at all.
Does this mean the bootloader requires an external oscillator when you are using USB with the bootloader? My circuit doesn't have an external crystal, for the application I am using HSI and everything is fine including using USB device (CDC). I'd be happy to just use USART1 as I am already using that in my application for debugging with an FTDI cable.
I am having trouble getting my STM32U073KCU6 to go into bootloader mode when I pull the BOOT0 pin HIGH. It doesn't seem to work even with USART1 even though I have pull-ups on the RX and TX lines. I am working from home and annoyingly I don't have my STLINK programmer so I can't check the option bytes to see if the register bits are good for 'pattern 15' which is what I need from AN2606. I haven't changed these bits and the factory reset for these bits would imply I just have to pull BOOT0 HIGH and reset.

