Sysprogs forums › Forums › VisualGDB › MSP430 Debug Probe fails to reset after programming
- This topic has 4 replies, 3 voices, and was last updated 3 years, 5 months ago by support.
-
AuthorPosts
-
June 17, 2021 at 02:40 #30723PeterUParticipant
Development Board: MSP-EXP430FR2355 with onboard eZ-FET debug probe
MCU: MSP430FR2355
VisualGDB version: 5.6(Beta 1, build 4151)
Debug using : JTAG(gdbproxy++)
When running debug (F5) it works break points and variable watch. Terminating debug it leaves the on board debuger (eZ-FET debug) in an active state (green and red led on).
When only programing (Ctrl + F5). The device is programed visualGDB reports an error (text below). The on debug probe is in an active state (green and red led on) and the only way to start running the firware on the target is to power cycle the development board (unplug the USB). It would seem visualGDB is unable to terminate debugging and programming properly.
Programming xxxx.elf into your device... note : Executing predebug actions Build/launch failed: The device has been programmed successfully, however it requires manual reset. Please reset the device manually to start your new firmware. ------------------------------ Detailed exception info: un2+f1: The device has been programmed successfully, however it requires manual reset. Please reset the device manually to start your new firmware. ---> System.Exception: Detaching failed: ^error,msg="Target does not support this command." at un2.q_2() at un2.k_2(pv1 a) --- End of inner exception stack trace --- at un2.k_2(pv1 a) at i42.n(ProjectSettingsFileInfo b, IDELevelProjectInfoForDebugging a) at i42.h(String[] a) ------------------------------ Detailed exception info: System.Exception: Detaching failed: ^error,msg="Target does not support this command." at un2.q_2() at un2.k_2(pv1 a) ------------------------------ Product version: 5.6.1.4151 Press any key...
June 17, 2021 at 12:43 #30730supportKeymasterHi,
No problem. We have updated msp430-gdbproxy to support the “detach” command. You can download the updated tool here: https://github.com/sysprogs/msp430-gdbproxy/releases/download/v1.10/msp430-gdbproxy-1.10.7z.
Simply replace the msp430-gdbproxy.exe file in your toolchain directory, and it will work out-of-the-box.
June 18, 2021 at 02:06 #30738PeterUParticipantThanks,
This release seems to work as expected- the firmware runs after programming (ctrl+F5).
July 7, 2021 at 21:55 #30911chrisalfredParticipantI am using an MSP430FR2476 Launchpad
The zip includes msp430-gdbproxy.exe and MSP430.dll.
Only copy msp430-gdbproxy.exe to C:\SysGCC\msp430\bin – do not copy MSP430.dll.
July 8, 2021 at 08:03 #30916supportKeymasterHi,
The MSP430.DLL file comes from TI and implements the low-level logic for interacting with the TI hardware. In case of any issues with it, we always recommend downloading the latest version directly from TI: https://www.ti.com/tool/MSPDS
-
AuthorPosts
- You must be logged in to reply to this topic.