Keil Logo

µVISION DEBUGGER: USING SAM-ICE WITH µVISION


Information in this article applies to:

  • MDK-ARM

QUESTION

I have an AT91SAM7S-EK evaluation board and a SAM-ICE JTAG adapter. How do I configure this adapter to work with µVision?

ANSWER

Use the following steps to install and configure the SAM-ICE adapter for µVision:

For MDK-ARM 3.50 and later:

Starting with MDK-ARM version 3.50 and later, support was added for the SEGGER Microcontroller J-Link and J-Trace hardware debug units. The recommended debugging solution is using the Keil-provided J-link drivers -- not the RDI interface.

For older versions of MDK-ARM:

I. Install J-Link Drivers

  1. Download and install the latest version of J-Link ARM from the Segger web site: http://www.segger.com/downloads.html#jlinkarm
  2. Download the AT91SAM-ICE User Guide found here: http://www.atmel.com/dyn/products/other_docs.asp?family_id=605
  3. Install the USB drivers (jlink.inf) located at (where Vxxxx is the revision level of the drivers):
    C:\Program Files\SEGGER\JLinkARM_Vxxxx\USBDriver\ 
    

    (See the AT91SAM-ICE User Guide for more details)

  4. Run the JLINK.EXE program (installed on your desktop during Step 1) to verify communication to SAM-ICE adapter and to the AT91SAM7S-EK board.

II. Configure the RDI Interface

  1. Locate the README.PDF document and the Keil project found at:
    C:\Program Files\SEGGER\JLinkARM_Vxxxx\Samples\RDI\Projects\KEIL\ATMEL\AT91SAM7S64
    
  2. In Step 5 of the README document, make sure that the RDI Interface driver (JLinkRDI.dll) is located at this folder:
    C:\Program Files\SEGGER\JLinkARM_Vxxxx\ 
    
  3. In Step 7 of the README document, in the J-Link RDI Configuration, for the Init tab section, change the location of the macro file to:
    C:\Program Files\SEGGER\JLinkARM_Vxxxx\Samples\RDI\SetupFiles\AT91SAM7
    
  4. Verify that all the settings were the same as in Steps 8, 9 and 10 of the README document.

Build the BLINKY project (see Step 5 of the README document), then start the debugger. The program should download and debug normally.

MORE INFORMATION

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, February 24, 2017


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.