Menu

ProgramWrite

2007-10-12
2013-05-30
  • Nobody/Anonymous

    I am writing a bootloader and trying to use "ProgramWrite" and the assembler does not like the following:
            bcf     EECON1,FREE
    It does not know what FREE is.  I have looked at the 16F877A datasheet  (DS3982B) pg.38 and this line is not there. There is a
            bcf intcon,gie
    but other bootloaders I have looked at leaves that out.

     
    • Hugh Considine

      Hugh Considine - 2007-10-15

      FREE is the "Forced row erase" bit on the 16F819, which the program memory code was initially written for. I've added an #IFDEF to the EEPROM routines so that GCBASIC only tries to set it if it is present.

      The fix is at http://gcbasic.sourceforge.net/newfiles/update.zip

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.