Re: Simulate FERR on PIC16F1779?
The simulator doesn't model the UART at the pin level. So bouncing the (UART) pins won't do much in the simulator.
You can simply set the FERR signal. First and easiest way is to put RC1STA in the MPLAB X watch window. Then, at a time of your choosing, simply set RC1STA.FERR to the desired value inside the watch window.
The short fall of the watch window approach is that you have to manually set a breakpoint and manually set the FERR bit each time. An alternative approach, though a bit more involved, is to use SCL to set FERR. SCL is a VHDL-like scripting language that is used to automatically inject register and pin values, at user defined points, into a simulator session. You can find a good user's guide to SCL in the docs sub directory of your MPLAB X installation. Once you've set up your SCL script to your needs, it will automatically be ran each debug session.