I have a sensor that I'm connecting to MCU through UART for data logging and other purposes. However, I also want to program the Sensor independently and I have configured the same UART lines from the sensor with an FTDI chip and USB port (See Figure) .
When this is on breadboard, it is easy to do this as I can disconnect the MCU from the sensor when I'm using the FTDI chip and vice versa. If I'm doing this on a PCB its not possible to disconnect wires. I did think of having jumpers to disconnect the FTDI or MCU when needed so that only one of them is powered on at a time. Is it a good practice to have jumpers for UART lines? Is there a better alternative?