HC908
Software
'HCmon' Debug Monitor
Version
1.0 --
Source Code
S-Record File Listing
Common Files: Macros.inc
Drivers.s Local.inc
Utils.s AB_regs.inc
All Current Software: Download
all files in recommended folder structure
Version 2.0 --
Source Code S-Record File
Listing
Common Files: Macros.asm
Drivers.asm Local.asm
Utils.asm AB_regs.asm
All Current Software: Download
all files in recommended folder structure
This page describes the software tool called "HCmon", a freeware debug monitor adapted from L3 Systems. This valuable program provides machine-level access to memory and registers of the HC908 microcontroller, and provides an ability to load, burn to flash memory, and debug other software programs loaded on the HC908.
The
HCmon debug monitor program is pre-loaded in every HC908 Daughtercard provided.
Access to HCmon is made by installing the Monitor Jumper across J1 pins 19 and
20 and resetting the board. The HCmon sign-on message will then appear on a
terminal connected to the serial port of the daughtercard.
Features
Small
size -- Full blown debugger fits in under 3.5K, which allow to reside at
F000. It uses 64 bytes of RAM, from 0x400 to 0x43f.
Disassembler
-- Full disassembler, complete with address operand decoding
Breakpoint
- Uses on chip break register to insert a breakpoint anywhere in flash or
RAM, without having to write over flash. So it will work if your flash is
protected. Special feature allow you to easily resume from breakpoint
without removing the breakpoint.
Single
Step -- Allows single step execution of a program. Every step shows the
disassembled instruction and shows all the registers.
Downloader
– S-record downloader, communicates at 9600 baud for fast programming.
Register
View -- Allows viewing all user program registers.
Dump
Memory -- Hex dump command allows easy viewing of memory
Memory
Edit -- Easily change memory. Sequences forward and backward.
Memory
Fill -- Allows filling memory a particular value. Begin and end
addresses are specified.
Flash
Clear -- One command will clear all flash, allowing for a new download.
Removed $803C hook into User Space to reduce complexity and chance for user to mess up by user inadvertently overwriting the hook code. As a result, the HC908 Daughtercard LCD no longer displays sign-on banner upon power-up into HCmon debug monitor.
Corrected comment for PIT interrupt vector code (FFF6+FFF7)
Included files changed to extension "*.asm" to enable easier file opening during editing sessions