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.

MSP430F427: MSP430 Flasher error: unknown device

Part Number: MSP430F427
Other Parts Discussed in Thread: MSP-FET

Hi,

I'm trying to flash MSP430F427 from commands line via JTAG and at the end I've got Exit 16 and Error: unknown device.

Do I use wrong arguments or it's flasher bug? (by the way, CCS6,IAR  flashing works just fine).

Full log:

HOME: ~/MSPFlasher_1.3.16$ sudo ./MSP430Flasher -n MSP430F427 -w 1p_max_gp_210416.txt -m jtag -v  -z [VCC]
* -----/|-------------------------------------------------------------------- *
*     / |__                                                                   *
*    /_   /   MSP Flasher v1.3.16                                             *
*      | /                                                                    *
* -----|/-------------------------------------------------------------------- *
*
* Evaluating triggers...done
* Checking for available FET debuggers:
* Found USB FET @ ttyACM0 <- Selected
* Initializing interface @ ttyACM0...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
* Starting target code execution...done
* Disconnecting from device...done
*
* ----------------------------------------------------------------------------
* Driver      : closed (Internal error)
* ----------------------------------------------------------------------------

Regards,

Ugra

  • Hi,

    there could be multiple reasons for your issues:

    1) Do you, by any chance, have multiple USB-FETs connected? It could be that your MSP Flasher connects to a different one by default which might not be connected to any target.
    2) Can you still flash your target through IAR/ CCS after trying to Flash via command line? Maybe sometime during the flashing process the JTAG-Fuse burned and stopped working.
    3) Please try running the MSPFlasher.exe without parameters. If everything's fine physically you should get a connection.

    Please let me know what the outcome of those tests is so that we can further narrow down where the issue comes from.

    Thanks and best regards,
    Britta
  • Hi Britta,

    Thank you for quick response.!

    As you suggest that,

     Can you still flash your target through IAR/ CCS after trying to Flash via command line? Maybe sometime during the flashing process the JTAG-Fuse burned and stopped working.

    Target flashed using MSP-FET Pro Lite. after wards tried program using MSPFlasher.

    it works fine.

    NOTE:- But i still i didn't get understand what was the reason. it would be great  if you explain the reason.

    Best,

    Ugra

  • Hi Ugra,

    did I get it right that you re-tried flashing both using MSP-FET and the MSPFlasher using command line and it works now?

    I just asked you to try both ways again to make sure the JTAG-Fuse still works and that it's not causing the problem.

    Could you verify that your problem is solved?
    Unfortunately I don't know what caused the initial problem.

    Best regards,
    Britta

**Attention** This is a public forum