Keil Logo

ULINK USB-JTAG Adapter

The section ULINK USB-JTAG Adapter displays driver, device, and firmware information about ULINK2.

Target Driver Setup - ULINK2 Adapter

  • Serial No displays the serial number of the ULINK2 adapter. When more ULINK2 adapters are connected, use the drop-down list to select the adapter.
  • Max JTAG Clock sets the JTAG clock rate for communicating to the target board. ULINK2 supports the Return Clock (RTCK) pin, which is available on most ARM7 and ARM9 devices. The RTCK signal adjusts the JTAG clock speed to the highest possible rate for that device.
  • Use nTRST asserts the nTRST signal for JTAG reset. By default, this option is disabled.

Some applications require starting with a lower JTAG Clock from RESET and have to switch to higher clock rates when debugging. Use the VTREG DEBUG_CLOCK to alter the clock rate from scripts:

/*-------------------------------------------------------------------------
  The function sets the JTAG Debug Clock to 1MHz
  after the Main Clock has been enabled and selected.
-------------------------------------------------------------------------*/
FUNC void setJTAGClock()  {
  enableMainClock();         // add your code to switch on the Main Clock

  DEBUG_CLOCK = 1000000;     // Set JTAG Debug Clock to 1MHz
  _sleep_(10);

  enableMainPLL();           // add your code to enable the main PLL
  _sleep_(100);
}

Note

  • RTCK can be used only with devices that provide the RTCK pin.
  • When communication issues arise, reduce the clock rate in Max JTAG Clock.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.