In the past years, I have used a lot of the following MCUs in my successful IoT projects at work:
- PIC1825
- PIC1829
- PIC18326
- PIC18F25K22
=> Project page
=> Project page
=> Project page
=> Project page
=> Project page
C standard "C99" does not allow some of MCC-generated code. Change the setting to "C90".
Data addresses for page write must be 64^n.