[SOLVED] Loadbin with no reset

  • Is it possible to perform a loadbin without resetting a device?
    I have a ram dump that I need to inject in the memory, but the device sets some output state before arriving at that point so I can not manually set PC and LR (and other registers).
    Any hint about that?
    my .Jlink file looks like this at the moment (writing to registers commented out becouse I am testing the reset part of loadfile):

  • Hello,

    You can override the reset functionality by passing a JLink script file to the JLink Commander that implements the ResetTarget() function.
    This will ensure JLink calls your custom reset function instead of the default target reset.

    Here is an example of how to override JLink functions:
    Overriding device specific connect

    To pass the script file to the JLink Commander, you can use the following command line option:
    J-Link Commander Command Line Options

    Best regards,
    Simon

    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!