2022-04-26 12:13 PM
Hello all,
I have a design that is designed with a STM32. The SWDIO pin and SWCLK pin are pogo test points and difficult to solder wires to connect to the ST link programmer. The design has the BOOT0 pin pulled up to VDD. The I2C lines are the only way I can program the board. Once the board is programmed, can it be reprogrammed using the I2C lines for firmware development?
Thank you
Vignesh
Solved! Go to Solution.
2022-04-26 01:09 PM
Holding BOOT0 high during reset will cause the chip to boot into the bootloader at every reset, during which time you can reprogram it.
Unless you change option bytes to change the BOOT0 behavior, in which case you will lose this capability.
Use SWD for programming/development and save yourself the headache and lack of productivity caused by not having a debugger.
2022-04-26 01:09 PM
Holding BOOT0 high during reset will cause the chip to boot into the bootloader at every reset, during which time you can reprogram it.
Unless you change option bytes to change the BOOT0 behavior, in which case you will lose this capability.
Use SWD for programming/development and save yourself the headache and lack of productivity caused by not having a debugger.
2022-04-26 01:59 PM
"The SWDIO pin and SWCLK pin are pogo test points and difficult to solder wires to"
Really?
Pads large enough for reliable pogo connection shouldn't be too hard to solder to...
Or make a pogo jig.
As @TDK suggests, the benefits of having SWD will far outweigh the effort in soldering ...
2022-04-26 02:41 PM
Got it. Thank you very much.
2022-04-27 02:29 AM
Jolly good.
If your question is now resolved, please mark the solution:
2022-04-28 05:27 PM
Hello @Andrew Neil , I had already marked it. Am I missing something?
2022-04-28 05:57 PM
2022-04-29 02:00 AM
Seems you marked it after that post?
Anyhow, tis done now!
:thumbs_up: