STM32MP135 - Programmatically set boot pins and restart the ROM Boot
We are developing a board with stm32mp135 processor and to load the entire operating system on the external mmc we set the boot pins in USB boot programming mode, after which we use Stm32 cube programmer.
If we wanted to carry out this operation even when the card is sealed and only has the external USB connector, how could we do it? Is it possible to programmatically change the state of the boot pins from a resident SW application, restart the processor, use the stm32 cube progremmer again and then restore the state of the boot pins and reset again?
Essentially we would like to carry out the procedure described in https://wiki.st.com/stm32mpu/wiki/STM32MP13_Discovery_kits_-_Starter_Package
(paragraph 6.2 and 7) programmatically. Is there any other solution?
