
15 Dec
2008
15 Dec
'08
7:53 a.m.
wangrui wrote:
After power up board, CPU will execute the instruction store at 0x0 (ROM flash), and I download u-boot to ROM flash (start from 0x0) so that the instruction store at 0x0 is "a0f00000: ea000014 b a0f00058 <reset>"
Then program will jump to 0xa0f00058 (SDRAM)...
No, it does not. b is a relative branch and causes a jump to 0xa0f00058 only if you execute it at 0xa0f00000. You would make yourself a big favor by familiarizing yourself with ARM instruction set.
--
Timo