Debugger session does not work on RP2040 sample project with j-link

Sysprogs forums Forums VisualGDB Debugger session does not work on RP2040 sample project with j-link

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32135
    zzattack
    Participant

    I’m trying to use VisualgGDB to debug on a Raspberry pico board using a SEGGER J-link EDU.

    I’ve followed the steps from https://visualgdb.com/tutorials/raspberry/pico/ and wired it according to https://visualgdb.com/documentation/embedded/raspberry/pico/swd/ (which does not show j-link specific instructions). I picked the hello_pio example, for what it’s worth. The resulting project compiles without issue and can be loaded onto the target, but the debugger session does appear to start properly. The last line shown in the VisualGDB output tab reads “Starting target CPU…”, and breakpoints in the main() function are not hit. Manually pausing the program execution shows the “Frame not in module” Window and looking up the disassembly the PC is at a “WFI” instruction at 0x00000030.

    Encountered these issues with 5.6r2, VS2019 and j-link 7.50. Updated all tools and I’m now using 5.6r4, VS2022 and latest 7.60f from SEGGER. Problem remains identical, hopefully I’ve attached usable log files.

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

    Hi,

    This looks like an issue between J-Link and the Raspberry Pi, rather than something specific to VisualGDB. Please consider contacting Segger support or Raspberry Pi community for further help with this.

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