What protocol does the IDE use to upload sketches to a board?

You would select UART.