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

Saving arrays to 24c256 ????

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



Joined: 06 Dec 2006
Posts: 102
Location: Montreal , Canada

View user's profile Send private message

Saving arrays to 24c256 ????
PostPosted: Mon Oct 29, 2007 8:00 am     Reply with quote

Hi guys , i want to use Roman Black 1 bit BTC to play some speech !! i tried it and it does the job i need perfectely, But it needs lot of memory !!

So for now i have few arrays of 255 bytes to replay 1 word, i need more memory than the controller capacity !!!

How can i save all these array to external memory when programming???

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 29, 2007 11:20 am     Reply with quote

You need to buy or build an eeprom programmer. Google this:
Quote:
"eeprom programmer" "parallel port"


If you have a PIC development board, you can build your own
programmer. Write some C code to read the data from the a
serial port and program it into a 24LC256 eeprom. Then use
a terminal program to send your data file to the PIC board.
mindstorm88



Joined: 06 Dec 2006
Posts: 102
Location: Montreal , Canada

View user's profile Send private message

PostPosted: Mon Oct 29, 2007 11:28 am     Reply with quote

I have the picdem plus, but i have never tried to trasfer file via rs-232 , i guess i'll have to find example !!!!!

Thanks
amcfall



Joined: 20 Oct 2005
Posts: 44

View user's profile Send private message

PostPosted: Mon Oct 29, 2007 12:04 pm     Reply with quote

His suggestion is the easiest way. If you want to go all out you could write some sort of transfer protocol. When I was messing around with graphic LCD's I wrote a basic XMODEM implementation that would allow me to upload a file to the PIC then it would write it to an external 1Mbit EEPROM. Probably more complex than what you want, but it was nice since I could just upload new images without changing anything (board was always hooked up via RS232).

Avery
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Mon Oct 29, 2007 1:55 pm     Reply with quote

I would, probably, do like amcfall suggested. I have most, if not all, of the components available to make a small board with a zif attached. Just write a small program to accept data, via RS232, and write that data to the eeprom setting on the board.

One draw back is that you now have one board that is dedicated to one function. Whereas, if you purchased a eeprom burner then you could use it to program a variety of things.

You'll need to weigh the cost/rewards/use thing to decide which way you wanted to go.

Ronald
mindstorm88



Joined: 06 Dec 2006
Posts: 102
Location: Montreal , Canada

View user's profile Send private message

PostPosted: Mon Oct 29, 2007 5:25 pm     Reply with quote

Guys equipment is not the problem Smile i do have 4 eprom burner , icd2, picstart plus ,etc... only knowledge is missing Sad but it is coming !!!!
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