[SOLVED] Prevent Ozone from downloading Firmware - just attaching to target

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Prevent Ozone from downloading Firmware - just attaching to target

    Hello,

    is there a possibility to configure Ozone "never" to download the selected ELF file?
    I currently try to debugging a production device and want to avoid the downloading of the firmware accidentally.
    I just need to select "Attach to Running Target". But I know, there will be the time when I will just click "Download & Reset Target" accidentally.

    Kind regards
    Andreas
  • Hi Andreas,
    Thank you for your inquiry.

    It is possible to explicitly set the connect mode in the OnProjectLoad() function of the project:
    Debug.SetConnectMode( CM_ATTACH_HALT );

    Does this answer your question?

    Best regards,
    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: segger.com/ticket/

    Or you can contact us via e-mail.