Setup For Different Debuggers (Cfi Flash); Iar Embedded Workbench / Keil Mdk - Segger J-Link User Manual

Jtag emulators for arm cores
Hide thumbs Also See for J-Link:
Table of Contents

Advertisement

152
6.5

Setup for different debuggers (CFI flash)

The J-Link flash download and flash breakpoints features can be used by different
debuggers, such as IAR Embedded Workbench and GDB. The setup for using flash
download and flash breakpoints with external CFI-compliant NOR flash is different
from the setup for internal flash. In this section the setup for CFI-compliant NOR
flash is described.
6.5.1

IAR Embedded Workbench / Keil MDK

Using the J-Link flash download and flash breakpoints features with the IAR Embed-
ded Workbench is quite simple:
First, start the debug session and open the J-Link Control Panel. In the tab "Settings"
you will find the location of the settings file.
Close the debug session and open the settings file with a text editor. Add the follow-
ing lines to the file:
[CFI]
CFISize = <FlashSize>
CFIAddr = <FlashAddr>
[GENERAL]
WorkRAMSize = <RAMSize>
WorkRAMAddr = <RAMAddr>
After this the file should look similar to the sample in the following screenshot.
J-Link / J-Trace (UM08001)
CHAPTER 6
© 2004-2011 SEGGER Microcontroller GmbH & Co. KG
Flash download and flash breakpoints

Advertisement

Table of Contents

Troubleshooting

loading
Need help?

Need help?

Do you have a question about the J-Link and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

J-trace

Table of Contents