Attached is Flowchart (Thanks John Crow and Dan for RTC routines) to emulate (all except mtouch as that's not completed yet) the preloaded software on the Microchip One PIC Microcontroller Platform Demo board,
If ADC component is disabled (link pin 3 and 4 of ISSP ), then 16FL1939 runs indefinitely. Display keeps showing correct time from RTC
As soon as ADC component is re-enabled, RTC only Runs for a shot period of time then 16FL1939 freezes.
The only clue I have noticed is lowest ADC value shows as 30 when it should be 0
I have loaded the attached pic version and converted it for PIC24FJ256GA106 and loaded it into demo board.
Although there are other issues (I will post issues in VC section) , with ADC enabled PIC24FJ256GA106 runs without freezing at all.
If this gets solved ,it will be great since I could go back to 16F1827 with the fix

Martin