Now i know how to cause the problem exactly.As show in the prm file of project:
default setting is:
XGATE_DATA INTO RAM_F8, RAM_F9, RAM_FA, RAM_FB
PAGED_DATA INTO RAM_FD, RAM_FC
change it to:
XGATE_DATA INTO RAM_F8
PAGED_DATA INTO RAM_F9, RAM_FA, RAM_FB, RAM_FD, RAM_FC
Then the access to the global variable allocate at RAM_F9 will be failed.
I forget to add prefix 'far' back to code,but even if i add it back to local variable pddst,structure member size also can not be access correctely.
So i use a structure pointer to point global variable with prefix 'far',and everything is ok.Is it mean that it should use 'far' pointer to access a PAGED RAM allocated variable?