CCS C PCW Debugger
|
| A high level debugger for the Microchip PIC line of microcontrollers
is included with the CCS C PCW Compiler with Windows IDE. An ICD unit (Microchip
MPLAB-ICD1, CCS ICD-S40 or
CCS ICD-U40) is required which
must be connected to a flash PIC series microcontroller that is capable
of debugging (such as the PIC16F87x or PIC18Fxx2). Loading, Reset, Go,
Halt, Go To Line, Step and Step Over control commands are provided. The
source and list windows in the PCW IDE show the current line being executed.
Stepping in a source window steps a full C line and in the listing window
only an assembly line (single word instruction). Step over works correctly
for standard functions, inline functions and library calls.
Standard RAM and Data EEPROM windows show the data and the locations
recently changed. The data may be manually changed on a byte basis. Program
memory is disassembled and shown in assembly language mnemonics.
| Special function registers are grouped by a function and each
bit is fully interpreted in the debugger window. |
 |
| The watch window allows full C expressions to be specified.
Complex types like arrays and structures are fully understood and
show in a natural form. All data types are displayed correctly (including
bits and floats) and may be shown in a user specified format (like
hex). Variables may be modified with standard assignment commands
as in the following example:
buffer[i].start = 0x1234
|
 |
Break points can be set on a source or list file line.
| A monitor allows character I/O to and from the target platform.
The target program can printf to this debugger window and getc from
it. |
 |
| A logging window can be configured to save specified data in
the window and optionally in a spreadsheet compatible file every
time a specified source line is executed. |
 |
Complete debugger setup profiles can be easily saved, loaded and associated
with a given project.
All debugger data or any subset of the data can be print or saved to
a disk file. Furthermore, the debugger can be configured to append specified
items to a disk file on every break or every single step.
|