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.
Use ST-Link as ICE debuger for the Spresense
-
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.
-
@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.
-
@jens6151-0-1-1 Thanks a lot for your reply, i think i will purchase the NXP MCU Link.
-
@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.