Can't enable GLCD pins on PIC32MZDA
My design uses a PIC32MZ2064DAG176 connected to a 320x240 TFT display. I'm using HARMONY generated code but it is not working. I've traced the code down and found that the GLCDPINEN bit is not getting set, though the code clearly shows it is setting it.
I've tried setting the GLCDPINEN bit manually from the debugger by entering a value in the CFGCON2 register. But upon hitting enter after typing a value, the register contents turns blank.
This made me wonder if the register was locked but I confirmed that all the register locks were turned off.
Anyone encountered this type of issue before? Any ideas on a work around?