Combine USART and USB for bootloader selection?
I had a passing thought. I have two pins that I can connect to a PC in my enclosure. I'd like to use USB OR USART. I'd like the PC to select.
My idea was to tie the pins together and let the bootloader's selection process pick the correct one on the correct start signal (USB seems to be cable detected, and USART seems to be receives 0x7F.
I'd need to test it, but something like this possible where using USB -OR- UART on my mating device or PC would allow the bootloader to select the correct one (in which case it shuts the other one off and proceeds setting up and the rest of the process).

I can't tell if there is anything to this idea, and if there is, if this is backwards. I assume "CABLE DETECT" on USB means D+ high and D- low. So in that case, I would probably want USART TX to be tied to D+, because TX is high-Z until a valid RX is received right? In that case, I could manipulate UART RX / D- all I like and the bootloader shouldn't detect this as USB cable / data.
Is there anything to this?
