HC908
Software Tool
TeraTerm Terminal
Emulator
... use it to control the HC908 Daughtercard
Most "dumb terminals" may be used to communicate with the HC908 Debug Monitor. Examples of such programs include HyperTerminal, Red Ryder, ProComm and PCPlus.
However, a useful, public domain (freeware) terminal program called "TeraTerm" is also available to run on Microsoft Windows platforms. TeraTerm has a convenient scripting ability that can be invoked to send an S-record file (like a new software program) to your HC908 Daughtercard for flash programming by the Monitor. TeraTerm also provides an ability to set a useful “pacing” inter-character delay that gives the HCmon enough time to completely program any given flash memory location on the MPU. (This inter-character delay should be set to 5 ms in TeraTerm’s serial settings menu.)
The TeraTerm home page is at http://hp.vector.co.jp/authors/VA002416/teraterm.html
Downloading TeraTerm
Download the TeraTerm zip file from ttermp23.zip. It's about a megabyte in size.
Save the zip file to a temporary folder and unzip the contents to that same folder.
Doubleclick the setup.exe program and follow instructions.
After the installation process is complete, you may delete the installation files from the temporary folder.
Initial Configuration of TeraTerm
Note: It will be important when attempting to start TeraTerm to ensure that your serial port is free and not being used by any other programs. If another application is using the serial port, such as the Palm HotSync program, you should first close that program. (In the common case when HotSync is running in the backgroud, right-click on the program icon in the System Tray and select Exit. This will relinquish control of the serial port on your PC.)
Run the program by going to your Start button and clicking StartčProgramsčTera Term Pro . You'll see a window appear similar to the following:
Under the Setup menu, select Serial Port and set the parameters as follows:
(These are all very important settings so ensure that you have them entered properly before clicking the OK button.)
Under the Setup menu again, select Save Setup and specify any convenient name for your program. Save the configurations where you previously specified that TeraTerm was to be installed (the default location was likely c:\program files\ttermpro). Saving it here will ensure that whenever you start up TeraTerm in the future, it will have these configurations set and you needn't worry about doing these configuring steps every time you want to play.
Running TeraTerm
Run the program by going to your Start button and clicking StartčProgramsčTera Term Pro .
Connect a serial cable from your PC to your HC908 Daughtercard (i.e., to the DB9 connector on the proper pins of the J2 connector). See the Test Fixture schematic for a good example of the minimal wiring needed.
When applying power or when pressing the Rest pushbutton on the HC908 Daughtercard, you should see the one of the following messages displayed in the TeraTerm window:
Follow the guidance outlined in the Daughtercard Reference Manual in either the HCmon section or the Exerciser section, as desired.
Loading (Burning) a new program into the Daughtercard
The ability to load a new application and burn it into the flash memory of the Daughtercard is a very important feature of this project. Carefully follow the guidance presented in this section for guaranteed results.
Let's assume you currently have some program already loaded on your Daughtercard (e.g., Exerciser) and want to load the VFO program in its place.
That's it! See Notes, Application Notes and other information contained on the HC908 Daughtercard Resource Page for other related information.