Can some one introduce function of Start.c file in your S12G_examples, what is attention when a project should be developed?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can some one introduce function of Start.c file in your S12G_examples, what is attention when a project should be developed?

396件の閲覧回数
wengxp
Contributor I


Hello, I am using S12G128 to do CAN communocation, I found demo code S12G_CAN_Demo from AN4455SW, Have some one introduce function of Start.c file in the demo code? what is attention when a project should be developed?

ラベル(1)
0 件の賞賛
1 返信

245件の閲覧回数
trytohelp
NXP Employee
NXP Employee

Hi,

The Start.c file includes some function used by all applications:

              - initialize the Stack Pointer,

              - initialize global variables,

              - copy ROM to RAM (if used in your application),

              - call the main function.

The entry of the application is defined by default as _Startup.

This function is defined in the start.c file included by default in the project.

This file contains different functions used by the startup function.

The best is to keep it safe.

Inside the file you will file lot of comments explaining it.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛