PIC16F887 Limitations

PIC16F887, PIC16F886, PIC16F884, PIC16F883, PIC16F882

This device family does not require a header for debug and none is available. Device limitations are as follows:

  • General Debug Limitations
  • General Programming Limitations
  • You cannot single step through an interrupt. Due to hardware restrictions, the debugger/emulator cannot jump to the interrupt vector memory location in Single Step mode.
  • RB3/PGM pin must be low for ICSP. On PIC16F88X devices it is necessary to pull the RB3/PGM pin low for in-circuit serial programming. This is due to a silicon issue.
  • BF is cleared when SSPBUF is interrogated by software.
  • RCIF is cleared when RCREG is interrogated by software.
  • RBIF is cleared when PORT is interrogated by software, except when Freeze on Halt is enabled.
  • Clearing OPTION_REG<7> (weak pull-ups) causes debug operations to hang. Keep this bit set when using debug.

Freeze on Halt Limitations

  • Timer0 will not freeze using the internal clock.
  • CMOUTx pins do not freeze, status bits and interrupt flags do freeze.
© 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.