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

problem with 24lc512

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



Joined: 21 Nov 2003
Posts: 200

View user's profile Send private message

problem with 24lc512
PostPosted: Tue Mar 23, 2004 11:31 am     Reply with quote

The problem I am having is I asm not able to get to the top half of the eeprom. I am using the 24lc256 driver but have made the size 65536. Let me know if you can help or have a better driver that will work.. Thanx in advance.. TTY

PS I have done a search but to no avail...
Ttelmah
Guest







Re: problem with 24lc512
PostPosted: Tue Mar 23, 2004 11:44 am     Reply with quote

curt2go wrote:
The problem I am having is I asm not able to get to the top half of the eeprom. I am using the 24lc256 driver but have made the size 65536. Let me know if you can help or have a better driver that will work.. Thanx in advance.. TTY

PS I have done a search but to no avail...

I think you will find, that you need to mask the extra 'address' bit, and add it to the control words sent in the read/write operations.
You'll need to check the chips data sheet, but I think it has one bit of the control word used as the extra address.

Best Wishes
curt2go



Joined: 21 Nov 2003
Posts: 200

View user's profile Send private message

PostPosted: Tue Mar 23, 2004 11:53 am     Reply with quote

Got it . It was not the driver. In my reading and writing loop I was only using a long which is not a big enough numer.. TTY
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