13.07.2015 Views

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Reading and Writing Memory, Registers, and FlashPrev AddrMoves the target address to a new location by subtracting 1 from theaddress displayed in the Addr data field. This depends on the size ofthe current type.Clear NewAutomatically clears any value entered in the Enter New Value datafield ready to accept another value. By default, this feature is enabled.Auto Inc AddrIf selected, this radio button instructs <strong>RealView</strong> <strong>Debugger</strong> to incrementthe target address automatically ready to accept a new setting.Auto Dec AddrIf selected, this radio button instructs <strong>RealView</strong> <strong>Debugger</strong> todecrement the target address automatically ready to accept a newsetting.Log:Displays a log of the changes you have made. This log is shown whenyou next display the dialog box.13. See the log updated to show your change.14. Click Close to close the Interactive Memory Setting dialog box.15. Double-click on the red marker disc to clear the breakpoint at line 301.Changed values are displayed in the Memory pane in the usual way. That is, updatedvalues are displayed in dark blue or light blue, depending on when they last changed.7.5.2 Setting registersTo set register contents:1. Select Target → Reload Image to Target to reload the image dhrystone.axf.2. Click on the Src tab to view the source file dhry_1.c.3. Set a default breakpoint by double-clicking on line 301.4. Click Run to start execution.5. Enter 5000 when asked for the number of runs.The program starts and then stops when execution reaches the breakpoint at line301. The red box marks the location of the PC when execution stops.6. Select View → Registers to display the Register pane.7-12 Copyright © 2002-2005 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0153G

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!