Sony's Developer World forum

    • Home
    • Forum guidelines

    Use ST-Link as ICE debuger for the Spresense

    Spresense
    3
    4
    682
    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.
    • L
      leo 1 last edited by

      Do you know if it's possible to use ST-Link as debuger for the Spresense?

      I first check the recommended debuggers in the documentation but there is only two reference. One of this reference Keil ULINK2 (http://www.keil.com/arm/ulink2/) is really expensive (more than 400 $) and the other NXP LPC-Link2 (https://www.nxp.com/jp/support/developer-resources/software-development-tools/lpc-developer-resources-/lpc-microcontroller-utilities/lpc-link2:OM13054?lang=jp&lang_cd=jp&) is no longer available.

      J 1 Reply Last reply Reply Quote
      • J
        jens 0 1 1 @leo 1 last edited by

        @leo-1
        I was successfully using the successor of the LPC-Link2. It is https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINK. This is very cheap.

        One hint about an issue I ran into. The latest version of the Cortex-Debug Plugin of Visual Studio does not support anymore the quite outdated GDB version of the Spresense SDK.
        Try downgrading to version v1.4.4 if you get errors.

        @CamilaSouza Did you get feedback about gdb already? It might make sense to update instructions if you can verify the issue.

        Regarding the ST-Link. You need a cmsis-dap compatible device. Please check for this. (A quick google search let's me think it is not. But please counter check. I only spend 3 minutes on this search)

        I also tried a nRF52840-DK. It was not compatible.

        L C 2 Replies Last reply Reply Quote
        • L
          leo 1 @jens 0 1 1 last edited by

          @jens6151-0-1-1 Thanks a lot for your reply, i think i will purchase the NXP MCU Link.

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

            @jens6151-0-1-1

            Do you mean to ask if I received feedback from other users?
            I haven't, sorry.

            I'll raise this issue with outdated GDB version so we can verify.

            Thanks for tagging me.

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