STM32MP1 Switch to Production Boot
I have a board where a secondary CPU can select the STM32MP1's boot mode. On initial boot, the MP1 boots from NOR flash. I can then send a command to the secondary CPU which switches the MP1's BOOTx pins to enable engineering boot and resets the MP1. When I am done, I send a command to the secondary CPU to boot the MP1 from NOR flash. However, after I switch out of engineering mode, the MP1 only runs the serial loader. I have to power cycle the board to make the MP1 boot from NOR flash. Also, I have to let the board sit for a few seconds before powering it up or the MP1 goes to serial loader again instead of NOR boot.
Is this a limitation of the MP1 boot process, or is there a way I can reset the MP1 to boot from NOR flash without cycling power?
