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.

     

     

    How to view Stack Dumps

    Spresense
    2
    5
    1157
    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

      How can we decode stack dumps? I see there's a utility ./spresense/sdk/tools/callstack.py, but where is the map file we are to use?

      Thanks!

      1 Reply Last reply Reply Quote
      • J
        jens6151 0 1 1 last edited by

        I would like to know this too.

        Some clarifications

        • Are we talking about the Arduino SDK build?
        • and about the stack trace you get in the serial console?

        There is a map file in the Arduino Output folder called output.map next to the elf and spk file. The Arduino Output folder is inside some temp folder dependent on the OS. It can be also specified when using the VS Code Arduino Plugin.

        S 1 Reply Last reply Reply Quote
        • J
          jens6151 0 1 1 last edited by

          I found this in the documentation. https://developer.sony.com/develop/spresense/docs/sdk_tutorials_en.html#_tips_callstack

          It does not say where the map file is, but that it is generated with the build. So I guess it is in the build folder.

          S 1 Reply Last reply Reply Quote
          • S
            Stanton @jens6151 0 1 1 last edited by

            @jens6151-0-1-1 No, I'm using the Spresense SDK directly. And yes, the stack trace from serial console.

            1 Reply Last reply Reply Quote
            • S
              Stanton @jens6151 0 1 1 last edited by

              @jens6151-0-1-1 This link is very helpful. Thanks!

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