From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27088 invoked by alias); 30 Jun 2016 16:01:53 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 26568 invoked by uid 89); 30 Jun 2016 16:01:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_50,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:sk:exchang, H*RU:sk:exchang, H*r:sk:exchang, HX-HELO:sk:exchang X-HELO: exchange.hsv.pesa.com Received: from 67-63-150-35.arpa.kmcmail.net (HELO exchange.hsv.pesa.com) (67.63.150.35) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Jun 2016 16:01:41 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 30 Jun 2016 16:01:00 -0000 Message-ID: <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02CA18FD@exchange> In-Reply-To: <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02CA18F3@exchange> References: <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02C50652@exchange> <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02C50BB3@exchange> <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02C50BF3@exchange> <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02CA18F3@exchange> From: "Michael W. Ellis" To: X-IsSubscribed: yes Subject: RE: [ECOS] Input from debug console X-SW-Source: 2016-06/txt/msg00010.txt.bz2 > -----Original Message----- > From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss- > owner@ecos.sourceware.org] On Behalf Of Michael W. Ellis > Sent: Thursday, June 30, 2016 9:54 AM > To: ecos-discuss@ecos.sourceware.org > Subject: [ECOS] Input from debug console >=20 > 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