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

FRAM Writing/reading

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



Joined: 21 Jul 2005
Posts: 36

View user's profile Send private message

FRAM Writing/reading
PostPosted: Mon Jul 10, 2006 3:15 am     Reply with quote

Hi,

I'm trying to develop an application that uses FRAM (EEPROM) storage. I have the libraries to erase a 64byte page; erase EEPROMs, read/write a single eeprom byte and to read/write a page.

What I'm lacking is any information on how they work.

Say I want to write some data to a FRAM.

The variables I can pass to the eeprom byte writing function are the address of that specific FRAM (char), the location (as a long) and the data as a char.
What are acceptable values for the location?

Is reading it a case of supplying the same FRAM address and location?

What is an EEPROM/FRAM page?
Ttelmah
Guest







PostPosted: Mon Jul 10, 2006 5:24 am     Reply with quote

The 'allowable values', are dependant on your hardware. The maximum 'location', will depend on the size of the chip, while the 'address' will depend on the address the chip is configured to use.
Yes, you supply the same address and location, and get back the value saved.
FRAM, is _not_ EEPROM. Fram, uses magnetic, as opposed to capacitive storage. This is why FRAM can be written quickly. If you are using EEPROM libraries to talk to FRAM, then make sure they do not delay after the write. EEPROM needs this, but FRAM doesn't.

Best Wishes
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Jul 10, 2006 9:43 am     Reply with quote

Check the library for a driver for FRAM.((not EPROM))



http://www.ccsinfo.com/forum/viewtopic.php?t=24099
http://www.ccsinfo.com/forum/viewtopic.php?t=27091
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