STARTUP.A51 & INIT.A51 FILE INFO

Hi.
I am using uVersion2 IDE. Here after reset, MPU will execute code from reset vector located in Startup.A51 file and after some initialization, it will jump to label named as ?C_START which is defined in Init.A51, where it does some other initialization. If we dont include the Init.A51 in project, then will it automatically include for project ?

If we dont want to use this Init.A51 file and instead of jumping to ?C_START from Startup.A51, we modify this to jump to Main direclt then will it create any proble ?

Thanks.

Parents
  • "If we dont include the Init.A51 in project, then will it automatically include for project ?"

    Yes.

    "If we dont want to use this Init.A51 file and instead of jumping to ?C_START from Startup.A51, we modify this to jump to Main direclt then will it create any proble ?"

    I'm not certain, but I suspect it should be ok provided, of course, you don't have any explicitly initialised static data.

Reply
  • "If we dont include the Init.A51 in project, then will it automatically include for project ?"

    Yes.

    "If we dont want to use this Init.A51 file and instead of jumping to ?C_START from Startup.A51, we modify this to jump to Main direclt then will it create any proble ?"

    I'm not certain, but I suspect it should be ok provided, of course, you don't have any explicitly initialised static data.

Children
More questions in this forum