We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How can one locate a table of constants at a certain address in C ?
There is no trouble if it is external flash accessed as external DATA. In this case just use:
unsigned char xdata table1[size_1] _at_ address_1; unsigned char xdata table2[size_2] _at_ address_2;
But if it is PROGRAM memory (CODE segment) then you should use linker options because it is not possible to do something like:
unsigned char code table_1[size_1] _at_ address_1 = "blabla";