AR# 38973


SDK - Using Memory window to watch registers may cause debugging to hang


When I use the memory window in the SDK debug view to watch a devices' registers, the debug session hangs and must be reset to continue.

It will continue to hang unless the memory window is made smaller than the number of registers.


This happens on some peripherals because the memory window reads beyond the valid range of registers, causing a bus error.

Do not use the memory window to watch the registers.

Use the Expression view instead.

You can specify the register with a pointer in the variable name field to the register address you want to watch.

For example, if you have a register at 0x81800000, you can do the following to watch this register:

Go to the Expressions view from the Windows menu:
Window -> Show View -> Expressions

In the left pane of the Expressions view, right mouse click and select "Add Watch Expression".

Then dereference the desired address of the register.

In this example that would be:

AR# 38973
Date 03/05/2015
Status Active
Type General Article
People Also Viewed