Keil™, An ARM® Company

FlashMon51 User's Guide

Preliminary

Monitor Configuration

Flash Monitor can be adapted to different devices. Its code and data can be located at any address. All hardware-specific code such as flash programming algorithms and serial interface initialization can be modified in the CONFIG.INC file.

You should perform the following steps to configure the Monitor-51 for a new Target Board:

  1. Create a new empty folder in \C51\FlashMon\.
  2. Copy the contents of an example configuration (i.e. the \C51\FlashMon\T89C51CC01\ folder) to this new folder.
  3. Load the project file Monitor.UV2 into µVision environment.
  4. Describe your target hardware in the Abstract.TXT file.
  5. Open the file Config.INC and specify your hardware configuration.
  6. Generate your Monitor configuration with Project — Build Target.
  7. The resulting hex file Monitor.HEX can now be programmed into the Flash or EPROM of your target system.

Notes

  • For devices with extended serial interface or expanded chip features, you need to adapt specific CPU features or the serial interface in the file INSTALL.A51.
  • The \C51\FlashMon\ folder contains several pre-configured Monitor versions.

Related Knowledgebase Articles