PicoJTAG Manual/Getting Started
From Manuals
Contents |
IDE Support
Micromint's picoJTAG software includes plugins and drivers to integrate with popular IDEs used for ARM software development. Please download the software from the Accessories Documentation Wiki.
- 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.
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 directory of the CD includes an example initialization macro for LPC1769 processors.
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.
3. Go to the "RDI" section of the "Debugger" area and specify the location where you installed the RDI driver.
4. On the IAR EWARM menu go to "RDI", "Configure" and select the device target and options.
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.
2. Click on the "Settings" button next to the debugger listbox and select the picoJTAG adapter.
GNU Toolchain using OpenOCD
To use the picoJTAG with the GDB debugger you need to copy the OpenOCD files to your hard disk and start the OpenOCD service. OpenOCD requires a processor configuration file. The examples directory of the CD includes examples for TI LM3S and NXP LPC1769 processors.
The GDB debugger can be used from the command line or from the Eclipse IDE.
Flash Programmer
CooCox CoFlash is a stand-alone Cortex M Flash Programming software for PCs running Microsoft Windows. It can be downloaded from the following website: http://www.coocox.org/CoFlash_Programmer.htm
Follow these steps to program a Cortex M microcontroller using CoFlash and the picoJTAG:
- 1. Open the CoFlash programmer
- 2. Select picoJTAG as the Adpater
- 3. Select the microcontroller being used
- 4. Select the Command tab
- 5. Browse for the binary or elf file
- 6. Verify that the sector offset and sectors are properly selected. See below figures for further details
- 7. Click on the Program button












