FAQ for ONCE-56K The embedded tools company
Cannot release from Software Breakpoint
PC Register is not equal to Program Counter (56800/56800E)
AnySymbol Option for Metrowerks 800E (56800E)
Pointer has wrong Width (56800E)



FAQ for ONCE-56K

TOP       Cannot release from Software Breakpoint
Cannot make an HLL-step from a software breakpoint or the context switches while debugging
 
  • Possible reason: Interrupts are pending
    In HLL-stepping mode always debug with SYStem.Option IMASKASM ON, when interrupts are pending.
  • Possible reason: Routine is called again
    Debugging in recursive routines can have strange side effects. The debugger uses breakpoints to perfom HLL single steps. These breakpoints will place the processor in debug state also when you try to step over a self call. So the stackframe/context can switch or in case of fixed user breakpoints it seams that the debugger cannot release from a breakpoint. Similar behavior can be expected for debugging in nested interrupts or real time operating systems with software interrupts.


TOP       PC Register is not equal to Program Counter (56800/56800E)
How can I set the program counter to including the extension bit from the SR register?
 
Use the register PP e.g. Register.Set PP 0x1F0000.

TOP       AnySymbol Option for Metrowerks 800E (56800E)
Debugger does not step correctly into routine or debugger does not load HLL code for routine.
 
Use the /AnySymbol paramater when you load Metrowerks ELF files.

TOP       Pointer has wrong Width (56800E)
Pointer type has wrong width.
 
The width of the pointer type depends on the memory model. The large memory model requieres the parameter /LARGE for the command Data.LOAD.ELF.



Navigation
Copyright © 2008 Lauterbach Datentechnik GmbH, Fichtenstr. 27, D-85649 Hofolding, Germany  Impressum
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice.
Last generated/modified: Apr-22-2008