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

startup file link at fix address

Hello all,

i am using ST10.
in my application i am having start167.a66, Rtx166t.a66.
i want to link Rtx166t.a66 to specific address.

i use ?PR?rtx166t%FCODE(0x3000).
But i received message like "cannot find section or regbank" and it wont work.

Plz help.

regards...
Yogesh

Parents Reply Children
  • Hi,

    i try to link Rtx166t.a66 in my project using
    ?PR?Rtx166t%FCODE2(0x4002). But i received error like"cannot find section or regbank".

    if i link onther file C file say mera.c as
    ?PR?mera%FCODE2(0x4002) then it works.

    I am making any mistake while declaring first statement? Suggest..

    Regards...

    Yogesh

  • You could check the .a66 file to see if it defines a different section. I noticed that my startup file was created in ICODE (specified in the file itself) instead of FCODE, etc.

    Try linking it at the default location and check the map file to see where it was created and what name it got.

    --
    Joost Leeuwesteijn