Re: serial communication with tcl



On 28 fév, 19:45, Ralf Fassel <ralf...@xxxxxx> wrote:
* grp62 <gr...@xxxxxxxx>
| bad option "-mode": should be one of -blocking, -buffering, -
| buffersize, -encoding, -eofchar, or -
| translation
| while
| executing
| "fconfigure $serial -mode "115200,n,8,1" "

That sounds like TCL did not recognize /dev/ttyS0 as a serial port but
as a 'real' file. Can you confirm that /dev/ttyS0 is indeed the
correct pathname to the port on that platform?

R'

Yes i confirm /dev/ttyS0 is the correct pathname to the serial port of
my target.
If i issue the same commands on my host (ubuntu), it works !
Thanks in advance

.



Relevant Pages

  • Re: serial communication with tcl
    ... | Yes i confirm /dev/ttyS0 is the correct pathname to the serial port ... However, if you open /dev/ttyS0 in tcl, and then do an ... yourself for that platform in question. ...
    (comp.lang.tcl)
  • Re: serial communication with tcl
    ... That sounds like TCL did not recognize /dev/ttyS0 as a serial port but ... This may occur either if the kernel driver is failing to report itself as a TTY, or if Tcl is wrongly configured (especially when cross-compiling, since configure script may fails to set USE_TERMIOS, etc... ...
    (comp.lang.tcl)
  • Re: serial communication with tcl
    ... That sounds like TCL did not recognize /dev/ttyS0 as a serial port but ... correct pathname to the port on that platform? ... there are Linux distribution with incorrectly configured Tcl. ...
    (comp.lang.tcl)
  • Re: serial communication with tcl
    ... That sounds like TCL did not recognize /dev/ttyS0 as a serial port but ...
    (comp.lang.tcl)
  • Re: Bluetooth Serial Port Profile and Tcl communications
    ... but it appears not to be - at least in what I am experiencing. ... dongle connected to a PC running Windows XP SP3). ... His Tcl serial port monitor ...
    (comp.lang.tcl)