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

Linking Functions at Specific addresses

I need to Link Functions at Specific address

I have 5 functions that i want to go into 0xFA00 ONWARDS

I am using uvision2 and 0xFAOO onwards is a part of flash that will not be erased

I can fix one function using...

?PR?_LOADER?LOADER(0FA00h) command in the (BL51 Locate) TAB

Do I have to specifically locate ever function this way or can i just specify the first function in a file.

All functions are in the same file..

Parents
  • thats exactly wot is to does, unable to use your options. if i link separately how do i load the bootloader and app code first time with JTAG.

    the way i get round this is to specify start address of all loader functions...

    0xFA00 Loader
    0xFCA0 function A
    0xFCB0 function B
    0xFCC0 function C...etc

    This is very messy

    I have seen the following on Keil site would this work??

    In the µVision IDE, go to Project -> 'Options for Target' -> 'BL51 Misc', and in the 'Misc controls' section, enter:

    CODE (?pr?*?myfile (0x100))

    where all functions are in myfile.obj

Reply
  • thats exactly wot is to does, unable to use your options. if i link separately how do i load the bootloader and app code first time with JTAG.

    the way i get round this is to specify start address of all loader functions...

    0xFA00 Loader
    0xFCA0 function A
    0xFCB0 function B
    0xFCC0 function C...etc

    This is very messy

    I have seen the following on Keil site would this work??

    In the µVision IDE, go to Project -> 'Options for Target' -> 'BL51 Misc', and in the 'Misc controls' section, enter:

    CODE (?pr?*?myfile (0x100))

    where all functions are in myfile.obj

Children
No data