
MMDSP Debugger
12
©1989-2019 Lauterbach GmbH
Memory Classes
The following DSP specific memory classes are available.
The Video core STN8810V uses a dictionary for compressing its program memory. When writing code to the
program memory (e.g. by downloading a program to the target via
or by writing to a P:
memory location), the debugger automatically adds necessary dictionary entries derived from the written
program data. This is hidden from the user, who accesses program memory always in 64bit words (one
VLIW instruction). The compressed program and dictionary memories can be accessed via the DBG:
memory class (see below). Downloading a program to the target via
deletes the old
dictionary and therefore may invalidate instructions, even if their are not physically overwritten by the new
program.
The DBG memory class gives access to memory resources like host register, indirect host registers, and
dictionary ram (Video core only).
The mapping of these resources to addresses is arbitrary and does
not relate to any MMDSP or system address mappings.
The mapping is only valid in the context of the
DBG memory class.
To access a memory class, write the class specifier in front of the address:
For accessing indirect host registers (DBG: 0x1000--0x1FFF), the 64-bit access width needs to be specified:
Memory Class
Description
P
Program Memory
X
Data Memory (X-Bus)
Y
Data Memory (Y-Bus)
DBG
Debug Memory
Address Range
Mapped Resource
DBG: 0x0000--0x007f
host registers, 8-bit width
DBG: 0x1000--0x1FFF
indirect host registers, up to 64-bit wide
DBG: 0x2000--0x5FFF
dictionary memory, 53-bit wide (Video)
DBG: 0x6000--*:
compressed instructions, 24-bit wide (Video)
Data.dump p:0--3
d.in dbg:0x1015 /quad
print data.quad(dbg:0x1015)
d.out dbg:0x1015 %quad 0x1122334455667788