Live Tracing on STM32H753ZI with VisualGDB

Sysprogs forums Forums VisualGDB Live Tracing on STM32H753ZI with VisualGDB

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36653

    We have a tricky problem which looks like it needs some tracing.  In VisualGDB Properties, I turned Software tracing on and selected a function to trace. All good so far. The debugger had to be restarted and now a cryptic debugging failed message issues. Any help would be much appreciated.

    Attachments:
    You must be logged in to view attached files.
    #36659
    support
    Keymaster

    Hi,

    Sorry, this looks like the ELF file you are trying to trace contains some non-standard relocation records, so VisualGDB won’t know how to patch it. We can update VisualGDB to dump the exact address of the relocation record so you could try to adjust the code to avoid it, but it may turn out that there are multiple similar records with no easy fix.

    #36660

    We are using a bin file not an elf file. It looks like the relocation is caused by the live tracing. I searched the code for relocate and can only find standard code.

    Attachments:
    You must be logged in to view attached files.
    #36662
    support
    Keymaster

    Sorry, that wouldn’t work. You need an ELF file built with relocation records and full debugging symbols.

    #36664

    Thanks for the reply. Would hex files also work? There is no easy way I can see for gcc to make an elf file.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.