Programming one MCU from another MCU by UART or I2C
Hi,
I have an STM32L552 MCU (the 1st) that has only two interfaces to the user, one through the USB-C and the other through Bluetooth. I have another STM32L031 MCU (the 2nd) inside the design that communicates with this L552 MCU through UART/I2C. Here is my question:
Can I update the firmware of the 2nd MCU through the 1st MCU from any of the two BL/USB sources? If yes, how should that be done?
Little more intro: I have used the UART/USB bootloader in the past to update the firmware of one MCU that is directly connected to the STM32 Programmer. That works very well. But in this new case, the 2nd MCU is not connected directly to this software.
One idea that I was thinking of was using the UART connected to the user, to transmit every single data to another UART connected to the 2nd MCU. But, I have USB CDC involved in this case, so I am unsure if the same method could be used.
Thanks
Amir
