ARM Technical Support Knowledge Articles

IS STARTUP.A51 REQUIRED?

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

I'm creating a project that is made up of C and assembly files. Do I need to use the STARTUP.A51 file that you provide, or can I use my own version?

ANSWER

We strongly urge you to use the STARTUP.A51 file that we provide as the basis for your startup routines. The Keil startup code performs the following operations:

Your startup code must do all of these. If it doesn't, you may encounter run-time problems that are difficult to debug and diagnose.

Note that if you do include some form of a startup file, Keil will automatically include a start up file that is in the Keil library.

SEE ALSO

Article last edited on: 2005-07-19 10:29:55

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential