UART writes to netduino2/stm32f205-soc disappear Writes to UART 2 and 3 disappear. As a sanity check I put printf statements in the function stm32f2xx_usart_write in qemu/hw/char/stm32f2xx_usart.c and recompiled qemu. The result confirmed text sent to UART1 and UART4 are sent to that function while text sent to UART 2 and 3 are not. I assume writes to all 4 need to make it to that function for emulations to operate correctly. Example code that writes to all 4 UARTs/USARTs (does not contain the printf statements mention above): https://github.com/skintigh/baremetal_netduino2 The only machine I saw listed in the help output is "netduino2." I pulled QEMU from github, was that the right thing to do? I found the specifications for the stm32f2xx and some similar chips and verified the addresses and interrupts are correct. The stm32f205 should support 6 UARTs, and the 6 addresses and IRQs are coded correctly. However there is a hard-coded value MAX_SERIAL_PORTS limiting serial_hds to 4, and I don't know why. I am considering submitting a patch. If I increase MAX_SERIAL_PORTS I can write to UARTs 1, 4, 5, and 6 and output them to sockets. However writes to UARTs 2 and 3 just disappear. They don't even trigger my printf in stm32f2xx_usart_write. It seems like they are being intercepted somewhere, and unfortunately my knowledge of QEMU is too low to know where to look. Any pointers would be greatly appreciated. Thanks again for all your help On Thu, Oct 6, 2016 at 8:18 PM, Alistair Francis