[Arm-netbook] USB console idea
lkcl luke
luke.leighton at gmail.com
Tue Mar 6 12:20:57 GMT 2012
2012/3/6 Henrik Nordström <henrik at henriknordstrom.net>:
> Was thinking why not use the USB for console?
complexity of the code-paths.
> and a quick google turned up two interesting existing projects solving
> that
>
> U-Boot USB Gadget serial support:
> http://elinux.org/U-boot_musb_gadget_support
a serial port's device driver code is much much simpler than usb
gadget. put the data. into an address. read the data. from an
address. RS232 is done.
so if you are doing very very early debugging, you could potentially
(and i've seen this done) actually program the RS232 port *yourself*
to get some sort of debug output, with only a few lines of code.
there's no chance of doing that with USB gadget.
that having been said: once a certain level of stability has been
achieved, usb console is convenient.
l.
More information about the arm-netbook
mailing list