memory copy failed?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

memory copy failed?

860 Views
mikijt
Contributor I

hi

i have put all flash related funcs into ram,as show in map below:

pastedImage_1.png

then i found the fun IFsh1_SetByteFlash didn't copy completely correct:

pastedImage_3.png

How could it be?i need you help!

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

758 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

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.

pastedImage_1.png

I hope it helps.

Best Regards,

Diana

0 Kudos
Reply

758 Views
mikijt
Contributor I

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:

pastedImage_1.png

in the map file :

pastedImage_2.png

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

0 Kudos
Reply

758 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

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?

Best Regards,

Diana

0 Kudos
Reply