serial communication with tcl
- From: grp62 <grp62@xxxxxxxx>
- Date: Thu, 28 Feb 2008 07:12:50 -0800 (PST)
Hello,
I'd like to program with tcl language the serial ports of my arm
target (sam9260).
I built a rootfilesystem including the tcl package (tcl-8.4.9) with
buildroot.
On my target (kernel-2.6.23) when i tried to execute the following
commands
set serial [open /dev/ttyS0 RDWR]
fconfigure $serial -mode "115200,n,8,1"
here's the message i get:
bad option "-mode": should be one of -blocking, -buffering, -
buffersize, -encoding, -eofchar, or -
translation
while
executing
"fconfigure $serial -mode "115200,n,8,1" "
Any ideas ?
regards
.
- Follow-Ups:
- Re: serial communication with tcl
- From: Ralf Fassel
- Re: serial communication with tcl
- From: Jonathan Bromley
- Re: serial communication with tcl
- From: derek . philip
- Re: serial communication with tcl
- From: Larry W. Virden
- Re: serial communication with tcl
- Prev by Date: Re: New question on strings
- Next by Date: Re: New question on strings
- Previous by thread: Tcl and the wiimote
- Next by thread: Re: serial communication with tcl
- Index(es):
Relevant Pages
|