RE: Input from debug console
"Michael W. Ellis" <[email protected]> Thu, 30 Jun 2016 11:02:53 -0500
| Newsgroups | gmane.os.ecos.general |
|---|---|
| Message-ID | <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02CA18FD@exchange> |
> -----Original Message----- > From: [email protected] [mailto:ecos-discuss- > [email protected]] On Behalf Of Michael W. Ellis > Sent: Thursday, June 30, 2016 9:54 AM > To: [email protected] > Subject: [ECOS] Input from debug console > > My application calls diag_printf() to display information to the debug > console using serial port 0 of my processor. I would like to be able > to implement some simple diagnostics that are initiated through the > console port. Is it possible to accept input from the console? If so, > how is this done? Correction - I'm using the AT91SAM9260 processor and the debug console uses a serial port connected to the Debug Unit instead of serial port 0. The console device name is "/dev/ttydiag". Without writing new drivers, is it possible to get simple input from this port? Michael -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss