STM32L010 PCB layout for SWD and programming with bootloader
Hello together,
I'm about to design a pcb for my bachelor thesis with a STM32L010 microprocessor.
My goal is to connect my pcb via USB-C connector to my host system to program the microcontroller. The programming should happen via the bootloader and it would be great if there is a possibility to debug/program my microcontroller without any additional devices just like a ESP32 or Arduino board.
I researched a lot about it and it seems like programming via the bootloader is enabled "out of the box". But I am not sure about that because I saw a lot of projects with the "blue pill" board and in every project the user had to enable the bootloader with a programming adapter like ST-Link V2. Is there a way or a circuit diagram about the parts I have to use to archive programming and debugging via USB-C?
I would appreciate every help or link to a documentation about my questions. The specific stm32l010 documents I looked at are AN4467 and AN2606.
Best regards,
Claus
