The invention includes a method of debugging an embedded processor.
Scratch pad memory of an embedded processor is accessed to form a
configuration file characterizing the configuration of scratch pad
regions of the scratch pad memory. The embedded processor is debugged
using information from the configuration file. The invention also
includes an embedded processor with a processor core and scratch pad
memory connected to the processor core. The scratch pad memory includes a
set of scratch pad regions. The scratch pad memory stores values
characterizing base addresses and region size values of the set of
scratch pad regions.