[Segger Ozone] How to load symbols from an axf without its code?

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

  • [Segger Ozone] How to load symbols from an axf without its code?

    Hello,
    In Ozone script, I need to load symbols from an *.axf but not the code part.
    But when I do "File.Open("file.axf");", it indeed loads the symbols but also seems to execute the code inside, which I want to avoid.
    Is there a way to do it?
    Thanks.
  • Hello,

    If you want to only load symbols, but not download the code, you can switch the mode to attach to running program.
    This can be done by adding Edit.SysVar (VAR_CONNECT_MODE, CM_ATTACH); before File.Open() in OnProjectLoad().

    Best regards
    Johannes
    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.