Jump to content
43oh

Unable to flash MSP432 Launchpad from Energia 18


Recommended Posts

Running my first tests on my new MSP432 Launchpad. However I'm getting this error when trying to flash the board from Energia 18 under Ubuntu 16.04:

Sketch uses 23,848 bytes (9%) of program storage space. Maximum is 262,144 bytes.
/home/daniel/applications/energia-1.6.10E18/hardware/tools/DSLite/DebugServer/bin/DSLite load -c /home/daniel/applications/energia-1.6.10E18/hardware/tools/DSLite/MSP_EXP432P401R.ccxml -f /tmp/build121c3caa5b27c6be2f7efa34131b78ee.tmp/Blink.ino.elf 
Failed: Operation was aborted
DSLite version 6.2.1.1595
Configuring Debugger (may take a few minutes on first launch)...
	Initializing Register Database...
	Initializing: CS_DAP_0
	Executing Startup Scripts: CS_DAP_0
	Initializing: CORTEX_M4_0
	Executing Startup Scripts: CORTEX_M4_0
Connecting...
fatal: CS_DAP_0: Error connecting to the target: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.222.0) 
fatal: CS_DAP_0: Error connecting to the target: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.222.0) 

It's like a driver-related problem but most of the help found in the Internet is related to Windows installations. I've followed the instructions found here for Linux installs. 

 

On the other hand, dmesg shows the USB interface being successfully detected:

[16999.401946] usb 1-2: new full-speed USB device number 13 using xhci_hcd
[16999.531131] usb 1-2: New USB device found, idVendor=0451, idProduct=bef3
[16999.531134] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16999.531136] usb 1-2: Product: XDS110 (02.02.05.01) with CMSIS-DAP
[16999.531138] usb 1-2: Manufacturer: Texas Instruments
[16999.531139] usb 1-2: SerialNumber: M4321005
[16999.531685] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[16999.532350] cdc_acm 1-2:1.3: ttyACM1: USB ACM device
[16999.533201] hid-generic 0003:0451:BEF3.0007: hiddev0,hidraw1: USB HID v1.11 Device [Texas Instruments XDS110 (02.02.05.01) with CMSIS-DAP] on usb-0000:00:14.0-2/input5

Thanks in advance for your help.

 

 

Link to post
Share on other sites

I have the exact same problem, running Ubuntu 16.04 and can't program the MSP432 Launchpad.  It will program the board when I run energia as root though.  I can program regular arduino boards with the arduino ide as a regular user.  My machine has the regular user as a member of the dialout group.  I don't know the solution except to say that you can run as sudo and have the programmer work.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...