sukhavsa
Newbie level 6
I am trying to develop a program in which i will need a look-up table, it is an array of integers, i will be having 1000 entries in it.
the size of this is beyond the data memory, so i am using program memory to store this data using - #pragma romdata table[1000].
The problem here is i will have to initialize the lookup table with the values computed in the same program. I need to be able to write to the above block of data in program memory atleast once.
could someone suggest me a way how i can get around this please....
any help is highly appreciated
the microcontroller i am using is PIC18F8722
the size of this is beyond the data memory, so i am using program memory to store this data using - #pragma romdata table[1000].
The problem here is i will have to initialize the lookup table with the values computed in the same program. I need to be able to write to the above block of data in program memory atleast once.
could someone suggest me a way how i can get around this please....
any help is highly appreciated
the microcontroller i am using is PIC18F8722