On the 16F1827 and the other enhanced 16F chips the EEDATA register has been renamed EEDATL but the EEPROM library hasn't been updated to handle that yet. If you look at the following topic there is an unofficial fix for the problem at post 10 I think.
Hello. I have a compiler problem:
1.- Example, No problems
;Chip Settings
#chip 16F88,4
#config OSC=INTRC_IO
EPWrite 1, 1
2.- Example, Error: GCASM: Symbol EEDATA has not been defined
;Chip Settings
#chip 16F1827,4
#config OSC=INTOSC
EPWrite 1, 1
Thank you very much
On the 16F1827 and the other enhanced 16F chips the EEDATA register has been renamed EEDATL but the EEPROM library hasn't been updated to handle that yet. If you look at the following topic there is an unofficial fix for the problem at post 10 I think.
http://sourceforge.net/projects/gcbasic/forums/forum/579126/topic/4939530
Replace the library file eeprom.h with the code from that post and it should work.
It's Ok.
The compiler works right.
Thanks.