![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
Moataz Guest
|
External EEPROM |
Posted: Mon Apr 14, 2003 1:42 am |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
Re: External EEPROM |
Posted: Mon Apr 14, 2003 1:33 pm |
|
|
<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 |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|