Dump, Name, Synopsis – Comtrol eCos User Manual

Page 129: Arguments, Description

Advertising
background image

dump

Name

dump

— Display memory.

Synopsis

dump {-b

location

} [-l

length

] [-s] [-1 | -2 | -4]

Arguments

Name

Type

Description

Default

-b

location

Memory address

Location in memory for
start of data.

none

-l

length

Number

Length of data

32

-s

Boolean

Format data using
Motorola S-records.

-1

Access one byte (8 bits) at
a time. Only the least
significant 8 bits of the
pattern will be used.

-1

-2

Access two bytes (16 bits)
at a time. Only the least
significant 16 bits of the
pattern will be used.

-1

-4

Access one word (32 bits)
at a time.

-1

Description

Display a range of memory on the system console.

The x is a synonym for dump.

Note that this command could be detrimental if used on memory mapped hardware registers.

The memory is displayed at most sixteen bytes per line, first as the raw hex value, followed by an ASCII interpre-
tation of the data.

25

Advertising