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.


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

Question about RTX startup.s

Hi,
I am trying to use RTX on my target(LH7A404). I refered to the example and wrote my own startup.s. But I found in the example that the assembly jump to __main finally. And when I download my image to my target, there would be something wrong. When machine ran into __main block, it would execute a code(SWI 0x123456) and it crashed.
Could anyone tell me what the purpose of the __main block is? Is there any configuration I miss in my code? Thank you.