Debugging; Integrated Bios Debugger; Using Other Debuggers - Technologic Systems TS-5700 User Manual

Table of Contents

Advertisement

TS-5700 User's Manual

17 Debugging

There are two main methods for debugging on the TS-5700: using the integrated BIOS debugger (INT3) and/or
using your development tool's debugger (this usually requires the

17.1 Integrated BIOS Debugger

To provide simple, direct access to the TS-5700 hardware, the system BIOS has an integrated debugger that
can perform standard low-level debugger functions. The debugger allows you to perform operations such as
disassemble code, display and alter the contents of memory, write to and read from I/O ports, and single-step
through or breakpoint code. The debugger is not intended for use as the only debugging tool for applications,
but it can be a real lifesaver when you need interactive, direct access to hardware.
The BIOS debugger can be entered by any of several methods:
The debugger hooks the CPU exception vectors in case a divide by zero occurs, an invalid opcode is
executed, or an INT 3 instruction is executed, for example. By placing an INT 3 instruction in your
application code the debugger will automatically be invoked. To resume, type the 'G' command to "GO",
or continue on with the rest of initialization.
From DOS-ROM by typing 'INT3' at the command prompt. If the full command.com interpreter is running,
this is an internal command. If only mini-command.com is running, this will execute a small utility that
simply contains an 'INT 3' instruction.
From the BIOS Setup main menu (started by typing 'ctrl-C' during the BIOS POST), the ENTER SYSTEM
BIOS DEBUGGER selection will enter the debugger. After use, typing the 'G' (go) command will return to
the SETUP screens.
As a boot action, as a last-ditch effort if the operating system cannot be booted from the appropriate
drives or out of ROM.
A complete discussion of debugger commands is available in the Integrated BIOS Debugger Reference Manual,
included on the TS-5700 Utility Disk and also available from the
list all available commands, and a 'g' (go) will return execution to the point where the debugger was called.

17.2 Using other debuggers

The Turbo C debugger can be used on the target board using the TS-9500 video and keyboard interfaces. Any
other standard PC software debugger of your choice should work just as well.
Technologic Systems
TS-9500
Technologic Systems web site.
29
http://embeddedARM.com/
video and keyboard).
Entering '?' will
5/2009

Advertisement

Table of Contents
loading

Table of Contents