Remote debug of STM32 using OpenOCD on Raspberry Pi

Sysprogs forums Forums VisualGDB Remote debug of STM32 using OpenOCD on Raspberry Pi

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31528
    Hinoserm
    Participant

    Hi,

    I would like to use VisualGDB to work on an STM32 project at a remote location.  I have a Raspberry Pi connected at the remote end with OpenOCD installed with the bcm2835gpio interface driver and connected to the SWD interface on the STM32.  What steps do I need on the VisualGDB side to configure OpenOCD properly?

    Thanks!

    #31529
    Hinoserm
    Participant

    I ended up figuring this out.  I had to compile a newer version of OpenOCD (0.11.0+dev-00418-g918811529).  Attached shows the settings that worked for me — most importantly, I had to set the SWD frequency to 2000 or it was unreliable.

     

     

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

    Thanks for sharing this and good to know it works.

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