I notice the new compiler has this new feature which can greatly enhance the amount of data storage.
There is some information in the help files, but what I would like to know is how do you set the row number to start a write. I presume that you want to avoid overwriting the program code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
12:02:57 G+Stool-COMPILE/ASSEMBLE, processing C:\GCB@Syn\G+Stools\makeHEX.bat
Source-File = C:\gcbasic095\conew.gcb
2.3 Sec. <<< WARNINGs / ERRORs while compiling!
Doubleclick on errormessage below to go to sourcecode-line:
Error: GCASM: Symbol CFGS has not been defined
Error: GCASM: Symbol FREE has not been defined
Error: GCASM: Symbol LWLO has not been defined
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No it's probably me that is being dim. I was assuming that as the flash memory and EEPROM write had been grouped together in the same chapter of the datasheet both were readable and writeable- it would seem not. And looking at other devices there is little mention of HEFM even though many new devices have not got EEPROM.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I notice the new compiler has this new feature which can greatly enhance the amount of data storage.
There is some information in the help files, but what I would like to know is how do you set the row number to start a write. I presume that you want to avoid overwriting the program code.
So I tried it out using the example from the help files
When I try to compile it I get the following:
12:02:57 G+Stool-COMPILE/ASSEMBLE, processing C:\GCB@Syn\G+Stools\makeHEX.bat
Source-File = C:\gcbasic095\conew.gcb
2.3 Sec. <<< WARNINGs / ERRORs while compiling!
Doubleclick on errormessage below to go to sourcecode-line:
Error: GCASM: Symbol CFGS has not been defined
Error: GCASM: Symbol FREE has not been defined
Error: GCASM: Symbol LWLO has not been defined
Would you post all the code please. Which chip is specified?
Here is the full code I tried.
Yes I was surprised the 16F690 had this feature, but it's there in the datasheet.
@David. Does the 690 have HFEM? Are you certain? Can you check please?
Yes it does.
I am being dim. Which paragraph?
No it's probably me that is being dim. I was assuming that as the flash memory and EEPROM write had been grouped together in the same chapter of the datasheet both were readable and writeable- it would seem not. And looking at other devices there is little mention of HEFM even though many new devices have not got EEPROM.
Phew. :-)
I will send you a revised .h, to test, to expose whether the specific chip HEFM. It is a trap other may encounter in the future.