Datasheet

PSoC Designer IDE Guide, Document # 001-42655 Rev *B 117
Debugger
7.5.3 CPU and Register Views
There are five areas that are readable and writable during debugging: CPU Registers, Bank Regis-
ters 0, Bank Registers 1, RAM, and Flash. The CPU Registers are shown in their own window
(Debug > Windows > Registers) and in the notification area at the bottom of PSoC Designer. The
other four areas can be viewed in the Memory Window (Debug > Windows > Memory). Select one of
the four memory areas from the Address Space box. Each is described below.
NOTE: Use caution when changing register values; they can alter hardware functions.
CPU Registers – This window allows you to examine and change the contents of the CPU registers.
Data is entered in hexadecimal notation. CPU register values can be viewed across the bottom of
PSoC Designer.
Bank Registers 0 and 1 – You can scroll through the register bank to view the values in the register
bank. Type a new value into the Offset to scroll directly to that offset. Click next to a value and type
a new value for the register. All values must be entered in hexadecimal notation.
Note that you cannot change some registers because they are read only. Some registers are write
only and cannot be read.
Figure 7-7. Bank 0 Registers in the Memory Window
RAM – View a RAM memory page. RAM locations can be modified by clicking the data at the spe-
cific location and typing in the new value. Data is entered in hexadecimal notation.
Flash – The Flash window displays the data stored in Flash. This is the program memory; it is read
only.
The current status of all locations can be saved to a .txt file by right-clicking at the top of the window
and selecting Save or Save As.