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

Large data arrays and external spi eeprom

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



Joined: 01 Aug 2007
Posts: 38
Location: AUckland, NEW ZEALAND

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

Large data arrays and external spi eeprom
PostPosted: Wed Sep 19, 2007 6:46 pm     Reply with quote

PI18F452
M25P40 spi eeprom

Need to program a large data array in excess of the memory of the pic.
Approx 400KBytes of voice data.

I am comfortable with writing and reading the memory, but programming the contents of the data array I am clueless where to start.

Can I include a (#include "voice.c") and access each byte from there and program the memory or is there another method to do it.

Would like an example if there is any out there.
Any help please!!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Sep 21, 2007 1:37 pm     Reply with quote

The CCS manual says this:
Quote:

CCS C compiler also provides a custom qualifier addressmod
which can be used to define a memory region that can be RAM,
program eeprom, data eeprom or external memory.

I don't know if this works, or if works with such a large memory size.
I haven't tested it.
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