Joined: 01 Aug 2007 Posts: 38 Location: AUckland, NEW ZEALAND
Large data arrays and external spi eeprom
Posted: Wed Sep 19, 2007 6:46 pm
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
Posted: Fri Sep 21, 2007 1:37 pm
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.
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