MSP430 Debug Probe fails to reset after programming

Sysprogs forums Forums VisualGDB MSP430 Debug Probe fails to reset after programming

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30723
    PeterU
    Participant

    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...
    • This topic was modified 3 years, 5 months ago by PeterU.
    • This topic was modified 3 years, 5 months ago by PeterU.
    #30730
    support
    Keymaster

    Hi,

    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.

    #30738
    PeterU
    Participant

    Thanks,

    This release seems to work as expected- the firmware runs after programming (ctrl+F5).

    #30911
    chrisalfred
    Participant

    I 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.

    #30916
    support
    Keymaster

    Hi,

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.