Teraterm Script Serial Port

Posted by admin

How to verify prada authenticity

How do I make Tera Term toggle DTR and RTS, or execute any of its custom commands in the Tera Term language (TTL)?

  1. Tera Term Macro Open Serial Port
  2. Vga Port
  3. Teraterm Command Line Serial Port

I have an electronics project that uses an FTDI chip as the serial interface between PC and the electronics board. I need to communicate to the FTDI chip to toggle the DTR and RTS pins, which are set to control various system states.

user3897976user3897976

Tera Term (alternatively TeraTerm) is an open-source, free, software implemented, terminal emulator (communications) program. It emulates different types of computer terminals, from DEC VT100 to DEC VT382. It supports telnet, SSH 1 & 2 and serial port connections. For Tera Term or propose new commands for the Tera Term Macro language. Jump to TeraTerm Macro language for dummies - Here is a brief tutorial called TeraTerm Macro language for. Essentially, it reads through all of the serial. /BAUD=: speed of serial port. Same as the /SPEED= option. Actually, the serial port driver may not reflect your speed. /C=serial port#>: Serial port.

Script

1 Answer

Tera Term has an entire scripting language called Tera Term Language (TTL). You can find all the commands on their website. The question is how do you execute a command?

Tera Term will execute commands from a TTL file. Create a text file with your one command, or any number of commands, and save the file with a .TTL extension.

In Tera Term click the 'Control' menu, then select 'Macro'. This will allow you to navigate to your TTL file.

There are example TTL files in the Tera Term installation directory.

Also, a side detail I didn't see explained anywhere else: it is perfectly ok to change any of the serial port settings, without needing to disconnect and reconnect. You will need to rerun your macros, however. In my case, if I changed from 9600 baud to 115,200 baud, I would need to rerun my script to enable DTR and RTS.

My TTL file looks like this:

Term
user3897976user3897976
Script

Tera Term Macro Open Serial Port

Not the answer you're looking for? Browse other questions tagged serial-portteraterm or ask your own question.

Archived

Help with serial port file transfer?

(cross-posted to /r/hardware)

I am trying to build a windows/DOS script which will open a com port connection to a linux device, run a program on that device which creates a file, then transfer the file back to the windows box.

I've got it all down pat except for the last step. How can I send a file from this linux box over serial port to the windows machine?

Network connectivity is not an option, it must be done via serial port and it must be completely automated and executed from the windows machine.

Vga Port

Any help is greatly appreciated!

ps. I am currently using a powershell script to open the port to the linux machine and control the linux cmd line.

Teraterm Command Line Serial Port

88% Upvoted