Debug Authentication

Sysprogs forums Forums VisualGDB Debug Authentication

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36857
    julieninnovel
    Participant

    Hi all,

     

    I’m using an STM32H573 with the Debug Authentication enable. Is it a way to drun a partial regression or intrusive debug with key and certificate directly froc visual GDB ?

    At the moment, I’m using CubeProgrammer to enter into debug mode with intrusive debu or partial regression, and after using the debug with Visual GDB.

    But I would like to do this directly from Visual GDB, like CubeIDE can do.

     

    Thanks for your help.

    #36858
    support
    Keymaster

    Hi,

    VisualGDB does not interact with the debugged devices directly, and instead uses various vendor-supplied tools like OpenOCD.

    If STM32CubeIDE does it automatically, it likely has some special OpenOCD command in the script, or a command-line tool that it runs before or after debugging. You would need to find that out and make sure you can get it working with command-line tools alone.

    Based on your findings, we can then help you configure VisualGDB to launch these tools automatically.  If it’s a stand-alone tool, you can add it to VisualGDB Project Properties -> Debug Customization -> Pre/Debug steps. If it’s an OpenOCD script command, you can configure it via advanced settings on the Debug Settings page.

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