[SOLVED] Flashloader with multi flashBankInfo

  • May I know once the device been connected and includes tree flashbankinfo and tree flashloader, will all the trree flashloader been load to the ram ?
    Or just load either one at run time ?

    Ex:
    Using JLink.exe and connect MyTestDevice to execute test script as below:
    JLink.exe -device MyTestDevice -if SWD -speed 75000 -CommandFile mytest.jlink -jlinkscriptfile .\JLinkSettings.JLinkScript


    Code
    r
    h
    loadbin test1.bin 0x10000
    loadbin test2.bin 0x40000
    loadbin test3.bin 0x200000
    r
    exit

    loadbin test1.bin 0x10000 => this address mapping to FL_Test1 and will use FL_Test1.FLM
    loadbin test2.bin 0x40000 => this address mapping to FL_Test2 and will use FL_Test2.FLM
    loadbin test3.bin 0x200000 => this address mapping to FL_Test3 and will use FL_Test3.FLM
    The all loader will be loaded to ram or just load and overwrite previous one when loadbin ?

    Thanks.

  • Hi,
    - Only one loader is loaded to RAM at a time, and
    - the RAM region used by the loader is restored after each programming sequence.

    BR
    Fabian

    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!