2022-01-27 03:01 AM
I read AN2606 but i couldn't understand exactly. My understood is that if i connect boot0 pin to ground, main flash memory is gonna be selected.
My question is if i do it(connecting boot0 pin to ground), will i lose the ability which enable me to program mcu via usb port?.
Solved! Go to Solution.
2022-01-27 05:03 AM
Best hmm
STLINK ??? Is swd HW for program and debug no relevant with bootloader...
And boot0 on ground dont lose ability to run system loader from app, only block boot to.
2022-01-27 03:13 AM
You must miss read AN , where you see that 103 have USB DFU? I seent
2022-01-27 03:19 AM
But it has usb connection pins. That's why i think like that
2022-01-27 03:22 AM
No this MCU can use only user type DFU. You need split flash to bootloader part and this proggram over SWD or supported boot serial system. After this boot USB and ...
2022-01-27 03:49 AM
>if i do it(connecting boot0 pin to ground), will i lose the ability which enable me to program mcu via usb port?.
You wont be able to use the STLINKs bootloader DFU/UART/...(which requires you to pull high the boot pin after reset)
2022-01-27 03:58 AM
So firstly, i have to use any serial system as swd which is supporting by the mcu, then i'll write my bootloader program. So this written bootloader program will enable the mcu to use it's usb port for programming right?, could i understand correctly?. And also, along for all this process boot0 pin will be connected to ground for accessing to main flash memory.
2022-01-27 05:03 AM
Best hmm
STLINK ??? Is swd HW for program and debug no relevant with bootloader...
And boot0 on ground dont lose ability to run system loader from app, only block boot to.
2022-01-27 06:12 AM
k
2022-01-27 06:15 AM
Yes and yes and yes
More info GitHub - davidgfnet/stm32-dfu-bootloader: A DFU bootloader targeting STM32F103 in just 4KB
2022-01-27 06:17 AM
thank