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.5 Setup for different debuggers (CFI 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. The setup for using flash<br />

download and flash breakpoints with external CFI-compliant NOR flash is different<br />

from the setup for internal flash. In this section the setup for CFI-compliant NOR<br />

flash is described.<br />

6.5.1 IAR Embedded Workbench / Keil MDK<br />

Using the J-<strong>Link</strong> flash download and flash breakpoints features with the IAR Embedded<br />

Workbench is quite simple:<br />

First, start the debug session and open the J-<strong>Link</strong> Control Panel. In the tab "Settings"<br />

you will find the location of the settings file.<br />

Close the debug session and open the settings file with a text editor. Add the following<br />

lines to the file:<br />

[CFI]<br />

CFISize = <br />

CFIAddr = <br />

[GENERAL]<br />

WorkRAMSize = <br />

WorkRAMAddr = <br />

After this the file should look similar to the sample in the following screenshot.<br />

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

151

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

Saved successfully!

Ooh no, something went wrong!