Keil™, An ARM® Company

MCB2103 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 MCB2103 Evaluation Board. To setup ULINK for Programming Flash within the µVision IDE, you must:

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

    MCB2103 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 of the LPC2103 during the software development cycle in your application program.
  2. Power up the MCB2103 Board.
  3. Configure Flash Programming in the Project — Options for Target — Utilities dialog.

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

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

    Use Target Driver for Flash Selection

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

    Update Target Before Debugging Selection

    Click the Settings button to open the Flash Download Setup dialog.

  4. Configure the Flash Download Setup dialog.

    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 LPC2103 device.

    The ULINK-JTAG adapter can also be used for downloading and debugging application code in Flash ROM or in RAM of the LPC2103 microcontroller.

Related Knowledgebase Articles