• Branching to __main
    Hey guys, does someone knows why a branching to __main from the reset handler can causes the program to stop execution at a breakpoint. It branches fine to main but the __main scatter initialisation...
  • Where is __main?
    We use Keil tools to generate C++ embedded application that run in our embedded controller. My initialization code jumps to __main as follows: IMPORT __main LDR R0, =__main BX R0 Wher is...
  • Debugging "__main"
    Is there any way to be able to step through the code (associated C Code) that is executed when calling "__main" from the start up file? Reset_Handler PROC EXPORT Reset_Handler [WEAK] IMPORT HW_init...
  • The contents of __main
    Where can i find information on __main, Its contents and functionality. Thanks
  • __main not appearing to initialise data
    I have a strange problem in that initialised variables in external RAM are not being initialised by the 'C' startup code when the size of data exceeds a certain size - it gets zero initialised instead...