SEARCH
TOOLBOX
LANGUAGES
modified on 7 September 2011 at 18:26 ••• 62,523 views

PicoJTAG Manual/Getting Started

From Manuals

Revision as of 18:26, 7 September 2011 by Support (Talk | contribs)
Jump to: navigation, search


Contents

IDE Support

The Micromint picoJTAG setup disk includes plugins and drivers to integrate with popular IDEs used for ARM software development.

  • IAR Embedded Workbench for ARM (ewarm)
  • Keil MDK
  • GNU Toolchain (gcc) for ARM - using OpenOCD

The IAR and Keil plugins were developed by CooCox. The GCC driver comes from the OpenOCD Project. You can also use some other drivers that support FTDI debuggers. To install the drivers execute the autorun utility on the CD.

picoJTAG Setup Disk
Figure 2.1: picoJTAG Disk Main Menu

IAR Plugin

After installing the IAR plugin, follow these steps to configure your project to use it.

1. On the IAR EWARM menu go to "Project", "Options", "Debugger" and on the "Setup" tab select the RDI driver. If your target requires an IAR macro file for initialization, specify it on the "Setup macro" area. The examples area of the CD includes an example initialization macro for LPC1769 processors.

IAR Debugger Setup Options
Figure 2.2: IAR Debugger Setup Options

2. Go to the "Download" tab and select the "Use flash loader(s)" option so code is loaded to flash at the start of the debugging session. To guarantee the integrity of the download your should also select the "Verify download" option.

IAR Debugger Download Options
Figure 2.3: IAR Debugger Download Options

3. Go to the "RDI" section of the "Debugger" area and specify the location where you installed the RDI driver.

IAR Debugger RDI Options
Figure 2.4: IAR Debugger RDI Options

4. On the IAR EWARM menu go to "RDI", "Configure" and select the device target and options.

IAR RDI Configuration
Figure 2.5: IAR RDI Configuration

Keil MDK Plugin

After installing the Keil plugin, follow these steps to configure your project to use it.

1. On the Keil uVision IDE menu go to "Project", "Options" and on the "Debug" tab select the CooCox Debugger.

Keil Debugger Setup
Figure 2.6: Keil Debugger Setup

2. Click on the "Settings" button next to the debugger listbox and select the picoJTAG adapter.

Keil Debugger Configuration
Figure 2.7: Keil Debugger Configuration

GNU Toolchain using OpenOCD

Loading OpenOCD
Figure 2.8: Loading OpenOCD

Flash Programmer

Flash Programmer
Figure 2.9: Flash Programmer

NEXT: Connectors and Jumpers

PREVIOUS: Introduction