View previous topic :: View next topic |
Author |
Message |
mindstorm88
Joined: 06 Dec 2006 Posts: 102 Location: Montreal , Canada
|
Saving arrays to 24c256 ???? |
Posted: Mon Oct 29, 2007 8:00 am |
|
|
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
|
|
Posted: Mon Oct 29, 2007 11:20 am |
|
|
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
|
|
Posted: Mon Oct 29, 2007 11:28 am |
|
|
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
|
|
Posted: Mon Oct 29, 2007 12:04 pm |
|
|
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
|
|
Posted: Mon Oct 29, 2007 1:55 pm |
|
|
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
|
|
Posted: Mon Oct 29, 2007 5:25 pm |
|
|
Guys equipment is not the problem i do have 4 eprom burner , icd2, picstart plus ,etc... only knowledge is missing but it is coming !!!! |
|
|
|