Background Debug

Last modified by Microchip on 2023/12/22 13:55

The emulation header’s on-board -ME2 device contains a Background Debug control interface that allows you read/write access to RAM, SFRs, and emulation registers while your program is running or even sleeping.

Information

Note: Write access to RAM and SFRs while your program is running/sleeping is currently not supported in MPLAB® X IDE but is planned in a future release.

Background Debug capability includes the following advantages:

  • Allows runtime changes of breakpoints (i.e., runtime address/data/complex/event breakpoints).
  • Compared to debug headers (with -ICE or -ICD devices), yields noticeably faster single-stepping speeds at lower MCU operating frequencies.