serial communication with tcl



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
.



Relevant Pages

  • Re: serial communication with tcl
    ... I'd like to program with tcl language the serial ports of my arm ... On my target when i tried to execute the following ...
    (comp.lang.tcl)
  • Re: Problems with Serial Downloader for PXA255
    ... >> Our target has two serial ports, so I am using one as a debug output ... >> When I attempt a download, the PC and the target exchange data packets ... >> I then modified the debug output to report the content of the packets ...
    (microsoft.public.windowsce.platbuilder)