STM32MP151A custom board with eMMC sometimes go to DFU on power-up. Need help to write OTP word 3.
Hi. I've made a custom board very similar to stm32mp157c-DK2 BUT with STM32MP151A and ONLY eMMC (on SDMMC2 standard MUX) as flash device (no NOR, no QUADSPI, no SD). I built all necessary files with the help of CubeMX program and all works good EXCEPT that sometimes when i power off and physically remove AC then put AC on again, the device go in DFU. boot012 pins are configured well. I was thinking about trying to write OTP word 3 with a forced configuration in order to make the MPU boot always from eMMC. The question is: how to write to OPT word 3? Any example? I've only found MAC address example but i think it's a bit different. Any help would be appreciated.
