This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

msp430fg4618 debugging problem

Other Parts Discussed in Thread: MSP430FG4618, MSP-FET, ENERGYTRACE

Sir,

       I would like to draw your kind attention that I am working on MSP430FG4618 experiment board.But I am facing some problem during debugging session which is given below...

Tue Dec 13, 2016 13:56:13: Using license: Standalone license - IAR Embedded Workbench for Texas Instruments MSP430, 4K KickStart Edition 5.60
Tue Dec 13, 2016 13:56:14: Firmware version 30301003
Tue Dec 13, 2016 13:56:14: Interface dll version 3.3.1.3
Tue Dec 13, 2016 13:56:14: Device : MSP430FG4618
Tue Dec 13, 2016 13:56:14: External voltage : 2.6 V
Tue Dec 13, 2016 13:56:14: VCC voltage : 0.0 V
Tue Dec 13, 2016 13:56:15: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
Tue Dec 13, 2016 13:56:15: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
Tue Dec 13, 2016 13:56:15: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
Tue Dec 13, 2016 13:56:15: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
Tue Dec 13, 2016 13:56:16: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
Tue Dec 13, 2016 13:56:16: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
Tue Dec 13, 2016 13:56:18: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
Tue Dec 13, 2016 13:56:18: Trying to initialize target failed
Tue Dec 13, 2016 13:56:21: Fatal error: Closing debug session Session aborted!
Tue Dec 13, 2016 13:56:21: Failed to load debugee: C:\Documents and Settings\AG\My Documents\IAR Embedded Workbench\430\Debug\Exe\myfft1.d43

please suggest me what should i do...

Thank You,

Samsaptak Ghosh

  • Sir,

          I would like to draw your attention on some problem regarding MSP430FG4618 which is not working properly.During debugging some problem is happening with emulator update and it is not able to debug properly.Please suggest me what should i do...The problem are given below...

    Tue Dec 13, 2016 13:29:23: Using license: Standalone license - IAR Embedded Workbench for Texas Instruments MSP430, 4K KickStart Edition 5.60
    Tue Dec 13, 2016 13:29:24: Firmware version 30301003
    Tue Dec 13, 2016 13:29:24: Interface dll version 3.3.1.3
    Tue Dec 13, 2016 13:29:24: Device : MSP430FG4618
    Tue Dec 13, 2016 13:29:24: External voltage : 2.5 V
    Tue Dec 13, 2016 13:29:24: VCC voltage : 0.0 V
    Tue Dec 13, 2016 13:29:25: Warning: Download and debug with attach to running target option.
    Tue Dec 13, 2016 13:29:25: Download complete.
    Tue Dec 13, 2016 13:29:25: Loaded debugee: C:\Documents and Settings\AG\My Documents\IAR Embedded Workbench\430\Debug\Exe\MYfft.d43
    Tue Dec 13, 2016 13:29:25: Energy Trace is not supported by the selected hardware : (EnableEnergyTrace)

    Thank You,

    Samsaptak Ghosh

  • Hello Samsaptak,

    What debugger are you using to connect to the board? MSP-FET?
    Are you using a target board or a custom board for the MSP430FG4618?
  • We are using MSP-FET 430UIF DEBUGGEER and we are using a custom board for the MSP430FG4618.
  • we are getting the following errors
    Mon Dec 19, 2016 13:22:05: Using license: Standalone license - IAR Embedded Workbench for Texas Instruments MSP430, 4K KickStart Edition 5.60
    Mon Dec 19, 2016 13:22:05: Firmware version 30301003
    Mon Dec 19, 2016 13:22:05: Interface dll version 3.3.1.3
    Mon Dec 19, 2016 13:22:06: Device : MSP430FG4618
    Mon Dec 19, 2016 13:22:06: External voltage : 2.5 V
    Mon Dec 19, 2016 13:22:06: VCC voltage : 2.5 V
    Mon Dec 19, 2016 13:22:06: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
    Mon Dec 19, 2016 13:22:07: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
    Mon Dec 19, 2016 13:22:07: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
    Mon Dec 19, 2016 13:22:07: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
    Mon Dec 19, 2016 13:22:08: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
    Mon Dec 19, 2016 13:22:08: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
    Mon Dec 19, 2016 13:22:10: Could not erase device memory : (Erase) , type=0x1, address=0x3100, length=0x1cf00
    Mon Dec 19, 2016 13:22:10: Trying to initialize target failed
    Mon Dec 19, 2016 13:22:13: Fatal error: Closing debug session Session aborted!
    Mon Dec 19, 2016 13:22:13: Failed to load debugee: C:\Documents and Settings\AG\My Documents\Downloads\msp\FG4618 Real Time Clock\Debug\Exe\sss.d43
  • Hello Samsaptak,

    The MSP-FET430UIF does not support EnergyTrace. Please make sure EnergyTrace option is turned off in IAR. It also seems that your voltages communicated to the debugger is off. Please make sure the correct connections to the debugger are made when powering the device externally and/or by the debugger. Please also ensure that your JTAG connections and circuit are in accordance to what is described within the MSP HW User Guide ( http://www.ti.com/lit/slau278) as seen in Figure 2-1 or Figure 2-2. Another possible issue is the wire + trace length of the JTAG signals. This length must not exceed 8 inches or communication problems can occur. This is found within the FAQ in the above document.
    Please also ensure that the JTAG interface has not been locked on the device.

    Have you tried other IDEs/debuggers with this setup? Can you try erasing the device with the free Elprotronic Lite-FET Pro430 tool?

    For additional information about the MSP-FET430UIF and debug suggestions, please see the MSP Debugger User Guide. http://www.ti.com/lit/slau647

**Attention** This is a public forum