beautypg.com

1 addressspace = read, Addressspace = read – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 77

background image

Teledyne LeCroy

PETrainer Scripting Language

72

14.1 AddressSpace = Read


This command reads specified memory region from PETrainer and stores it in specified file.

Parameter

Values

Default

Comment

Location

Cfg
Mem64
Mem32A
Mem32B
IOA
IOB

Specifies the memory region from
which to read.
The memory region is mapped to the
address space according to the rules
described above.
Mem64, Mem32A, Mem32B, IOA,
and IOB are applicable to
PETrainer EML only.

Offset

Any number from 0 to
the maximum allowed
address determined by
the memory region
specified in the
Location parameter

0

Specifies offset in bytes from the
beginning of memory region specified
in the Location parameter.

Size

Any number from 0.
The combination of
Offset and Size
parameters is limited by
the maximum allowed
address.
(The maximum allowed
address is determined
by memory region
specified in the
Location parameter.)

Maximum
allowed
size for
memory
region
specified
in the
Location
parameter

Specifies number of bytes to read
starting from the address specified in
the Offset parameter.

SaveTo

Any file path

File path to store the memory read.


Example 1:

This command reads the whole Mem32A memory region and stores it in the c:/mem.bin file.
The offset is 0. The read size is 128MB.

AddressSpace = Read {

Location = Mem32A

SaveTo = “c:/mem.bin”

}


Example 2:

This command reads 16 bytes from address 0x1000 of Mem64 memory region and stores it in the
c:/mem.bin file.

AddressSpace = Read {

Location = Mem64

Offset = 0x1000

Size = 0x10

SaveTo = “c:/mem.bin”

}