i have put all flash related funcs into ram,as show in map below:
then i found the fun IFsh1_SetByteFlash didn't copy completely correct:
How could it be?i need you help!
I'm not sure how you placed the function into the RAM. However, it is not needed to do manually because the Processor Expert has properties for it.
I hope it helps.
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.
I'm not sure why you need to place all IFsh1_... functions into RAM when IFsh_EraseFlash and IFsh_SetByteFlash call the CallFnCmdInRam(). So, the launch of each command is executed from RAM.
Or do you have any other reason for placing the IFsh1_... functions into the RAM?
Retrieving data ...