|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
How do I start my functions at a specific place in memory?
All you have to do is look at your map file to see what segment name your function is given. For example, if your segment name is ?PR?FUNCTION?TEXT2 then, in uVision2, go to the BL51 locate tab, under options for target. In the CODE input line, add ?PR?FUNCTION?TEXT2 (100h). This locates that function at address 100h. Rebuild your project and check your map file. You will notice that your function starts at address 0x100.
Article last edited on: 2006-01-13 08:38:14
Did you find this article helpful? Yes No
How can we improve this article?