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

External EEPROM

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







External EEPROM
PostPosted: Mon Apr 14, 2003 1:42 am     Reply with quote

Hello,

i want to read and write to an external flash nand eeprom, and i don't know if am able to use the normal EEPROM built-in functions that avialable with my PCM Compiler to read and write? or there is another functions to use with this type of memory?

thanx
___________________________
This message was ported from CCS's old forum
Original Post ID: 13647
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: External EEPROM
PostPosted: Mon Apr 14, 2003 1:33 pm     Reply with quote

<font face="Courier New" size=-1>:=Hello,
:=
:= i want to read and write to an external flash nand eeprom, and i don't know if am able to use the normal EEPROM built-in functions that avialable with my PCM Compiler to read and write? or there is another functions to use with this type of memory?
:=
----------------------------------------------------

You can't use the built-in EEPROM functions for NAND memory.
The built-in functions only work with simple EEPROM chips,
such as a 24LC256. The NAND memory is much more complex.
CCS does not have any built-in functions for NAND memory.
You must write the code yourself. No one is going to write
the code for you.

Here is the link to an application note page. There is sample
code down at the bottom of the page. You will have to modify
it to work with a PIC, and with the CCS compiler.
<a href="http://www.samsung.com/Products/Semiconductor/Flash/TechnicalInfo/ApplicationNotes.htm" TARGET="_blank"> <a href="http://www.samsung.com/Products/Semiconductor/Flash/TechnicalInfo/ApplicationNotes.htm" TARGET="_blank">http://www.samsung.com/Products/Semiconductor/Flash/TechnicalInfo/ApplicationNotes.htm</a></a>

Edited to add:
Or, to be more clear, the built-in library functions work with
EEPROM that's internal to the PIC chips. (ie., in a 16F877)
The sample drivers that are provided in the Drivers folder
(C:\Program Files\Picc\Drivers) work with external EEPROM chips
such as the 24LC256. </font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 13663
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