Dear Sir/Madam,
My problem is about instructions. I wrote following instructions.
sub r0, r15, #8
mov r1, #0x80000000
cmp r0, r1
bgt pass_sdram_init
That block aims that if current position is at RAM, then does not init RAM registers. If current position is not RAM, then init the RAM registers.
That block can work properly if the code area is at RAM. But if it is at NOR Flash, it cannot. What could be the problem?
Best regards,
Ilkay