Keil™, An ARM® Company

MCB900 User's Guide

Downloading with Flash Magic

Downloading using the Flash Magic utility requires the following steps to download code to the on-chip Flash ROM of the P89LPC935 or P89LPC932. You must setup the MCB900 Board as follows:

Select and start Programs - Flash Magic - Flash Magic.

  1. For Communications, select the PC port with the serial cable connected from the board as the COM Port, specify 9600 as the Baud Rate, and select the P89LPC935 as the Device.

    Flash Magic - COM Connection

  2. Enable Erase blocks used by Hex File.

    Flash Magic - Erase Blocks

  3. Select the Hex File, for example: C:\KEIL\C51\EXAMPLES\PHILIPS LPC935\BLINKY\BLINKY.HEX.

  4. Open the dialog Options — Advanced Options —Hardware Config. Enable Use DTR and RTS to enter ISP mode and disable Assert DTR and RTS while COM Port open. Also, make sure the Hardware: text box has Keil MCB 900 selected, then click OK.

    Flashmagic Advanced Options Dialog
  5. Flashmagic Advanced Options DialogClick Start to download the Hex File into the Flash ROM of the P89LPC935.

    In case of errors, check the COM connection and jumper settings (RESET: ON, RUN: OFF).

  6. µVision uses Flash Magic in batch mode for Flash programming. Monitor the progress in the Output Window that displays the messages Flash Magic generates.

    Downloading Flash Magic