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: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to