User`s guide
MPLAB
®
IDE User’s Guide
DS51519B-page 250 © 2006 Microchip Technology Inc.
I cannot set conditional breakpoints
Conditional breakpoints are not yet implemented.
The symbolic breakpoints I set in the Breakpoint dialog do not work
This dialog does not recognize symbolic address. However, if you enter a symbol name
whose starting characters can be interpreted as a valid hex address, a breakpoint will
be set at that address.
The simulator is not recognizing my breakpoints, although they seem to
be set and enabled in my code windows
Be sure “Global Break Enable” is set on the Break Options tab, Settings dialog.
I cannot reset my program using MCLR
For dsPIC DSC or PIC18F devices, you cannot reset the device using pins. You must
use the Reset commands on the Debugger menu.
My program keeps resetting
Check the Configuration bits settings (Configure>Configuration Bits) for your selected
device. Some Reset functions (such as Watchdog Timer Reset) are enabled by default.
The simulator is not halting on WDT time-out
Be sure “Global Break Enable” is set in the Break Options tab, Settings dialog and you
have enabled WDT time-out in the Configuration Bits dialog.
For PIC18 devices, the SFR window is not updating for Timers 1 and 3.
For PIC18 devices, Timer 1 and 3 have a buffer for the high byte. If RD16 is set, TMR1H
and TMR3H will remain at their present values until a read is done. After the read, the
TMRxH buffer value will be transferred to the TMRxH register and the value will be
visible in the SFR window. Otherwise, the buffer value is not displayed in the SFR
window.
See your device data sheet for more on Timer 1 and 3 operation.
No data in the logic analyzer
Trace must be enabled before the logic analyzer will contain data, i.e., the trace buffer
must contain data. To enable the trace function, select Debugger>Settings
and click on
either the Osc/Trace tab or Trace/Pins tab.
Animation doesn’t work
If the Program Memory window is not kept in focus, a debug file is required for
animation to work. Therefore, you should assemble/compile your code with debug
information (generated by the linker) if you want to use Animate.
20.3 LIMITATIONS
General and device-specific limitations for the emulator may be found in on-line help
for MPLAB SIM.