Hi all I've a array located at code segment named
StandardModeType is a struct has some integer values StandardModeType code StandardModeTable_rc7_17[]={ ... }
StandardModeType code *xdata StandardModeTable_rc7[];
StandardModeTable_rc7[0]->StdVFreq StandardModeTable_rc7_17[0].StdVFreq
"what can cause this problem?" Not initializing the pointers in StandardModeTable_rc7[].
Non I was initialised well and addresses seem corrects. for (cnt=0;cnt<NbMember;cnt++) StandardModeTable_rc7[cnt]=&StandardModeTable_rc7_15[cnt]; But values at that adresses isnt match!!!!
Is what was previously StandardModeTable_rc7_17[] now StandardModeTable_rc7_15[]?
sorry I wrote wrong for (cnt=0;cnt<NbMember;cnt++) StandardModeTable_rc7[cnt]=&StandardModeTable_rc7_17[cnt];
Here..
StandardModeType code StandardModeTable_rc7_17[]={ ... /* you put data in here */ }
Hi, Just an aside, but apart from initialising 'initialisingStandardModeTable_rc7[]' do you ever modify the addresses stored in this array?. If no then why not remove this array altogether? Mark
View all questions in Keil forum