This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help In Assembler

I work with at91sam7X512
In my trying to ran from the RAM I decide to do memcopy from the FLASH to the RAM,
I saw in assembler that the code copied to the RAM,
but it doesn't succeed to run back to the program.
I look on the assembler and I found the problem,
I have this line:

0x00010FFC 0xEB0001D2 bl __aeabi_memcpy

I understand that bl command supposed to places the return address in the link register, and set the PC to the address of the subroutine.
It's set the PC to the address of the subroutine but in the Link register It's put undefined address 0xEB0001F5, and then to prefetch abort.

What's go wrong?
thanks all, chiko.