Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
I have created a c project for a53 bare metal moudle,but some problem confusing me ? please help me!!!!!!!!
I want to add startup.s file for this project ,but In the debug mode the entry point isnot this file why ?
__main is the entry point of the C library.
I recommend you start by looking Cortex-A53 example provided with the tool. You can most easily access it by navigating the menu system to File > Import... > DS-5 > Examples & Programming Libraries, and search for the "A53" example.
thanks very much for replying me . I can find the example but I want to add my startup.s file in the c project
Yes, this should be fine to do - when your initialization code is done, you then call __main, which performs the c library initialization and other actions, before finally calling main().When you link the image, use --entry to define the function within your startup.s as being the real start of the code.
thanks again . Do I should change the arm ds5 setings?
See the LDFLAGS option in the makefile for this project, which contains "-e start64" (-e is a synonym for --entry).
thanks a lot !!I have maked a big sucess