i`m a beginner from china and i have the same trouble as this topic said. When I debug a project based on C6701 in CCS 3.3 ,it says that:"Error: EMIF: Access to 0x6ae0 is not expected in mode 1 ". This is a part of my code:
.global checkaddress
.data
checkaddress .word 089ABCDEFh
.text
check1:
STW A5,*--B15(4)
STW A4,*--B15(4)
STW B4,*--B15(4)
MVKL checkaddress,A5
MVKH checkaddress,A5
LDW *A5,B4
MVK 0x0000,A4
MVKH 0x0000,A4
STW A1,*--B15(4)
NOP 2
CMPEQ A4,B4,A1
..........
the error originated from this instruction: "LDW *A5,B4", but I really don`t know how this problem occurs!
I have checked the address in the .map file, it says:
.data 0 00006ae0 00000004
00006ae0 00000004 checkblock.obj (.data)
it seems that everything is right.
if I run this project based on C6713 simulator, this error will disappear. I really confused!
How can I sovle this error in C6701?
thanks!