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

How to Use C51 .lib file in ARM toolchain

I have a .lib file(which holds simple mathematical calculation) generated for C51(P89v51RD2) tool chain. Now how can i use this lib file in arm tool-chain ARM Cortex M3(LPC 1788)

Parents
  • Actually its a password generation code implemented by our previous engineer who is not available with us at present. He provided us a .lib file. Till we worked with C51 micro-controllers it was Ok. But now we want to shift ARM micro-controller.

    It takes 4 bytes and returns back 4 byte through array pointer like-

    void GetKey(unsigned char *Input, unsigned char *Output)

    and I don't know the calculation logic. what to do?? Pls. help.

Reply
  • Actually its a password generation code implemented by our previous engineer who is not available with us at present. He provided us a .lib file. Till we worked with C51 micro-controllers it was Ok. But now we want to shift ARM micro-controller.

    It takes 4 bytes and returns back 4 byte through array pointer like-

    void GetKey(unsigned char *Input, unsigned char *Output)

    and I don't know the calculation logic. what to do?? Pls. help.

Children
  • code implemented by our previous engineer who is not available with us at present

    So how come nobody insisted that he should leave behind not just the compiled library, but also the source code for it?

    what to do??

    Give up on that library, task somebody with writing a new one from scratch (or from the same requirements, assuming you at least managed to archive those) and keep the source code, this time round. And consider the price of that exercise the appropriate punishment for being grossly negligent about source code control, before.