Hi everybody.
In the case above Proteus hangs. If "Pause" is pressed in MPLAB, simulating point apppear nowhere. Thus nothing occurs. Only MPLAB shows "Error writting CONFIG_MEMORY".
I'm using PIC16F676, programming on XC8.
If do the same code for PIC16F878, the problem is disappearing.
![](https://www.imageup.ru/img237/thumb/2015-11-12-22-34-35-skrinshot-ehkrana2276179.jpg)
![](https://www.imageup.ru/img237/thumb/2015-11-12-22-35-41-skrinshot-ehkrana2276180.jpg)
I've attached MPLABX and Proteus 8 projects.
In the case above Proteus hangs. If "Pause" is pressed in MPLAB, simulating point apppear nowhere. Thus nothing occurs. Only MPLAB shows "Error writting CONFIG_MEMORY".
I'm using PIC16F676, programming on XC8.
If do the same code for PIC16F878, the problem is disappearing.
![](https://www.imageup.ru/img237/thumb/2015-11-12-22-34-35-skrinshot-ehkrana2276179.jpg)
![](https://www.imageup.ru/img237/thumb/2015-11-12-22-35-41-skrinshot-ehkrana2276180.jpg)
I've attached MPLABX and Proteus 8 projects.