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
Erik is saying that the issue is not the actual size of the array, but that it crosses a 64K address boundary then, then only way is seperate the 512kb into 8 blocks, am i right?
View all questions in Keil forum