Serial boot via the TAMP_REG for STM32MP257F
In accordance with the booting procedure for STM32MP2 https://wiki.st.com/stm32mpu/wiki/STM32MP2_backup_registers#Boot_mode_selection_feature ROM analyzes the BOOT_MODE register and decides to switch to serial boot mode: "The ROM code executes a serial boot if BOOT_MODE[7:0] is equal to 0xFF". It is TAMP_BKP96R (0x46010280) for STM32MP2xx processors. And if I write 0xff there and do a reset, then the processor will reset and go into USB boot mode. In Linux, there is a command for this: reboot romcode_serial.
This mode and this command worked perfectly in STM32MP1xx processors but does not work at all in STM32MP2xx.
Moreover, I even tried writing directly to this register in U-boot mode and doing a reset - the result is the same, this mode does not work.
Is there any special feature in this mode for STM32MP2XX series processors or is this a ROM code issue?
