Serial Configuration
 

   Though we recommend using BASICtools or TclTerm to talk to Coridium ARM products, here are settings for other terminal programs. 

  Any program on the PC that can communicate with a serial port can send or receive data to the ARM.  This would include MSCOMM and Visual BASIC.  Also various C's including GCC.  Other options include Perl or Tcl scripts. 

   However these programs must be able to control the DTR and RTS lines under user control.  If they cannot refer to the next section. Programs that cannot include Matlab, Hyperterm and Teraterm.

   The BASICtools .tcl is the source for a Tcl program that operates as a terminal emulator for the ARM family.  You can use it if you have access to any of the GPL Tcl interpreters, or a compiled version is available on the Coridium Support page.  The sources are also at the ARMexpress Yahoo Groups Files Section where you will also find a sample C program (written for MinGW) that will also communicate with the ARMexpress family.

Baudrate

   19.2 Kbaud, 8 bit, No Parity, 1 stop bit.   These settings are controlled by BASICtools , any settings in the Device Manager are IGNORRED.

End of Line

   expects a LF (line feed),  

   CR is currently ignored.

Voltage Levels -- ARMexpress ONLY

   /SOUT, /SIN and ATN (pins 1,2,3) will accept either TTL or RS-232 levels. ATN when high resets the ARM, and ATN should not be allowed to float. It should either be connected directly to DTR, or some TTL signal that is LOW or Ground. The /SOUT driver relies on either /SIN or ATN being low to generate the low going voltage. This allows for full-duplex serial operation.

When BASICtools appears to be deaf

   There are cases where the USB driver and BASICtools get out of sync.  This includes when the board is disconnected from the USB port, and sometimes when the serial configuration is changed.  In these cases it may be necessary to exit BASICtools and then restart it.

TclTerm configuration settings

   The configuration of BASICtools is saved in a file BASICtools.ini.  It is written when either it does not exist (when first installed) or when the configuration is changed by the user.  This file is a Tcl source which may be edited by the user.  If it becomes corrupt, delete the file and the default configuration will be restored. 

The file can be found in %appdata%\coridium directory