Motorola M68CPU32BUG Manuals

Manuals and User Guides for Motorola M68CPU32BUG. We have 1 Motorola M68CPU32BUG manual available for free PDF download: User Manual

Motorola M68CPU32BUG User Manual

Motorola M68CPU32BUG User Manual (196 pages)

DEBUG MONITOR  
Brand: Motorola | Category: Monitor | Size: 0.42 MB
Table of contents
Table Of Contents3................................................................................................................................................................
Introduction9................................................................................................................................................................
General Description9................................................................................................................................................................
Cpu32bug Operation Mode Flow Diagram10................................................................................................................................................................
Using This Manual11................................................................................................................................................................
Installation And Start-up11................................................................................................................................................................
System Restart12................................................................................................................................................................
Reset12................................................................................................................................................................
Abort12................................................................................................................................................................
Break13................................................................................................................................................................
Memory Requirements13................................................................................................................................................................
Bcc Memory Map14................................................................................................................................................................
Terminal Input/output Control15................................................................................................................................................................
Entering Debugger Command Lines17................................................................................................................................................................
Syntactic Variables18................................................................................................................................................................
Expression As A Parameter19................................................................................................................................................................
Address As A Parameter20................................................................................................................................................................
Offset Registers21................................................................................................................................................................
Debugger Address Parameter Format21................................................................................................................................................................
Port Numbers23................................................................................................................................................................
Entering And Debugging Programs23................................................................................................................................................................
Calling System Utilities From User Programs23................................................................................................................................................................
Preserving Debugger Operating Environment23................................................................................................................................................................
Cpu32bug Vector Table And Workspace24................................................................................................................................................................
Cpu32bug Exception Vectors24................................................................................................................................................................
Using Cpu32bug Target Vector Table25................................................................................................................................................................
Creating Vector Tables26................................................................................................................................................................
Cpu32bug Generalized Exception Handler27................................................................................................................................................................
Function Code Support28................................................................................................................................................................
Debug Monitor Commands31................................................................................................................................................................
Block Of Memory Compare (bc)33................................................................................................................................................................
Block Of Memory Fill (bf)35................................................................................................................................................................
Block Of Memory Fill Bf36................................................................................................................................................................
Block Of Memory Move (bm)37................................................................................................................................................................
Block Of Memory Search (bs)40................................................................................................................................................................
Block Of Memory Verify (bv)43................................................................................................................................................................
Data Conversion (dc)45................................................................................................................................................................
Dump S-records (du)46................................................................................................................................................................
Go To Next Instruction (gn)51................................................................................................................................................................
Go Execute User Program (go)53................................................................................................................................................................
Go To Temporary Breakpoint (gt)56................................................................................................................................................................
Help (h)58................................................................................................................................................................
Load S-records From Host (lo)61................................................................................................................................................................
Macro Edit (mae)67................................................................................................................................................................
Macro Expansion Listing Enable/disable (mal/nomal)69................................................................................................................................................................
Memory Display (md)70................................................................................................................................................................
Memory Modify (mm)72................................................................................................................................................................
Memory Set (ms)74................................................................................................................................................................
Offset Registers Display/modify (of)75................................................................................................................................................................
Offset Registers Display/modify75................................................................................................................................................................
Printer Attach/detach78................................................................................................................................................................
Port Format (pf)79................................................................................................................................................................
List Current Port Assignments79................................................................................................................................................................
Port Configuration79................................................................................................................................................................
Port Format79................................................................................................................................................................
Port Format Parameters80................................................................................................................................................................
New Port Assignment81................................................................................................................................................................
Register Display (rd)82................................................................................................................................................................
Cold/warm Reset (reset)86................................................................................................................................................................
Cold/warm Reset86................................................................................................................................................................
Register Modify (rm)87................................................................................................................................................................
Register Modify87................................................................................................................................................................
Register Set (rs)88................................................................................................................................................................
Register Set88................................................................................................................................................................
Switch Directories (sd)89................................................................................................................................................................
Switch Directories89................................................................................................................................................................
Trace (t)90................................................................................................................................................................
Trace On Change Of Control Flow (tc)93................................................................................................................................................................
Trace On Change Of Control Flow93................................................................................................................................................................
Transparent Mode (tm)95................................................................................................................................................................
Transparent Mode95................................................................................................................................................................
Trace To Temporary Breakpoint (tt)96................................................................................................................................................................
Trace To Temporary Breakpoint96................................................................................................................................................................
Verify S-records Against Memory (ve)98................................................................................................................................................................
Verify S-records Against Memory98................................................................................................................................................................
M68300 Family Assembly Language103................................................................................................................................................................
Machine-instruction Operation Codes103................................................................................................................................................................
Directives103................................................................................................................................................................
M68300 Family Resident Structured Assembler Comparison104................................................................................................................................................................
Source Program Coding104................................................................................................................................................................
Source Line Format105................................................................................................................................................................
Operation Field105................................................................................................................................................................
Operand Field106................................................................................................................................................................
Disassembled Source Line106................................................................................................................................................................
Mnemonics And Delimiters107................................................................................................................................................................
Character Set108................................................................................................................................................................
Addressing Modes108................................................................................................................................................................
Cpu32bug Assembler Addressing Modes109................................................................................................................................................................
Define Constant Directive (dc.w)111................................................................................................................................................................
System Call Directive (syscall)112................................................................................................................................................................
Entering And Modifying Source Program112................................................................................................................................................................
Executing The Assembler/disassembler113................................................................................................................................................................
Entering A Source Line113................................................................................................................................................................
Entering Branch And Jump Addresses114................................................................................................................................................................
Assembler Output/program Listings114................................................................................................................................................................
Executing System Calls Through Trap #15115................................................................................................................................................................
Input/output String Formats116................................................................................................................................................................
System Call Routines116................................................................................................................................................................
Cpu32bug System Call Routines117................................................................................................................................................................
Parse Value, Assign To Variable (.changev)119................................................................................................................................................................
Check For Break (.chkbrk)121................................................................................................................................................................
Timer Delay Function (.delay)122................................................................................................................................................................
Unsigned 32 X 32 Bit Divide (.divu32)123................................................................................................................................................................
Erase Line (.erasln)124................................................................................................................................................................
Input Character Routine (.inchr)125................................................................................................................................................................
Input Line Routine (.inln)126................................................................................................................................................................
Input Serial Port Status (.instat)127................................................................................................................................................................
Unsigned 32 X 32 Bit Multiply (.mulu32)128................................................................................................................................................................
Output Character Routine (.outchr)129................................................................................................................................................................
Output String Using Pointers (.outln/outstr)130................................................................................................................................................................
Read Line To Fixed-length Buffer (.readln)132................................................................................................................................................................
Read String Into Variable-length Buffer (.readstr)133................................................................................................................................................................
Return To Cpu32bug (.return)134................................................................................................................................................................
Send Break (.sndbrk)135................................................................................................................................................................
Compare Two Strings (.strcmp)136................................................................................................................................................................
Timer Initialization (.tm_ini)137................................................................................................................................................................
Read Timer (.tm_rd)138................................................................................................................................................................
Start Timer At T=0 (.tm_str0)139................................................................................................................................................................
Diagnostic Monitor145................................................................................................................................................................
Monitor Start-up145................................................................................................................................................................
Command Entry And Directories145................................................................................................................................................................
Help (he)146................................................................................................................................................................
Self Test (st)146................................................................................................................................................................
Loop-on-error Mode (le)146................................................................................................................................................................
Stop-on-error Mode (se)147................................................................................................................................................................
Loop-continue Mode (lc)147................................................................................................................................................................
Non-verbose Mode (nv)147................................................................................................................................................................
Display Error Counters (de)147................................................................................................................................................................
Clear (zero) Error Counters (ze)147................................................................................................................................................................
Display Pass Count (dp)147................................................................................................................................................................
Zero Pass Count (zp)148................................................................................................................................................................
Utilities148................................................................................................................................................................
Write Loop148................................................................................................................................................................
Read Loop149................................................................................................................................................................
Write/read Loop149................................................................................................................................................................
Cpu Tests For The Mcu (cpu)150................................................................................................................................................................
Mcu Cpu Diagnostic Tests150................................................................................................................................................................
Memory Tests (mt)155................................................................................................................................................................
Memory Diagnostic Tests155................................................................................................................................................................
A.1 Introduction169................................................................................................................................................................
A.2 S-record Content169................................................................................................................................................................
A.3 S-record Types170................................................................................................................................................................
A.4 S-records Creation171................................................................................................................................................................
B.1 Introduction173................................................................................................................................................................
B-1. Self-test Error Messages173................................................................................................................................................................
C.1 Introduction175................................................................................................................................................................
C.2 Cpu32bug Customization176................................................................................................................................................................
C.3 Customization Table179................................................................................................................................................................
C-1. Cpu32bug Customization Area179................................................................................................................................................................
C.4 Communication Formats188................................................................................................................................................................
C-2. Mcu Sci Communication Formats188................................................................................................................................................................
C.5 Bcc Rev. A Chip Selection Summary189................................................................................................................................................................
C-3. Rev. A Chip Selection Summary189................................................................................................................................................................
C.6 Bcc Rev. B Chip Selection Summary190................................................................................................................................................................
C-4. Rev. B Chip Selection Summary190................................................................................................................................................................
C.7 Bcc Rev. C Chip Selection Summary191................................................................................................................................................................
C-5. Bcc Rev. C Chip Selection Summary191................................................................................................................................................................
C.8 Platform Board (pfb) Rev. C Compatibility192................................................................................................................................................................
C-6. Pfb Rev. C Compatibility192................................................................................................................................................................
C.9 Cpu32bug Questions And Answers193................................................................................................................................................................

Advertising

Share and save

Advertising