All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Baremetal Netduino2 -- cannot output on UARTs 2-4
@ 2016-10-03 20:25 Seth K
  2016-10-04 16:59 ` Alistair Francis
  0 siblings, 1 reply; 4+ messages in thread
From: Seth K @ 2016-10-03 20:25 UTC (permalink / raw)
  To: qemu-devel

I have made a bare metal "Hello World" program for the Netduino2. I have
pushed it here:

https://github.com/skintigh/baremetal_netduino2

It should output "Test 1/4" to USART 1, "Test 2/4" to USART 2, "Test 3/4"
to USART 3 and "Test 4/4" to UART 4.

What actually happens in QEMU is only the first string is output. That may
be a command line argument error on my part, so for 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 is text sent
to UART1 and UART4 make is to the function (though only 1 is output), while
writes to 2 and 3 simply disappear and never make it to that function. I
assumed all writes to UARTs would go to that function.

Am I doing something dumb? Is this a bug? Any help would be greatly
appreciated.

Thanks,
Seth

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-06 23:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-03 20:25 [Qemu-devel] Baremetal Netduino2 -- cannot output on UARTs 2-4 Seth K
2016-10-04 16:59 ` Alistair Francis
     [not found]   ` <CAErn8fS_FhRBfXyb5iqYXbVYUAW+_TuuY9n8Zt219BcipfGuOw@mail.gmail.com>
     [not found]     ` <CAKmqyKOmT1GQWZHAYtZFYLsosaywtkd8iZ2Oc52=-P_S28opjg@mail.gmail.com>
2016-10-06 21:52       ` Seth K
2016-10-06 23:54         ` Alistair Francis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.