Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    Debugging in VSCode and Spresense SDK

    Spresense
    2
    2
    1592
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stanton last edited by

      Hello - I'm trying to run the VSCode debugger using the following steps.

      1. vscode: Right click project, select Sprense: Build and Flash
      2. vscode: run->start debug

      But I get the following error:

      Waiting for gdb server to start...[2022-06-10T12:45:29.947Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions.
      usr/bin/openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s ../git/spresense/sdk/tools -f .vscode/extensions/marus25.cortex-debug-1.4.4/support/openocd-helpers.tcl -f interface/cmsis-dap.cfg -f cxd5602.cfg
      Open On-Chip Debugger 0.10.0+dev-00948-g7542ae67 (2019-11-25-05:46)
      Licensed under GNU GPL v2
      For bug reports, read
      http://openocd.org/doc/doxygen/bugs.html
      CDRTOSConfigure
      Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
      Info : Listening on port 50001 for tcl connections
      Info : Listening on port 50002 for telnet connections
      Error: unable to find CMSIS-DAP device

      How do i got about debugging a Spresense SDK app within VSCode? Thanks!

      C 1 Reply Last reply Reply Quote
      • C
        CamilaSouza DeveloperWorld @Stanton last edited by

        Hello, @Stanton
        This section in our documentation talks about how to debug with ICE
        https://developer.sony.com/develop/spresense/docs/sdk_set_up_ide_en.html#_ice_debugging

        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal