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 support@ccsinfo.com

Special I2C routine for 12CE518 internal EEPROM

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







Special I2C routine for 12CE518 internal EEPROM
PostPosted: Tue Nov 13, 2001 2:35 pm     Reply with quote

Does CCS have an I2C routine specicfically written to access the EEPROM memory on 12CE518's? Has anybody tried the standard I2C routines for this job with any success? I'm getting ready to port the Microchip ASM code into a C function, and don't want to reinvent the wheel here.


Not asked: WHAT was microchip smoking when they decided to access internal EEPROM memory with an I2C routine???

-- Lawrence
___________________________
This message was ported from CCS's old forum
Original Post ID: 1089
Charlie U
Guest







Re: Special I2C routine for 12CE518 internal EEPROM
PostPosted: Tue Nov 13, 2001 3:46 pm     Reply with quote

:=Does CCS have an I2C routine specicfically written to access the EEPROM memory on 12CE518's? Has anybody tried the standard I2C routines for this job with any success? I'm getting ready to port the Microchip ASM code into a C function, and don't want to reinvent the wheel here.

I suppose the answer is yes. There are pre-defined I2C functions that are used to read and write I2C. These are the main reason I started using this compiler. There is an example file, CE51x.c, in the Drivers subdirectory that shows how to use the I2C functions to access the EEPROM in the CE51X parts. It is essentially a driver include file. Just include this file and use the functions to access the EEPROM.
:=
:=
:=Not asked: WHAT was microchip smoking when they decided to access internal EEPROM memory with an I2C routine???
:=
:=-- Lawrence

... and then giving us only .5k or 1k to access it with!?! ;-)
___________________________
This message was ported from CCS's old forum
Original Post ID: 1090
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