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

Function located to a fixed address

ARM MDK 3.4: module / function startadress.
I would like to have a flash programming function on a specified address (0xf000) from where the normal program can be updated. This would be a simplified approach for ISP. If something goes wrong, JTAG will solve this problem.
I could not find a linker control which would allow this. I already searched forum, with no success.

Functionality:
a) first installed program (0x0000..<0xf000) contains ISP function on 0xf000
b) updated program (0x0000..<0xf000) does not contain ISP function, only absolut call to it.

Thanks for any hints Werner

Parents
  • thanks for your help. Using memory assignment in File / Group does work, and creates a sct file, where I see how it works. Somehow the default location except for startup becomes IROM2, so the standard group source and the libraries must be defined to belong to IROM1 otherwise they end up in the wrong place. Werner

Reply
  • thanks for your help. Using memory assignment in File / Group does work, and creates a sct file, where I see how it works. Somehow the default location except for startup becomes IROM2, so the standard group source and the libraries must be defined to belong to IROM1 otherwise they end up in the wrong place. Werner

Children
No data