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.
i can't initialize the array that have more than 4 values I ran into a problem once which is that if an array crosses a 64k boundary in memory it will fail.
Erik
Hi! in that case can we use two sperate arrays that each have 60kb.
regards, K.T.Venkatesan.
"in that case can we use two sperate arrays that each have 60kb"
I think Erik is saying that the issue is not the actual size of the array, but that it crosses a 64K address boundary...?
Erik is saying that the issue is not the actual size of the array, but that it crosses a 64K address boundary
"the program will not be executed"
You still need to provide more detail than that!
I have experience of the product and I might be able to help more than some other posters here; but only if you give more details.
I guess you are using banking for code space? also for data space?
If so, then what are the banking constraints?
Hi! i use no more banking.
View all questions in Keil forum