24.10.2012 Views

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.4 Setup for different debuggers (internal flash)<br />

The J-<strong>Link</strong> flash download and flash breakpoints features can be used by different<br />

debuggers, such as IAR Embedded Workbench and GDB. For different debuggers<br />

there are different steps required to enable J-<strong>Link</strong> flash download and flash breakpoints<br />

which will be explained in this section.<br />

6.4.1 IAR Embedded Workbench<br />

To use the J-<strong>Link</strong> ARM FlashDL and FlashBP features with the IAR Embedded Workbench<br />

is quite simple:<br />

First, choose the right device in the project settings if not already done. The device<br />

settings can be found at Project->Options->General Options->Target.<br />

To use J-<strong>Link</strong> ARM FlashDL the IAR flashloader has to be disabled (the FlashBP feature<br />

can also be used when IAR flashloader is enabled). To disable the IAR flashloader<br />

the checkbox Use flash loader(s) at Project->Options->Debugger-<br />

>Download has to be disabled, as shown below.<br />

If you use the IAR project for the first time, the use of J-<strong>Link</strong> ARM FlashDL and<br />

FlashBPs is set to Auto, which is the default value. For more information about different<br />

configurations for J-<strong>Link</strong> ARM FlashDL and FlashBPs please refer to Settings<br />

J-<strong>Link</strong> / J-<strong>Trace</strong> (<strong>UM08001</strong>) © 2004-2010 SEGGER Microcontroller GmbH & Co. KG<br />

147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!