DBUG4744um - D-Bug4744 Monitor User Manual © 2001, 2002...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
D-Bug4744 Monitor User Manual © 2001, 2002 Patrick O'Malley
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Licensing Agreement The information contained in this document is © 2001, 2002 Patrick O'Malley. All rights to this document are reserved by the author. However, the actual source code to D-Bug4744 (distributed separately) is released by the author(s) of that code under the GNU Public License. (For more information on that license please see the license agreement that is distributed in the source code of D- Bug4744.) The author of this document makes no guarantees of the accuracy of what is written herein. The author takes no responsibility for any damages that may occur due to its use or misuse or errors contained herein. © 2001,2002 Patrick O'Malley Page 1 D-Bug4744 User Manual
Background image of page 2
Table of Contents 1. General Instructions 3 1.1 Entering Numbers 3 1.2 Register Names 4 2. Commands 4 3. D-Bug4744 Internals 7 3.1 User and Monitor Stacks 7 3.2 Disassembly 7 3.3 Interrupt Vectors 9 3.4 Breakpoints and How They Work 9 4. Downloading Code 11 5. Debugging Tips 12 6. Utility Subroutines 13 6.1 Example Code for Calling D-Bug4744 Subroutines 16 A. About D-Bug4744 and the Motorola 68HC12B32 17 A.1 Origin of D-Bug4744 17 A.2 The Motorola 68HC12B32 17 B. Contact Info 18 © 2001,2002 Patrick O'Malley Page 2 D-Bug4744 User Manual
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1. General Instructions (good for all monitor commands) 1.1 Entering Numbers D-Bug4744 only understands numbers entered in hex. For example, to enter the number 123, use the hex equivalent: 7B. All addresses – designated by “<addr>” – must must be entered as 4 hex characters. For example, the memory display function (md <addr> <addr>) can be used correctly with the following two commands: md 0800 0810 md e000 e0ff The following two commands would be incorrect: md 800 810 md 1 ff All byte-size number inputs – designated by “<val>” – must be entered as two characters. For example, the register modify (rm <reg> <val>) on a byte sized register (a,b) should be used like this: rm a 05 It would be incorrect to enter that command like this: rm a 5 Incorrect number entry will cause inexpected and guaranteed incorrect results! © 2001,2002 Patrick O'Malley Page 3 D-Bug4744 User Manual
Background image of page 4
1.2 Register Names The register view ( rv ) and register modify ( rm ) functions use register names for display and to allow the user to edit the internals of the registers. D-Bug4744 only recognizes the following register names: a, b, x, y, s, c. They must be entered in lower-case. The “D” register is not recognized. Name Register Name Register a A b B x X y Y s SP c CCR Table 1: Register Names 2. Commands 2.1 Memory Display [md] Syntax md <addr_low> <addr_high> Description Displays 16-byte lines of memory between addr_low and addr_high . The two limits – addr_low and addr_high – are rounded down and up, respectively, to the nearest 16-byte boundaries. For example, 0x0801 as a low bound would be rounded down to 0x0800. 2.2
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/13/2011 for the course EEL 4744c taught by Professor Staff during the Fall '09 term at University of Florida.

Page1 / 19

DBUG4744um - D-Bug4744 Monitor User Manual © 2001, 2002...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online