Hi Diana;
thanks for your reply.
1.your reply was about making the func "CallFnCmdInRam()"run in ram, and I know this.
2.put those flash related funcs into ram by modifing the prm file like this:

in the map file :

the flash funcs are in ram(0x10000) address.