任务单 #39788

ttmacro - setrts command has no effect

开放日期: 2019-11-25 19:53 最后更新: 2019-11-26 03:28

报告人:
属主:
(无)
类型:
状态:
关闭
组件:
里程碑:
(无)
优先:
7
严重性:
5 - Medium
处理结果:
Invalid
文件:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

TeraTerm Version used: 4.103 on a Windows 10 laptop.
Device is connected to the PC through an FTDI UART USB converter.

I'm trying to control the RTS line of the UARTby using the setrts command. But when I probe the RTS line, I observe no change on this signal.
Below the basic code used check setrts command behavior: force the flow control to hardware(RTS/CTS) and then toggle the RTS every 5 seconds

    ; Enable HW flow control (RTS/CTS)
    setflowctrl 2

    ; Toggle RTS every 5 seconds
    while 1
        dispstr "#RTS 1 "
        setrts 1
        pause 5 

        dispstr "#RTS 0 "
        setrts 0
        pause 5
    endwhile
    exit

任务单历史 (3/3 Histories)

2019-11-25 19:53 Updated by: cgimenez
  • New Ticket "ttmacro - setrts command has no effect" created
2019-11-25 19:57 Updated by: cgimenez
  • 优先 Update from 5 - Medium to 7
2019-11-26 03:28 Updated by: cgimenez
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from to Invalid
评论

Closed as invalid, like the HW flow control should be disbable to be able to change manually theRTS signal by setRTS command.
Works fine by changing

    setflowctrl 2
by
   setflowctrl 0

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名