dump

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

Show/hideSyntax

dump [format] memory filename start_address { end_address | +size}

dump [format] value filename expression

Where:

format

Specifies the output format:

binary

Binary. This is the default.

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.

Show/hideExample

Example 29. dump

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

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452K
Non-ConfidentialID071912