PIC18F2410 write_eeprom write_program_eeprom Compile Problem
Posted: Wed Feb 01, 2006 2:55 pm
Hi,
We recently upgraded a PIC16F88 to a PIC18F2410. For the most part the upgrade has gone well except for writing to the PIC EEPROM. Previously we used the write_eeprom however this no longer compiles. We then tried the write_program_eeprom and write_program_memory functions with the appropriate parameters but get the same compile error:
Undefined identifier write_eeprom
Undefined identifier write_program_eeprom
Undefined identifier write_program_memory
On the other side the switch from read_eeprom to read_program_eeprom compiles with no problems.
Any insight would be greatly appreciated.
Thank you,
Robert
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Feb 01, 2006 3:01 pm
According to the 18F2410 data sheet:
1. There is no mention of Data EEPROM in this PIC.
2. This PIC can't write to its program memory.
From the data sheet:
Quote:
In PIC18F2X1X/4X1X devices, the program memory is
implemented as read-only Flash memory.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum