Keil™, An ARM® Company

MCB2100 User's Guide

ULINK USB-JTAG Adapter

The ULINK USB-JTAG Adapter allows you to debug and test programs and to program Flash memory on the MCB2100 Evaluation Board. To setup ULINK for Programming Flash within the µVision IDE, you must:

  1. Connect ULINK to the JTAG connector of the MCB2100 Board.
    Note that the red cable marks pin 1 of the JTAG-connector.
    Make sure that jumper J9 (JTAG) is ON.

    MCB2100 board connected to the ULINK JTAG Adapter

    Note

    • The Embedded ICE in the LPC2000 core is disabled when the device is in Power Down or Idle mode. ULINK stops working if your code puts the ARM device into Idle or Power Down mode. Therefore, do not enable either of the power saving modes while debugging with ULINK.
  2. Power up the MCB2100 Evaluation Board.
  3. Configure Flash Programming in the Project — Options for Target — Utilities dialog as follows:

    Options for Target ButtonClick the toolbar button and select the Utilities tab.

    Use Target Driver Option Set the Use Target Driver for Flash Programming option, then select the ULINK ARM Debugger as the Flash programming tool.

    Update Target Option Check the Update Target before Debugging option to ensure that the Flash ROM gets programmed whenever the debugger starts.

    Settings Button Click the Settings button to open the Flash Download Setup dialog for the next step.

  4. Configure the Flash Download Setup dialog as follows:

    In the RAM for Algorithm section, set the Start: parameter to 0x40000000 and the Size: parameter to 0x0800

    Flash Download Selection

  5. Click the Add button and select the LPC2000 256kB Flash algorithm.

    Flash Download Add Button

    Finally, click the OK button to save the Flash Download settings.

  6. Download your application to Flash.

    Download to Flash ButtonUse the Download to Flash toolbar button to download the application program into the LPC2100 device.