Factory programming an STM32MP157 via USB-C
If I have grasped USB-C correctly, the BootROM must communicate with the STUSB1600 chip for role negotiation, otherwise it couldn't switch to device mode and thus it wouldn't be possible to use serial boot mode over USB-C. On the DK2, the STUSB1600 is connected to I2C4, and quite obviously, serial boot mode works on that hardware.
Since I was unable to find any information on these details:
1. Does the boot ROM communicate with the STUSB1600?
2a. If it does, is it hard-coded to I2C4 or is it possible to use a different I2C?
2b. If it doesn't, how/why does role selection work without proper negotiation?
In other words: is it possible to send the TF-A bootloader to an STM32MP157 via USB-C if the STUSB1600 chip is connected to a different I2C bus than I2C4?
Best regards,
Robert
