Hi,
I have a folowing problem:
When I am loading program at address 0x0000 (internal SRAM) program starts
and works fine.
The problem begins when I am loading program at address 0x30000000 (to
RAM). Loading process looks successfull, but the code inside the memory
looks bad:
b ResetHandler
Image$$RO$$Base:
30000000: b 0x2fababb0
b HandlerUndef ;handler for Undefined mode
30000004: b 0x2fababb4
b HandlerSWI ;handler for SWI interrupt
30000008: b 0x2fababb8
Instead of "b 0x2fababb0" should be "b 0x300001cc".
Other asm commands also looks uncool ex:
mov r1, r3
3000005c: mvn lr, r1, ror #3 - that is not a command I programmed.
If you know how to solve this problem I will be grateful for help.
loading code at 0x30000000
0x30000000 is what Supervivi uses. With u-boot most tutorials seem to use 0x31000000 http://narnia.cs.ttu.edu/drupal/node/131 then when you watch it booting up (using u-boot) the kernel load address is 0x300080000. Why? Haven't figured that out I just use 0x31000000 and it works! Dave

