Supplementary code / definitions and declarations
Posted: Fri Dec 23, 2016 11:51 am
Hi,
I have to predefine 2 constant values in the internal eeprom of a PIC18F25K50.
For this i used supplementary code, definition and functions declarations where i wrote:
#pragma DATA _EEPROM, 45, 182, 28, 45
The problem is at compiling:
Ver3.1.c:
442: #pragma DATA _EEPROM, 45, 182, 28, 45
^ (335) unknown pragma "DATA" (warning)
I have read the eeprom content, address 0 is "00" and the rest is "FF"
This syntax worked with with FC5 and FC6.
I need help to overcome this problem.
Thanks.
I have to predefine 2 constant values in the internal eeprom of a PIC18F25K50.
For this i used supplementary code, definition and functions declarations where i wrote:
#pragma DATA _EEPROM, 45, 182, 28, 45
The problem is at compiling:
Ver3.1.c:
442: #pragma DATA _EEPROM, 45, 182, 28, 45
^ (335) unknown pragma "DATA" (warning)
I have read the eeprom content, address 0 is "00" and the rest is "FF"
This syntax worked with with FC5 and FC6.
I need help to overcome this problem.
Thanks.