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.

Syntax<br />

map exclude -<br />

Example<br />

This is an example for the map exclude command in combination with an NXP<br />

LPC2148 MCU.<br />

Memory map<br />

0x00000000-0x0007FFFF On-chip flash memory<br />

0x00080000-0x3FFFFFFF Reserved<br />

0x40000000-0x40007FFF On-chip SRAM<br />

0x40008000-0x7FCFFFFF Reserved<br />

0x7FD00000-0x7FD01FFF On-chip USB DMA RAM<br />

0x7FD02000-0x7FD02000 Reserved<br />

0x7FFFD000-0x7FFFFFFF Boot block (remapped from on-chip flash memory)<br />

0x80000000-0xDFFFFFFF Reserved<br />

0xE0000000-0xEFFFFFFF VPB peripherals<br />

0xF0000000-0xFFFFFFFF AHB peripherals<br />

The "problematic" memory areas are:<br />

0x00080000-0x3FFFFFFF Reserved<br />

0x40008000-0x7FCFFFFF Reserved<br />

0x7FD02000-0x7FD02000 Reserved<br />

0x80000000-0xDFFFFFFF Reserved<br />

To exclude these areas from being accessed through J-<strong>Link</strong> the map exclude command<br />

should be used as follows:<br />

map exclude 0x00080000-0x3FFFFFFF<br />

map exclude 0x40008000-0x7FCFFFFF<br />

map exclude 0x7FD02000-0x7FD02000<br />

map exclude 0x80000000-0xDFFFFFFF<br />

5.11.1.7 map indirectread<br />

This command can be used to read a memory area indirectly. Indirectly reading<br />

means that a small code snippet is downloaded into RAM of the target device, which<br />

reads and transfers the data of the specified memory area to the host. Before map<br />

indirectread can be called a RAM area for the indirectly read code snippet has to be<br />

defined. Use therefor the map ram command and define a RAM area with a size of >=<br />

256 byte.<br />

Typical applications<br />

Refer to chapter Fast GPIO bug on page 163 for an example.<br />

Syntax<br />

map indirectread -<br />

Example<br />

map indirectread 0x3fffc000-0x3fffcfff<br />

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

127

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

Saved successfully!

Ooh no, something went wrong!