Re:18F46K22: TRISC Issue
Thanks for your input. I have already installed a voltage clamp on the MCLR line to limit the voltage. I have had no problems with the programming and debug interface (run, stop, single-step, step-over, etc.).
As stated before, I can change the value of other SFRs in the watch window. However, the 3 MSBs of the TRISC are frozen or stuck with the values of zero.
It might be just a glitch with the IDE and ICD2 reporting. The actual value of TRISC may be correct, just reported incorectly. I'll test this issue when the serial interface of the application is coded (which will use RC7 and RC6).