Motorola CPU32 User's Guide Page 118

  • Download
  • Add to my manuals
  • Print
  • Page
    / 205
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 117
CPU32 Emulation 117
Chapter 7: Using the Emulator with a Debugger
Using the Green Hills debugger
6 Specify an initialization address for the stack pointer.
This is required if the stack pointer is neither initialized when the
processor is reset nor set in the start-up code generated by the
compiler. If the stack pointer address needs to be initialized:
In the debugger’s command pane, enter:
_INIT_SP = <address>
OR
In the Target window, enter:
reg a7=<address>
OR
* Include the following line in an initialization script:
target reg a7=<address>
7 Download the code:
In the Debugger window, select
Remote
LoadProgram
.
The Debugger command pane indicates that the code has been
downloaded to the target.
Page view 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 204 205

Comments to this Manuals

No comments