EEprom not supported on MPLAB Xpress board? - Solved
Posted: Sat Jul 08, 2017 9:32 pm
Hi - I've been working with the MPLAB Xpress board. Very cheap for what you get, love the integration with Flowcode. "Compile to Chip" works great, is better than getting out the ICD3 to program the PIC. Looks like there's been some good interaction with Microchip on this.
However, I just added an EEprom device, and it the compiler barfs:
I've attached the Flowcode project with no code, just the component, and you can see the compiler errors.
Would very much like to understand how to get this resolved as I'd rather not have to port the entire project to another processor at this point....
Thanks...
However, I just added an EEprom device, and it the compiler barfs:
Code: Select all
Target folder: C:\Users\TEST\Desktop
Title:
Description:
Device: PIC.16F.Microchip MPLABXpress
Generated by: Flowcode v7.2.1.4
Date: Saturday, July 08, 2017 13:07:34
Users: 1
Registered to: xxxxx
Licence key: yyyyy
http://www.matrixtsl.com
Launching the compiler...
Build date: Apr 12 2017
Part Support Version: 1.42
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
44: EEADR = Address & 0xff;
^ (192) undefined identifier "EEADR"
52: EECON1bits.EEPGD = 0;
^ (192) undefined identifier "EECON1bits"
^ (196) struct/union required
53: EECON1bits.CFGS = 0;
^ (196) struct/union required
55: EECON1bits.RD = 1;
^ (196) struct/union required
56: data = EEDATA;
^ (192) undefined identifier "EEDATA"
70: while ((EECON1bits.WR));
^ (192) undefined identifier "EECON1bits"
^ (196) struct/union required
71: EEADR = Address & 0xff;
^ (192) undefined identifier "EEADR"
75: EEDATA = Data;
^ (192) undefined identifier "EEDATA"
80: EECON1bits.EEPGD = 0;
^ (196) struct/union required
81: EECON1bits.CFGS = 0;
^ (196) struct/union required
83: EECON1bits.WREN = 1;
^ (196) struct/union required
86: EECON2 = 0x55;
^ (192) undefined identifier "EECON2"
88: EECON1bits.WR = 1;
^ (196) struct/union required
89: while ((EECON1bits.WR));
^ (196) struct/union required
92: EECON1bits.WREN = 0;
^ (196) struct/union required
(908) exit status = 1
(908) exit status = 1
FINISHED
Would very much like to understand how to get this resolved as I'd rather not have to port the entire project to another processor at this point....
Thanks...