All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Bachman Kharazmi <bahkha@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] adding PCI support to 16550A.c
Date: Mon, 10 Sep 2007 20:51:33 +0200	[thread overview]
Message-ID: <46E59235.2060506@domain.hid> (raw)
In-Reply-To: <1ce16a2c0709101142r6cf2d624oe443807575eadcfa@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

Bachman Kharazmi wrote:
> A guy recommended me to try to get things going with the working
> mobo-serialport first before playing with linux drivers and serial
> controllers.. probabily a good point to start at.

For sure. You may also test against a different PC running Linux or a
Windoz box with terminal programs installed, BTW.

> 
> Anyhow I tried to used your cross-link.c to write ASCII to serialport
> rtser0. I connected the cable to the dc motor drive which accepts
> ASCII commands with CR(\r\n) at the end of every command line.
> The light version of your code that I was testing with looks like:
> http://pastebin.ca/690561

<Quick glance mode> You write strings of different length in lines 152
and 153, but you pass the same size (sz = sizeof(RTIME), ie. 8).

> 
> I'm trying to write two simple commands in the example, but I couldn't
> get it working. Don't know why :/
> 
> First when I got that working it would be even nicer to be able to
> give a argument to the binary which is a ASCII command(string) written
> to rtser0.

Go wild and write such a trivial, command line driver tool to test
serial ports! Would be highly appreciated, and quickly accepted into the
tree (if it's clean).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-09-10 18:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10 13:14 [Xenomai-help] adding PCI support to 16550A.c Bachman Kharazmi
2007-09-10 18:24 ` Jan Kiszka
2007-09-10 18:42   ` Bachman Kharazmi
2007-09-10 18:51     ` Jan Kiszka [this message]
2007-09-11 15:37       ` Bachman Kharazmi
2007-09-11 19:54         ` Jan Kiszka
2007-09-12 14:02           ` Bachman Kharazmi
2007-09-12 16:22             ` Bachman Kharazmi
2007-09-12 16:33               ` Gilles Chanteperdrix
2007-09-12 16:43                 ` Gilles Chanteperdrix
2007-09-12 19:30                   ` Bachman Kharazmi
2007-09-12 22:50                     ` Gilles Chanteperdrix
2007-09-12 16:32             ` Gilles Chanteperdrix
2007-09-12 19:17               ` Bachman Kharazmi
2007-09-12 23:25             ` Jan Kiszka
2007-09-13  6:14               ` Jan Kiszka
2007-09-13  9:38                 ` Bachman Kharazmi
2007-09-13  9:45                   ` Gilles Chanteperdrix
2007-09-13  9:51                     ` Bachman Kharazmi
2007-09-13  9:56                       ` Gilles Chanteperdrix
     [not found]                         ` <1ce16a2c0709130307k5e1955d4na694e90503084d0d@domain.hid>
2007-09-13 12:18                           ` Gilles Chanteperdrix
2007-09-13 12:41                             ` Bachman Kharazmi
2007-09-13 12:48                               ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2007-09-10 13:14 Bachman Kharazmi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46E59235.2060506@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=bahkha@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.