Keil™, An ARM® Company

MCB2400 User's Guide

External Tool in µVision

You can configure the µVision Flash Download Command to program the MCB2400 using the Flash Magic utility from within µVision. The steps to setup the MCB2400 for programming Flash are:

  1. Configure Flash Programming.

    Options for Target ButtonUse the toolbar button and click the Utilities tab to display the Utilities dialog, or
    Select the Project — Options for Target — Utilities dialog.

    • Enable Use External Tool for Flash Programming.
    • Modify the program path:

      Command: FM.EXE
      Arguments: DEVICE($D,$X) ERASE(DEVICE,PROTECTISP) HEXFILE(#H,NOCHECKSUMS,NOFILL,PROTECTISP) COM(4,115200) HARDWARE(BOOTEXEC,100,50)

      Utilities

      Note

      • Make sure the program path in the Command text box corresponds to where you installed the download utility.
  2. Connect and Configure
    • You must adjust the COM number according to your PC configuration.
    • The jumpers on the MCB2400 Board must be configured for Flash Magic:
      • J30 & J31 to LEFT
      • J33 = ON
  3. Download to Flash

    button Click the Download to Flash button or use the µVision command Flash — Download to download the application program into the MCB2400 device.

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

    Flash Magic Download Output Window