1.3.3 append

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

Syntax

append [format] memory filename start_address {end_address | +size}
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.

+size

Specifies the size of the region.

expression

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

Example 1-6 Examples

 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 
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.