How can the nBOOT0 pin be modified via a UART connection. I am using the STM32G071 chip
Hello,
I am looking to be able to do in-the-field firmware upgrades with the STM32G071 board. I have used the STMCubeProg tool to be able to modify the nBOOT0 user bit with the ST-Link built into the NUCLEO board.
What I am looking to do is
- to modify nBOOT0 to 0 through the firmware on the device.
- Then I am assuming that I can reset the device,
- and then using a connected UART comms, I can update the firmware,
- After that, I can set the nBOOT0 pin back to 0.
The issues are that I can't figure out how to modify the nBOOT0 bit in the firmware. Also, I am unsure if my STM32G071 will be able to flip its nBOOT0 pin back itself after the firmware update.
I have read through the AN2606 and AN3155 and cannot find an answer to my question. Everything points back to the STM32Prog tool which I don't want to have to rely on.
