Flash the MCU with a program that takes a text protocol over the UART from the host and uses it to control its GPIOs