append

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

Show/hideSyntax

append [format] memory filename start_address end_address

append [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.

expression

Specifies an expression that is evaluated and the result is returned.

Show/hideExample

Example 7. dump

append memory myFile.bin 0x8000 0x8FFF  # Append content of memory 0x8000-0x8FFF
                                        # to binary file myFile.bin
append srec value myFile.m32 myArray    # Append content of myArray to
                                        # Motorola 32-bit file myFile.m32

Show/hideSee also

Copyright © 2010 ARM. All rights reserved.ARM DUI 0452B
Non-ConfidentialID100410