Formats of constants 1) Integer-type constants. A integer-type constant is expressed as a decimal number or a hexadecimal number which begins with a '$' character. Floating point operation is not supported. Example: 123 -11 $3a $10F Note on negative integer constants. 2) String-type constants. MACRO (TTPMACRO.EXE) is an interpreter of the macro language 'Tera Term Language (TTL)', which controls Tera Term and provides various functions like auto dialing, auto login and so on.
Tera Term Tutorialhttps://heavymarketing501.weebly.com/intel-gma-booster-download.html. Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
Introduction
Tera Term is an opensource terminal emulator on MS-Windows commonly used by us developers. Tera Term supports a 'rich' macro language that can help in automating user actions. These scripts usually remain personal - rarely shared.
In this page, I intend to share the basic scripts that can be used to automate common tasks in the Linux PSP release. The scripts were created with intentional hierarchy to maximize reuse (via inclusion) and minimize redundancy across scripts. Currently, these scripts apply to OMAP35x Linux PSP. But, can be extended easily to other platforms.
Needless to say, these scripts are open to enhancements.
How to execute a TeraTerm script?ScriptsFile Naming Conventions
__common.ttl__uboot-config-common.ttl__uboot-config-network.ttl
This file uses dummy values for various macros. They need to be defined with correct values for your platform.
__uboot-load-kernel.ttl__kernel-common.ttl__kernel-power.ttl__test-cpuidle.ttl__test-cpufreq.ttlomap3evm-flash-uboot.ttlomap3evm-boot-ramdisk.ttlomap3evm-boot-nfs.ttlomap3evm-test-power.ttlWhat about DaVinci TeraTerm Scripts?
Below are a few simple scripts used to boot a DaVinci EVM - obviously you'll need to modify your IP address, kernel name and rootpath appropriately. These examples should serve as a good starting point if you want to create your own scripts.
To run the scripts, simply hit any key during the U-boot countdown to get to the U-boot prompt. Then run 'Macro->Control' and browse to the *.ttl.
DM6446: Crossover Script
When you don't have a switch/router and need to boot your EVM using TFTP/NFS, you can directly connect your EVM to your laptop with a crossover cable. Here, the Linux host's IP address is set to 192.168.1.100 (modify as needed). To manually set the Linux host's IP address:
Also, note the $(videoargs) setting below (setup for DVSDK 1.30)--if you are using an older DVSDK, simply remove $(videoargs) from the bootargs.
Note: The use of parenthesis for variable substitution is being deprecated for new U-boot releases - use curly braces {} instead. Check http://www.denx.de/wiki/view/DULG/CommandLineParsing
Are there any DM355 examples?
Below are 4 macros for each of the boot options on DM355 - TFTP/NAND for kernel and NAND/NFS for file system):
Note: The use of parenthesis for variable substitution is being deprecated for new U-boot releases - use curly braces {} instead. Check http://www.denx.de/wiki/view/DULG/CommandLineParsingNote: The use of parenthesis for variable substitution is being deprecated for new U-boot releases - use curly braces {} instead. Check http://www.denx.de/wiki/view/DULG/CommandLineParsingNote: The use of parenthesis for variable substitution is being deprecated for new U-boot releases - use curly braces {} instead. Check http://www.denx.de/wiki/view/DULG/CommandLineParsingNote: The use of parenthesis for variable substitution is being deprecated for new U-boot releases - use curly braces {} instead. Check http://www.denx.de/wiki/view/DULG/CommandLineParsing
Tera Term Script TutorialAre there any DM6467 examples?
Below is an example ttl script for users with a switch/router. To reiterate one of the advantages of using a ttl script is that you can share boards between team members without wrenching their boot settings.
This ttl script has been tested in the DVSDK 1.40 environment.
Naturally replace the serverip with whatever /sbin/ifconfig shows as your IP address.
Here is a DM6467T EVM Teraterm macro file for DVSDK 3.10. The macro provides the following options:
Note: The use of parenthesis for variable substitution is being deprecated for new U-boot releases - use curly braces {} instead. Check http://www.denx.de/wiki/view/DULG/CommandLineParsing
Tera Term Macro TutorialWhat about OMAP-L1 TeraTerm Scripts?Are there any OMAPL137 examples?![]()
Below is an example ttl script for users with a switch/router and NFS server. To reiterate one of the advantages of using a ttl script is that you can share boards between team members without wrenching their boot settings.
Java 8 jdk download 64 bit. This ttl script has been tested in the SDK 1.00.00.10 environment and all directories and filenames match the default installation procedure as listed in the Installing the Software for OMAP-L137
Note: for OMAPL137 you must set the delay as mentioned in the What is a TeraTerm INI? section
The script below works with an USB pendrive that should meet the requirements below. Check the <LSP_02.20_OMAP-L137_User_Guide.pdf> and this topic for additional details.
Note: The command usb start sometimes hangs on the message scanning bus for storage devices... If this happens to you, stop the macro from executing, reset the board and reload the script file.
The script below works with a linux kernel in SPI and a MMC/SD card that contains the root filesystem
Are there any OMAPL138 examples?
Below is an example ttl script for users with a switch/router and NFS server. To reiterate one of the advantages of using a ttl script is that you can share boards between team members without wrenching their boot settings.
Teraterm Macro Help
This ttl script has been tested in the SDK 1.00.00.08 environment and all directories and filenames match the default installation procedure as listed in the GSG: Installing the Software for OMAP-L1
What about using a DLP Pico Projector?Beagle exampleTera Term Macro FileWhat is a TeraTerm INI?
When TeraTerm starts, it runs TERATERM.INI to setup the console. Once you have set your serial terminal to the correct baude rate (via 'Setup->Serial') on COM1 (via 'Setup->General->Default Port'), you can save the setup via 'Setup->Save Setup.' Save this setup in the TeraTerm Installation directory by overwriting TERATERM.INI. Now your TeraTerm will be setup correctly every time you start it.
To run the above scripts, you may need to add a line delay of 100ms (otherwise the lines can become concatenated) by setting the Transmit delay to 100 ms/line (via 'Setup->Serial'). You'll probably want to save this modification in TERATERM.INI to avoid having to modify it every time you start TeraTerm.
Retrieved from 'http://processors.wiki.ti.com/index.php?title=Teraterm_Scripts&oldid=181493'
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |