Motorola 68HC11 Utilities for Linux

Binary distribution of everything on this page (104182 Bytes) This includes a script to help you install things in the correct locations. It isn't perfect, but for most typical installations will get things up and running. To unpack, type

tar xzvf naitmd2-tools-0.0.tar.gz

change into the directory nait-md2-tools-0.0 and type

./install

You will be prompted for some information. Last post: Fri May 12 13:00:11 MDT 2000.


AS6811 for Linux (i386) (105810 Bytes) This file contains the Baldwin Assembler (meant for more than just the HC11) and linker with the manual in raw text format. The assembler was modified slightly, so don't count on platform-independence. A calling script (written in TCL) is also provided. This script includes a few tricks to report errors relative to the source files (rather than the list file). Errors are reported in a manner such that the emacs compile mode can parse the errors and jump you right to them.

To install, unzip the file, change to the directory and type "make". As root, move as6811, aslink, and asm to /usr/local/bin. Set permissions accordingly. You may need to modify the location of header files in the Makefile. If you don't have tclsh, you will need to rewrite asm. Lastly, you may need to change the value of variable "pathtoas6811" in asm if you don't put the files in /usr/local/bin.


hcdl - HC11 A1/A8/E2 Bootstrap Downloader Rev 0.2 (16388 Bytes) This file is a TCL script used to interface with the HC11 when in bootstrap download mode. Installation instructions and calling syntax are contained within the script itself. This file requires TCL 8.1 (version 8.0 seems to have a bug in configuring serial ports). This file has been tested on i386 Linux but should be as portable as TCL. Last post: Wed May 10 16:29:28 MDT 2000.
eeburn - HC11 A1/A8/E2 EEPROM Burner Rev 0.2 (27566 Bytes) A TCL script that is used to program either internal or external EEPROM in various configurations. Installation instructions and calling syntax are contained within the script. The program works by first downloading a file to the HC11 (in special bootstrap mode) which is capable of burning either internal or external EEPROM. eeburn then interfaces with this program through a serial port, sending the actual data to burn into the EEPROM. Last post: Wed May 10 16:29:28 MDT 2000.

This script requires TCL 8.1 or greater, boot_ext.s19, boot_int.s19 and hcdl.


eeburnx - HC11 A1/A8/E2 EEPROM Burner with Graphical Interface Rev 0.1 (25262 Bytes) Same as eeburn, but with a GUI. New and improved (over Rev 0.0). Last post: Wed May 10 16:29:28 MDT 2000.

This script requires TCL/TK 8.1 or greater, boot_ext.s19, boot_int.s19, and nait.xbm.

In addition, modification to Rev 0.1 has involved using a progress bar widget, written entirely in TCL/TK. This falls under GPL, and is given here: Progress Bar Rev 1.3 by Alexander Schoepe

Installation directions: Download all necessary files, as given above. Move boot_ext.s19, boot_int.s19, and nait.xbm to /usr/local/hc11. Set permissions accordingly (probably with chmod 644 file). Untar and unzip the progress bar widget code in a temporary directory. Execute 'tar xzvf p13_tar.gz'. Move progressbar.tcl to /usr/local/lib. Move eeburnx to /usr/local/bin and chmod 755 it. That should be it. Here is a screenshot of eeburnx running.

 

boot_int.s19 (551 Bytes) HC11 S-record file containing the program that is used to program internal EEPROM. This .s19 was created from source by Grant Beattie.
boot_ext.s19 (484 Bytes) HC11 S-record file containing the program that is used to program external EEPROM. This .s19 file was derived from Grant Beattie's version of boot_ext.
micro11.s19 (Version 1.05) (37918 Bytes) A wonderful menu-driven monitor of the 68HC11 by Grant Beattie. If you are fighting with BUFFALO, you will probably find it is worth your while to give micro11 a whirl. Micro11 needs to appear in the upper quarter of the HC11 logical address space: 0xC000--0xFFFF. You could try it out in RAM, but it is useful enough that you will probably find that it deserves to sit in EPROM or EEPROM.

The following is a look at the main menu of the Micro11 monitor displayed on an xterm running minicom. (I use "minicom -c on micro" to allow colour display.)

 

minirc.micro (670 Bytes) A minicom configuration file to communicate with the micro11 monitor. Likely the only additional configuration you will require is specification of the correct serial port. The lock file location has been set to "/home/student". Change this to be the home directory of the user that uses minicom. Placement in this location was performed so that hcdl, eeburn, and eeburnx could make use of the lock file semaphore.
ASCII transfer utility (1933 Bytes) If you use minicom with micro11, you will likely need this ASCII transfer utility (ta). I had problems configuring minicom to use ascii-xfr and decided to write a simple TCL script that does the same thing, but also places the micro11 monitor into the Motorola .s19 receive mode. In order to use "ta", simply specify the name of the .s19 file to send. Minicom or some other application which initializes the serial port baudrate, etc. must be open as this script simply uses "cat" to push the file out.
EMACS Assembler Macros (10628 Bytes) These are macros which enhance the operation of EMACS in assembly-mode. The front-end function is "asm-create-file". This function prompts the user to enter information about the program and creates a template, loads asm-mode and creates a menu-bar entry and a popup menu. Using this menu or the commands which the entries call, the assembler can be called (in compile mode), syntax errors can be cycled through (by pressing F2), and the ASCII transfer utility can be called. Place this file in the home directory (or in an auto-loaded location) of the user. Last post: Fri May 12 13:00:11 MDT 2000.