User guide

DC 900-1338I 81
Chapter
5
Debugging
The debugging facilities available depend on whether Software Development Systems
or some other cross development environment is being used. This chapter describes the
debugging facilities provided.
5.1 PEEKER Debugging Tool
PEEKER is a low-level peek and poke routine stored in the ICP2424 or ICP2432 PROM.
To use PEEKER, attach a 9600b/s terminal directly to the ICPs console port with the
console cable (and programmers module for the ICP2432) provided. To enter
PEEKER, type Control-C on the ICPs console device, depress the black NMI switch on
the ICP2424s card edge or the ICP2432s programmers module, or execute a branch
or jump subroutine.
On entry, PEEKER displays the current values of the MC6834xs register set.
PEEKER allows you to examine and modify locations in the ICPs memory space by
bytes, words, or longwords.
In response to PEEKERs prompt (
pk>), enter Control-X to return to PEEKERs caller
or to examine or modify a location.
To examine a location, enter:
the locations address in hexadecimal