1.3.33 dump

Reads data from memory or the result of an expression and writes it to a file.

Syntax

dump [formatmemory filename start_address {end_address | +size}
dump [formatvalue filename expression

Where:

format

Specifies the output format:

binary

Binary. This is the default.

elf

32‑bit ARM ELF.

elf64

64‑bit ARM ELF.

ihex

Intel Hex‑32.

srec

Motorola 32‑bit (S-records).

vhx

Byte oriented hexadecimal (Verilog Memory Model).

filename

Specifies the file.

start_address

Specifies the start address for the memory.

end_address

Specifies the inclusive end address for the memory.

size

Specifies the size of the region.

expression

Specifies an expression that is evaluated to an address and the data from that address is written to the file.

Example 1-36 Examples

dump memory myFile.bin 0x8000 0x8FFF     # Write content of memory 0x8000-0x8FFF
                                         # to binary file myFile.bin
dump srec value myFile.m32 &myArray      # Write contents of myArray to
                                         # Motorola 32-bit file myFile.m32
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.