Hi! i have use p89c669 microcontroller and am29f040b [512 kb] flash.When i using the external code memory i can't initialize the array that have more than 4 values.if i initialize more than that the program will not be executed.if i comment the array the program was executed.the code was
const char red [256] = {0x00,0x00...0x00,0x00};
please help me!
regrads, K.T.Venkatesan.
'trying' is the bane of many projects. the result of a 'try' may come out right even if what you 'try' is the wrong approach.
the dead easy way to handle this is to do two things a) make an .a51 module that contain ALL xdata and make them accessible from C by extern, then you have full control of the locations b) access the biggie in an assembler routine
you will be home free
Erik
I have done the exact same as above
Hi! the array problem was solved, now i using the banking method.but the bank size was limitted to 32kb.i can't enter more than 32kb in the keil/options for target1/bank area .
my heartly thanks to all!