If you wanted to just store data in program flash memory, then use the Lookup Table syntax for storing and ReadTable command for reading from flash. Don't see how ProgramWrite from eeprom.h would work, without TABLAT, TBLPTR etc. Maybe it's referenced someplace else?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get this error message:
Error: GCASM: Symbol EEDATH has not been defined
here's the code I used to reproduce it..
;Chip Settings
#chip 18F4682,8
EPWrite 0, 170
EPWrite 0x3ff, 85
dim loop as word
for loop = 256 to 512
EPWrite loop, 85
next
ProgramWrite 0x1000, 0x00
I'm testing out the ProgramWrite command….
Kindest Regards,
Dan Damron
VE6IBM
If you wanted to just store data in program flash memory, then use the Lookup Table syntax for storing and ReadTable command for reading from flash. Don't see how ProgramWrite from eeprom.h would work, without TABLAT, TBLPTR etc. Maybe it's referenced someplace else?