[SOLVED] Messed output of Elf.PrintSectionInfo(0)

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

  • [SOLVED] Messed output of Elf.PrintSectionInfo(0)

    Hello,

    Ozone version: 3.28d

    I see that this error happens in different projects, so there is no special MRE.

    Steps
    1. Build a C project, generate .elf file
    2. Start Ozone, open Console
    3. Load the project, among others there is a list of program segments dumped to the Console:

    C Source Code

    1. File.Open: completed in 1262 ms
    2. Program segments:
    3. Address Size Code RO Data RW Data ZI Data Flg
    4. --------- --------- --------- --------- --------- --------- ---
    5. 08000000 457 792 360 232 97 560 0 0 RWE
    6. 20000000 40 220 0 0 20 392 19 828 RW
    7. 20009D1C 1 540 0 0 1 540 0 RW
    8. --------- --------- --------- --------- --------- --------- ---
    9. Total: 499 552 360 232 97 560 21 932 19 828
    10. --------- --------- --------- --------- --------- --------- ---
    11. For further information on ELF file data sections, execute command Elf.PrintSectionInfo(0).
    Display All
    4. Now execute Elf.PrintSectionInfo(0), note the messed formatting:

    C Source Code

    1. Data sections:
    2. Name Address Code RO Data RW Data ZI Data
    3. ----------------- ----------------- ----------------- ----------------- ----------------- -----------------
    4. ._user_heap_stack 20009D1C 0 0 1 540 0
    5. .ARM 08073C50 0 0 0 0
    6. .ARM.extab 08073B90 0 192 0 0
    7. .bss 20004FA8 0 0 0 19 828
    8. .data 20000000 0 0 20 392 0
    9. .fini_array 08073DE8 0 0 0 0
    10. .init_array 08073DD8 0 0 0 0
    11. .isr_vector 08004000 0 432 0 0
    12. .preinit_array 08073DD8 0 0 0 0
    13. .rodata 0805C0E8 0 96 936 0 0
    14. .text 080041C0 360 232 0 0 0
    15. ----------------- ----------------- ----------------- ----------------- ----------------- -----------------
    16. Total: 360 232 97 560 21 932 19 828
    17. ----------------- ----------------- ----------------- ----------------- ----------------- -----------------
    18. Elf.PrintSectionInfo (0); // returns 0x0
    Display All


    Kind regards,
    Vadim B
  • Hi Vadim B,
    thanks for notifying us. We will provide a fix with a future Ozone version.
    Best regards
    -- AlexD
    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.