EPWrite problem

JVA
2012-06-18
2013-05-30
  • JVA

    JVA - 2012-06-18

    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

     
  • Nobody/Anonymous

    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.

     
  • Nobody/Anonymous

    It's Ok.
    The compiler works right.
    Thanks.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks