2022-02-01 06:50 AM
I am developing a project for the L082 (as we have stock of these) but am currently using the L152 discovery board to get things started. This is going well but I thought that I would try the DFU mode to allow easier field software updates. I tried connecting Boot 0 to Vdd and restarting but I see no change in device manager where I was expecting to see the DFU device. Maybe I am expecting too much but I have a few questions.
Best regards
Graham Sewell
2022-02-01 07:10 AM
> using the L152 discovery board
You need to connect to the chip through USB to access DFU mode. The onboard connector connects to the ST-Link chip, not the target MCU.
There isn't a USB connector on the board that connects directly to the chip, so you would need to solder one on in order to access the DFU bootloader, assuming you're using this board:
https://www.st.com/en/evaluation-tools/32l152cdiscovery.html
Bootloader is in ROM and can't be erased.
Details about which bootloaders are supported on each chip are in AN2606.
2022-02-01 07:20 AM
Thank you for your rapid reply! Yes, that's the board that I am using. I am connecting USB via PA11 and PA12 on the edge connectors / target MCU. The virtual COM port using this interface is working ok from my main application.