CanonFodder

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Bootloader #6628
    CanonFodder
    Participant

    Is there a straight forward method of overriding the default .lds file used by the project?

    • This reply was modified 9 years, 4 months ago by CanonFodder.
    in reply to: Bootloader #6627
    CanonFodder
    Participant

    As a summation, what I think is the correct process is to just alter the MEMORY declaration of the .lds file for each of my three separate images. I want the intvet/isrvector to be located separately for each image, thus:

    ResetManager
    Memory
    {
    FLASH (RX) : ORIGIN = 0x08000000, LENGTH = 2K
    SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 96K
    }

    OTAServiceManager
    Memory
    {
    FLASH (RX) : ORIGIN = 0x08000800, LENGTH = 12K
    SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 96K
    }

    Application
    Memory
    {
    FLASH (RX) : ORIGIN = 0x08003800, LENGTH = 488K
    SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 96K
    }

     

    Does this seem accurate?

     

    Thank you

    • This reply was modified 9 years, 4 months ago by CanonFodder.
    in reply to: Bootloader #6584
    CanonFodder
    Participant

    Howdy,

    I am trying to avoid using IAR and am attempting to setup a VisualGDB embedded project to accomplish the STM32 OTA application.

    This requires 3 images:

    • ResetManager 0x08000000
    • OTA Service Manager 0x08003000
    • Primary image 0x08006000

    Where I am stuck is how to alter the linker files correctly for each image, bounding each to a particular space and testing for this during build. In IAR this was rather straight forward.

    I would also like to know if there are any straight forward methods of packaging up all 3 parts into one programmable package

     

    Cheers

Viewing 3 posts - 1 through 3 (of 3 total)