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

2 Mbytes of memory

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








2 Mbytes of memory
PostPosted: Sun Sep 18, 2005 7:09 pm     Reply with quote

Hi,

My application has a PIC a I have to store about 2 mega bytes of nonvolatile data. I was looking at Ramtron, Microchip and I couldn't found nothing.

Could you help me?

Thank you.
Renoi Lumba.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon Sep 19, 2005 3:04 am     Reply with quote

Using serial chips like those from Ramtron and Microchip the largest models have a capacity of about 1Megabit I think. You could use 16 of those chips...

For larger capacities up to several Gbytes it is often better to use one of the memory cards like CompactFlash or MMC and SD cards.
CompactFlash is easy to write software for but requires something like a minimum of 14 I/O lines. MMC and SD cards use a serial interface with less I/O lines but are a little bit more difficult to write software for.
I use MMC in SPI interface mode which requires only 4 I/O lines and am very happy with this. MMC is a better choice over SD because it is easier to program and the specifications are better available. Programming examples can be found by using the search function of this forum.

One note on MMC/SD: The minimum block size for writing data is 512 bytes, make sure to choose a PIC processor with at least this amount of spare RAM available (reading data is no problem as this can be done in sizes of 1 bytes up).
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

RE:
PostPosted: Mon Sep 19, 2005 7:39 am     Reply with quote

Hi,

Could you post the part numbers for them ( assuming they are in IC form) ??

Are these the ones they use in cameras or mobile phones ??

thanks
arun
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon Sep 19, 2005 9:07 am     Reply with quote

Yes, they are the ones used in photocameras and mobile phones.
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