Can not debug Raspberry Pico target using remote Raspberry Pi

Sysprogs forums Forums VisualGDB Can not debug Raspberry Pico target using remote Raspberry Pi

This topic contains 2 replies, has 2 voices, and was last updated by  support 3 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33314

    obi
    Participant

    Hi

    I am trying to debug Raspberry Pico W using openOCD running on Raspberry Pi using Visual Studio and VisualGDB.

    First, I am able to debug the Pico when I run GDB locally on the Raspberry Pi. My conclusion is therefore that all wiring is correct.

    When I try to debug using VisualStudio and VisualGDB it does not work and it seems like the program throws an exception. Please see the attached screen shots.

    Attachments:
    You must be logged in to view attached files.
    #33316

    obi
    Participant

    The second screen capture was to big to attach, here it is.

    Attachments:
    You must be logged in to view attached files.
    #33318

    support
    Keymaster

    Hi,

    Based on the screenshot you attached, you have 2 instances of OpenOCD running simultaneously (one in the terminal and another launched via VisualGDB). This will indeed not work, as they will conflict with each other.

    Please make sure you only have one instance at a time.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.