ARM:How to use object file protect.o from other supplier into uVsion

I need to know how to use a object file "protect.o" buy from chip supplier (copy protection chip) into uVision to let the linker works. Supplier give me only object file and not C source code to protect the own key.
1) Where place the command to insert "protect.o" file into uVsion 4.20?
2) What is the command to add into uVsion?
3) HOw to generare "protect.d", "protect.crf", "protect.__i" from "protect.o"?
4) What are the step to follow?

Thank you for reply

Parents

  • Doesn't the supplier give instructions on how to do this??

    Object files are not generally portable - you should not even assume that they will be portable between different versions of the same tools.

    Therefore the first thing you need to be sure of is that this object file is specifically for use with the particular Keil version that you have.

    "1) Where place the command to insert "protect.o" file into uVsion 4.20?
    "2) What is the command to add into uVsion?"

    There is no "command"! uVision is a Graphical user interface; so you use the normal dialogues - same as for adding any other file to a project.

    uVision "automatically" knows what to do with a file from its extension:
    www.keil.com/.../uv4_ca_file_extensions.htm

    "3) HOw to generare 'protect.d', 'protect.crf', 'protect.__i' from 'protect.o'?"

    Why would you want to do that?
    They are all outputs from the compiler; an object file is already compiled - so you don't need any of that stuff!

    "4) What are the step to follow?"

    Please read the manual:
    http://www.keil.com/support/man/docs/uv4/uv4_ca_sourcefiles.htm

Reply

  • Doesn't the supplier give instructions on how to do this??

    Object files are not generally portable - you should not even assume that they will be portable between different versions of the same tools.

    Therefore the first thing you need to be sure of is that this object file is specifically for use with the particular Keil version that you have.

    "1) Where place the command to insert "protect.o" file into uVsion 4.20?
    "2) What is the command to add into uVsion?"

    There is no "command"! uVision is a Graphical user interface; so you use the normal dialogues - same as for adding any other file to a project.

    uVision "automatically" knows what to do with a file from its extension:
    www.keil.com/.../uv4_ca_file_extensions.htm

    "3) HOw to generare 'protect.d', 'protect.crf', 'protect.__i' from 'protect.o'?"

    Why would you want to do that?
    They are all outputs from the compiler; an object file is already compiled - so you don't need any of that stuff!

    "4) What are the step to follow?"

    Please read the manual:
    http://www.keil.com/support/man/docs/uv4/uv4_ca_sourcefiles.htm

Children
More questions in this forum