Page 1 of 1

placing data into program memory

Posted: Tue Jul 10, 2012 12:08 pm
by davet
Hi all!

I want to place some data in program memory. At the moment I am using:

signed char states[]={,,,,,,,,} which uses ram.

How can I put this in program memory? I have tried by writing "rom signed char states[]={,,,,,,,,} but this does not work!

Can anyone help?

Dave

Re: placing data into program memory

Posted: Tue Jul 10, 2012 3:37 pm
by dazz
hi does this thread help you http://www.matrixmultimedia.com/mmforum ... rom#p34681

Regards
Dazz

Re: placing data into program memory

Posted: Tue Jul 10, 2012 4:18 pm
by davet
Thanks Dazz, but I need to put the array into the prog memory not external memory.
BW

Dave