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

Looking for information on .vectors_ram in a scatter file.

Looking for information on .vectors_ram in a scatter file.  The call is in the scatter file but nothing appears in the .map file.  Where does it originate.

Parents
  • Usually, you have a section specified in assembly startup file for vectors like:

                    AREA     RESET, DATA, READONLY

    and then in the linker script you can use something like below to position it:

        *.o (RESET, +First)

    Producing a result in the map file like below:

        __Vectors                                0x08000000   Data           4  startup.o(RESET)
        __Vectors_End                            0x08000188   Data           0  startup.o(RESET)
    

    all of this is relevant if you use ARM Compiler 6 (and Linker), for other toolchains you have to see how it is done there.

Reply
  • Usually, you have a section specified in assembly startup file for vectors like:

                    AREA     RESET, DATA, READONLY

    and then in the linker script you can use something like below to position it:

        *.o (RESET, +First)

    Producing a result in the map file like below:

        __Vectors                                0x08000000   Data           4  startup.o(RESET)
        __Vectors_End                            0x08000188   Data           0  startup.o(RESET)
    

    all of this is relevant if you use ARM Compiler 6 (and Linker), for other toolchains you have to see how it is done there.

Children
No data