CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

How many EEPROM addresses in a PIC18F458 ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Gon
Guest







How many EEPROM addresses in a PIC18F458 ?
PostPosted: Tue Feb 21, 2006 3:50 am     Reply with quote

Hello,

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

View user's profile Send private message

PostPosted: Tue Feb 21, 2006 5:37 am     Reply with quote

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
Gon
Guest







PostPosted: Tue Feb 21, 2006 7:11 am     Reply with quote

Ok, thank you very much, it was just to be sure !
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group