-ME2 Silicon Errata

All emulation header boards have a special -ME2 device mounted on them. In some cases the -ME2 silicon has errata, i.e., the device does not operate as expected due to silicon issues.

CCP3 Capture

When the input threshold control for RE0 is configured for TTL, the CCP3 capture input is ignored. This applies to silicon revision C0 of the devices listed below.

PIC16F1789-ME2 (AC244064):

  • PIC16(L)F1784
  • PIC16(L)F1787

Work-around: Use ST Threshold.

Hardware Breakpoint Issue

When using this emulation header with C language or Assembly language code, hardware breakpoints will not function past memory locations 0x3FF for the emulated devices listed below.

PIC16F1939-ME2 (AC244055):

  • PIC16F1936, PIC16LF1936
  • PIC16F1937, PIC16LF1937

Workarounds:

  1. Software breakpoints for these four parts could be used (with the caveat that software breakpoints do not offer the advanced capability of hardware breakpoints).
  2. Any function(s) that need to be debugged with hardware breakpoints could be explicitly (and temporarily) located in the program memory area below 0x400 until the function is properly debugged, as shown in Example 1 and 2 below.

Example 1: In C language for the MPLAB® XC8 C compiler, this can be done with the @ address construct as follows, which will locate function_1 at program memory base address 0x200.

Example 2: In assembly language for the MPASM™ assembler, this can be done with the CODE directive as follows, which will locate function_1 at program memory base address 0x200.

Trigger In/Halt during Multi-Cycle Instruction Processing

For some -ME2 devices, the arrival of a trigger-in/HALT event during processing of a multi-cycle instruction may cause the emulator to fail to properly execute/complete the instruction before coming to a HALT. This applies to the following -ME2 products:

PIC16(L)F1939-ME2 (AC244055)
PIC16(L)F1829-ME2 (AC244063)
PIC16(L)F1789-ME2 (AC244064)
PIC16(L)F1719-ME2 (AC244065)

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.