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

C51: The file order in the project causes errors.

I have problems with startup file, in this article http://www.keil.com/support/docs/2263.htm keil suggest that STARTUP.A51 should be last file in the project (should be linked as last)
But in my project, when STARTUP.A51 is on any other position than first, it cause problems which make my uC reset few times per hour.

Does anybody had such a problem?

I'm using:
IDE-Version: µVision V4.60.6.10
Toolchain: PK51 Prof. Developers Kit for SiLabs Version: 9.51

Best regards,
Marcin

Parents
  • keil suggest that STARTUP.A51 should be last file in the project (should be linked as last)

    No. They don't "suggest" that it "should" be last. They flat-out tell you it must be either last or next-to-last (in case you also explicitly include INIT.A51).

Reply
  • keil suggest that STARTUP.A51 should be last file in the project (should be linked as last)

    No. They don't "suggest" that it "should" be last. They flat-out tell you it must be either last or next-to-last (in case you also explicitly include INIT.A51).

Children