*************************************************************************** * 68HC811 EEPROM Programmer V1.0 7/12/92 * * * * (c) 1992 Robert W. Vreeland Jr. * * All Rights Reserved * * * * IMPORTANT: USE OF THIS SOFTWARE IMPLIES ACCEPTANCE OF THE FOLLOWING * * TERMS AND CONDITIONS ON THE PART OF THE USER. * * * * This Executable File may be freely redistributed provided that: * * * * (1) No Charge is made for this executable aside from a modest * * (not more than $6.00) to cover copying, mailing, the media * * it is on, etc. * * * * (2) The Program is not used for any commercial purpose nor as * * part of any commercial product without the express written * * consent of the above author. * * * * (3) This documentation file is included with every copy of the * * executable that is distributed. * * * * (4) Neither this document nor the program executable nor any other * * files supplied with this program are modified or altered in * * any way. * * * * This Program and all associated files are copyrighted material and * * remain the exclusive propery of the author. * * * * VERY IMPORTANT: ALL THOUGH ALL ATTEMPTS HAVE BEEN MADE TO ENSURE THE * * RELIABILITY, USEFULNESS, SUITABILITY OF THE INCLUDED * * SOFTWARE, THE AUTHOR CAN NOT MAKE ANY GUARANTEES OR * * WARRANTIES AS TO THE OPERATION OF SAID PROGRAM. THE * * USER AGREES BY USING SAID PROGRAM TO ASSUME ALL * * RESPONSIBILITY FOR THE USE OF THE PROGRAM. THE * * AUTHOR MAY NOT BE HELD LIABLE FOR ANY DAMAGE TO * * SOFTWARE OR HARDWARE RESULTING FROM THE USE OR MISUSE * * OF SAID PROGRAM. * * * * These terms and conditions apply to the above program only, read any * * other documentation files for terms and conditions pertaining to other * * included software or hardware. * *************************************************************************** 68HCProgram 7/12/92 Description This is a small but extremely useful program which I cooked up for a hardware project I am working on currently. I'm designing an application using the 68HC811 microcontroller distributed by Motorola Corp. The only problem with this device is that of how to program the 8K EEPROM contained within it without buying an expensive programmer or prototype board. That's where 68HCProgram comes in. Coupled with the hardware interface described in accompaning docs, 68HCProgram allows you to program a Motorola 68HC811 microcontroller by attaching it to the Amiga's serial port. 68HCProgram initializes it by sending a 256 byte programmer routine to it thru the serial port. This routine executes in the 68HC811 and waits data to be programmed or verified to be sent from the Amiga. Requirements: 68HCProgram runs under WB1.3 (and should under 2.0 also). It requires less than 20K of RAM and uses the built-in serial port. How To Run: Starting 68HCProgram is simple, you may click on its icon from the workbench. Or you may execute it from the CLI, no line arguments are necessary. Once started, 68HCProgram will open a main window with several gadgets and a small requester. At this point you should make sure the 68HC811 is properly connected to the Amiga's serial port and turned on. (See accompanying doc for info on how to connect it.) Click on 'OK' and the program will send a 256 byte program to the 68HC811 to allow programming. This program, which must be in the same directory as 68HCProgram is called 68HCProgram.s19. An additional requester will pop up when the program has been completely trans- mitted. Click on 'OK' to continue. Note that clicking on 'CANCEL' will abort any operation currently taking place. Or you may hit 'Abort' in the main window to end an operation or end the program if no operation is taking place. Now you may program data to the 68HC811 or verify data that you have already programmed. 68HCProgram's window contains 6 gadgets: File Path: The name and directory path for a program in motorola s19 format to be programmed or verified. Program/Verify: These gadgets (only one on at any one time) indicate which operation will be done when you press 'START'. Start: Starts either a program or verify operation. Abort: When pressed during an operation, aborts that operation. Otherwise aborts the program. The window also includes the field "Bytes Transferred" which indicates how many bytes have currently been programmed or verified. Operation of the program thus becomes quite simple. A requester will always appear on the completion of a Program or Verify request to confirm proper completion of the request. During Verify, a requester will appear if an error occurs. Note that if an error occurs during Verify or Program, you will be prompted to reset the 68HC811 board (by turning it on and off) and the original programmer routine will be resent. How To Reach Me: Feel free to send me any questions, comments or bug reports. I can be reached on CompuServe as 70642,44 or on Genie as RVREELANDJ1. Known Bugs: Occasionally when an error occurs and the program prompts you to reset the 68HC811 board, the file paths get fouled up and you may get an error regarding the format of the 68HCProgram.s19 file. If this happens, select 'CANCEL' to exit the program and begin again. What's a motorola S19 file? S19 files are an ASCII format object file created by motorola freeware assemblers. Amiga11, the motorola freeware 68HC11 assembler produces files in this format. 68HCProgram understands this format, and this format only for object program files it is programming to verifying with an 68HC811. How to contact Motorola for more info on the 68HC811 and other microcontrollers: You can call the Motorola FreeWare BBS at 1-512-891-3733. Or you can call the Motorola Literature Distribution Center at 1-800-521-6274.