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.

CCS/MSP430FR2110: TI MSP430 cannot connect to device (error: unknown device, and could not erase device memory)

Part Number: MSP430FR2110
Other Parts Discussed in Thread: MSP430FR2000, MSP-FLASHER, MSP-FET

Tool/software: Code Composer Studio

I am using: 

  • the MSP430FR2110
  • the MSP_FET Flash emulation tool 
  • Code composer 
  • Mac computer 

After running the code to put MSP430 to sleep, I cannot connect to the device anymore. The MSP_FET Flash shows the message "Error connecting to the target: unknown device". Then, I updated the debug configuration to erase the MSP430 before flashing. Now, MSP_FET Flash shows the message "Error connecting to the target: Could not erase device memory". Can someone help me to connect to the MSP430 via MSP_FET Flash emulation tool?

code to put MSP to sleep:

__bis_SR_register(LPM3_bits) 

  • I tried connecting to the device using MSP flasher. with the same error ''unknown device": 

    * -----/|-------------------------------------------------------------------- *

    *     / |__                                                                   *

    *    /_   /   MSP Flasher v1.3.20                                             *

    *      | /                                                                    *

    * -----|/-------------------------------------------------------------------- *

    *

    * Evaluating triggers...done

    * Checking for available FET debuggers: 

    * Found USB FET @ usbmodem14301 <- Selected

    * Initializing interface @ usbmodem14301...done

    * Checking firmware compatibility: 

    * FET firmware is up to date.

    * Reading FW version...done

    * Setting VCC to 3000 mV...done

    * Accessing device...

    # Exit: 16

    # ERROR: Unknown device

    * Powering down...done

    * Disconnecting from device...done

    * ----------------------------------------------------------------------------

    * Driver      : closed (Internal error)

    * ----------------------------------------------------------------------------

    */

    Press any key to continue...

    The hardware connection is definitely good. And, MSP-FET flasher is functional as I am able to connect to another part MSP430FR2000 using the same tool. The output from MSP-FLASHER:

    * -----/|-------------------------------------------------------------------- *

    *     / |__                                                                   *

    *    /_   /   MSP Flasher v1.3.20                                             *

    *      | /                                                                    *

    * -----|/-------------------------------------------------------------------- *

    *

    * Evaluating triggers...done

    * Checking for available FET debuggers: 

    * Found USB FET @ usbmodem14301 <- Selected

    * Initializing interface @ usbmodem14301...done

    * Checking firmware compatibility: 

    * FET firmware is up to date.

    * Reading FW version...done

    * Setting VCC to 3000 mV...done

    * Accessing device...done

    * Reading device information...done

    * Loading file into device...done

    * Verifying memory (Firmware.txt)...done

    * ----------------------------------------------------------------------------

    * Arguments   : -w Firmware.txt -v -g -z [VCC] 

    * ----------------------------------------------------------------------------

    * Driver      : loaded

    * Dll Version : 31400000

    * FwVersion   : 31200000

    * Interface   : TIUSB

    * HwVersion   : U 3.0

    * JTAG Mode   : AUTO

    * Device      : MSP430FR2000

    * EEM         : Level 5, ClockCntrl 2

    * Erase Mode  : ERASE_ALL

    * Prog.File   : Firmware.txt

    * Verified    : TRUE

    * BSL Unlock  : FALSE

    * InfoA Access: FALSE

    * VCC ON      : 3000 mV

    * ----------------------------------------------------------------------------

    * Starting target code execution...done

    * Disconnecting from device...done

    * ----------------------------------------------------------------------------

    * Driver      : closed (No error)

    * ----------------------------------------------------------------------------

  • Hi Darryl,

    Can you share the code that you download to your MSP430 to us?

    And another tool you can try is http://www.ti.com/tool/download/UNIFLASH

    Ling

  • It is resolved. Thanks. 

**Attention** This is a public forum