Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 790ab0e7726cb347001f7d2b557ea2f98ed7e814
Ticket: 681275ffffffffffffffffffffffffffffffffff
serial baudrate >115k should be supported
User & Date: schroedter on 2003-02-06 14:24:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=99573
    
    Maybe your Dolphin driver does not support higher rates ?
    
    IMO Tcl for Windows should natively support all available
    baud rates, because it does not interpret the MODE string
    itself.
    Instead the Windows API BuildCommDCB() is used to setup MODE.
    For Unix systems it is true that only usual standard baud
    rates are supported.
    
    On my system (Win2000) there are 3 com-ports:
    com1 (internal, max. 115 kbps), com3/4 (PCI card, max. 921
    kbps):
    
    % set c1 [open com1 r+]
    fileaad420
    (bin) 2 % 
    (bin) 2 % fconfigure $c1 -mode 460800,n,8,1
    can't set comm state
    (bin) 3 % set c3 [open com3 r+]
    fileaafb50
    (bin) 4 % fconfigure $c3 -mode 460800,n,8,1
    (bin) 5 % fconfigure $c3 -mode 921600,n,8,1
    (bin) 6 % fconfigure $c3 -mode 1843200,n,8,1
    can't set comm state
    
    I did not measure whether there are real 921 kbps coming out,
    but at least there is no error.
    
    
    
  2. login: "schroedter"
  3. mimetype: "text/plain"
  4. username: "schroedter"