
E86MON Software User’s Manual
2-2
2.0
Downloading .HEX Files
There are four example .HEX files you can download. The files are located in the
\OUT subdirectory on the floppy disk that was provided in the board kit.
AMDDHRY.HEX
A RAM-based DHRYSTONE benchmark
SECONDS.HEX
A RAM-based seconds counter
TESTMON.HEX
A RAM-based minimal DOS emulator test
LEDS.HEX
A Flash-memory-based demonstration
The source code for all these files is under the \SAMPLES subdirectory. The
E86MON software supports the downloading of Intel extended .HEX files into
RAM or Flash memory. The .HEX file should contain type 2 extended address
records, which specify the load address in the 1 Mbyte address range. The last
record in the file should be a type 1 EOF record.
A file being downloaded to RAM for execution should be located between 410h
1-7). A file being downloaded to Flash memory for execution should be located
The I command shows the size and location of the free RAM, as well as information
about the size and location of the Flash memory.
It is not permissible for the file to have some sections download to RAM and other
sections download to Flash memory because the E86MON software relocates itself
to RAM (destroying any loaded RAM program) to burn the Flash when it is
downloading to Flash memory. The E86MON software reports a range error on
the download of such a file.
If downloading into Flash memory, you should first make sure the target download
area is empty by using the X command to erase the Flash sectors. Unless you are
storing multiple programs into Flash, the easiest way to do this is to use XA to
erase all the application sectors. Note that if sectors are protected with the
protectflash variable, the XA command does not erase them (see
page 3-22).
However, they can be erased with the X number command, where number is the
sector number.
If your application requires DOS int21 support, make sure the monitor extensions
are loaded before downloading the application (see the LL command).
frtbook Page 2 Monday, August 13, 2001 4:07 PM