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

How to put program to specify address using startup.s

Hi!
I am using ADUC7026 and Keil Arm Tools. I need to put all program to specify address(for example 0x8C800). I need to do this in startup.s, because I want MCU to jump to this address only on specially condition(for example GPIO pin low). In all other cases program must start from defaul address(0x80000). Thanks in advance

Parents
  • The problem is: I put program to 0x8C800 address via uVision
    Target Options->LA Locate
    DATA (0x10000-0x11FFF),
    CODE (0x8C800-0x8F7FF), CONST (0x8C800-0x8F7FF))
    But uVision put this program to 0x8DA69(I checked in Disassebmly window) so if jump to 0x8C800 nothing happened.
    I need to know hot to put start of main program to exactly 0x8C800 address. I think there are must be assembler operand to do this.

Reply
  • The problem is: I put program to 0x8C800 address via uVision
    Target Options->LA Locate
    DATA (0x10000-0x11FFF),
    CODE (0x8C800-0x8F7FF), CONST (0x8C800-0x8F7FF))
    But uVision put this program to 0x8DA69(I checked in Disassebmly window) so if jump to 0x8C800 nothing happened.
    I need to know hot to put start of main program to exactly 0x8C800 address. I think there are must be assembler operand to do this.

Children