Ozone's parser does not detect EntryPointSP in .srec file

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

    • Ozone's parser does not detect EntryPointSP in .srec file

      My IDE outputs both .elf and .srec files (S1 and S9 format).

      Uploading the .elf file works great but uploading the .srec file gives an error:


      With srec_info I checked the entry point:


      Which does not exactly corresponds with the 0x528 found in the .elf file.


      Is there a problem with my IDE or with Ozone's s-record parser?
    • Hello,

      Thank you for your inquiry.
      When calling Elf.GetEntryPointPC works only on elf files as the name of the function suggests.
      So setups with an srec will not work that way.
      You will need to use other script functions to detect the entry point from an srec.

      Generally we recommend to use elf files when available, otherwise debug information will be missing.
      If you e.g. want to debug elf file A but load an srec image B that is a bit different we recommend to use Exec.Download for the srec/hex file download.

      Best regards,
      Nino
      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      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.
    • Dear Nino,

      I'm trying to check the accuracy of my custom bootloader by downloading an s-record file and comparing them.
      It is therefore crucial that the file used is exactly the same.

      99% of the time I will be using .elf files. I'm glad Ozone still downloads them.

      Thank you for your response!