when i use write_eeprom() and read_eeprom() functions, which is the last address of the EEPROM on a PIC18F458 ?
I used for now write_eeprom(0x14, 1); without any problem, can i go to 0x30 or more ?
Please let me know.
Thank you
Best regards.
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Tue Feb 21, 2006 5:37 am
How much effort did you put into searching for this information?
On page 2 of the PIC18FXX8 datasheet you find the eeprom has a size of 256 bytes.
Another easy source of information would have been the pic18f458.h header file supplied with your compiler:
Code:
//////// Standard Header file for the PIC18F458 device ////////////////
#device PIC18F458
#nolist
//////// Program memory: 16384x16 Data RAM: 1536 Stack: 31
//////// I/O: 34 Analog Pins: 8
//////// Data EEPROM: 256
//////// C Scratch area: 00 ID Location: 2000
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