Motorola 68HC12B32 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Non Motorola 68HC12B32. Old manual - Machine Intelligence Lab Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 19
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
D-Bug4744 Monitor User Manual
© 2001, 2002 Patrick O'Malley
Vue de la page 0
1 2 3 4 5 6 ... 18 19

Résumé du contenu

Page 1 - D-Bug4744 Monitor User Manual

D-Bug4744 Monitor User Manual© 2001, 2002 Patrick O'Malley

Page 2 - Licensing Agreement

3.3 Interrupt VectorsIn order to allow users to change the interrupt vectors, pseudo-vectors havebeen placed at the beginning of internal RAM (0x0800)

Page 3 - Table of Contents

Internally, when a breakpoint is reached, the monitor removes that SWI andreplaces it with the code that was originally there. It then puts another SW

Page 4

4. Downloading CodeThe load command is used to get code into RAM. When executed, it waits for anS19 file to be received through the SCI port.The downl

Page 5 - 2. Commands

5. Debugging Tips5.1 Use Breakpoints WiselyBreakpoints can either be extremely helpful or unnecessary to the debuggingeffort. In general, the easiest

Page 6

6. Utility SubroutinesThe following D-Bug4744 subroutines can be called by user code. Function print_stringAddress ef27Inputs Y : pointer to null-term

Page 7

Function get_addressAddress e7e7Inputs NoneOutputs X : AddressModifies NoneDescription Waits for a 4-character hex address (ex: 43ff) from the SCI por

Page 8 - 3. D-Bug4744 Internals

Function get_lineAddress e884Inputs X : Pointer to character buffer (where line will be stored)B : Total number of bytes to return (limits line length

Page 9

6.1 Example Code for Calling D-Bug4744 SubroutinesThe following snippet shows how to call built-in D-Bug4744 subroutines fromwithin user code.That cod

Page 10

A. About D-Bug4744 and the Motorola 68HC12B32A.1 Origin of D-Bug4744This section has been removed. See the comments in the D-Bug 4744 sourcecode for m

Page 11

B. Contact InfoIf you want to report bugs in this code, please send email to:[email protected] non-technical questions (like more information on

Page 12 - 4. Downloading Code

Licensing AgreementThe information contained in this document is © 2001, 2002 Patrick O'Malley. Allrights to this document are reserved by the au

Page 13 - 5. Debugging Tips

Table of Contents1. General Instructions 31.1 Entering Numbers 31.2 Register Names 42. Commands 43. D-Bug4744 Internals 73.1 User and Monitor Stacks 7

Page 14 - 6. Utility Subroutines

1. General Instructions (good for all monitor commands)1.1 Entering NumbersD-Bug4744 only understands numbers entered in hex. For example, to enter th

Page 15

1.2 Register NamesThe register view (rv) and register modify (rm) functions use register names fordisplay and to allow the user to edit the internals

Page 16

2.3 Register View [rv]SyntaxrvDescription Displays the contents of the registers. Note that it does notdisplay the contents of the registers as used b

Page 17

2.7 S19 Load [load]SyntaxloadDescription Loads an S19 from the SCI port (from the host) to memory. It willnot write to FLASH or EEPROM, only RAM. This

Page 18

3. D-Bug4744 Internals3.1 User and Monitor StacksD-Bug4744 maintains two stacks. When user code is executed (using the gocommand, for example) the mon

Page 19 - B. Contact Info

The only modes that the disassembler recognizes are immediate, direct,extended and the IDX and IDX1 indexed modes. The disassembler has theability to

Commentaires sur ces manuels

Pas de commentaire