I want to use Rx2 and Tx2 on a PIC18F24K22 with a CH340 UART/USB chip. This UART uses RB6 and RB7, the same pins as ICSP. This is a problem because Tx holds the pin high (or is it low) at idle, so the CH340 is going to prevent ICSP working. Am I right in this thought?
I'm leaning towards a pair of jumpers to disconnect the CH340 during programming. I suppose I could add a couple logic gates so that using either/or interface would work, but that seems needlessly complex, at least after the code is developed.
Any suggestions?
Also, any suggestions for a PIC18F bootloader?
I'm leaning towards a pair of jumpers to disconnect the CH340 during programming. I suppose I could add a couple logic gates so that using either/or interface would work, but that seems needlessly complex, at least after the code is developed.
Any suggestions?
Also, any suggestions for a PIC18F bootloader?