Can two or more STM32s share UART lines if all but one are held in reset?
I have a board in which one STM32 (call it "central") is required to update the firmware on a number of others ("sensing"). It seems simplest to use the USART1 interface for the built-in bootloader on the sensing processors. I would like to multiplex a single UART on the central processor. My proposal is to use GPIOs to drive the sensing processor NRST pins. Re-programming would mean holding 7 of the STM32s in reset for however long it takes to flash the firmware through the bootloader. That way, only one processor will be active on the common UART lines.
Is this a reasonable approach? It seems simple, but I haven't tried it before and wondered about whether holding devices in reset for extended periods might cause damage (I think not), and also what is the state of the pins on the devices in reset (I've assumed they won't be an issue)?
Perhaps it would be better with some FETs or whatever to isolate the device being updated.
Thanks.
