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.

  • Resolved

CCS/MSP432P401R: MSP low-power microcontroller forum

Expert 1455 points

Replies: 2

Views: 101

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hi All,

I recently upgraded to CCS9 and after getting my projects setup and compiling, I tried to upgrade CCS9, because there were some updates, including a JLink one.  I have a JLink programmer, but don't usually use it.  The upgrade had some problems, but I went on to try to flash an EXP-MSP432P401R red board.  I got the following error:

Sketch uses 40216 bytes (15%) of program storage space. Maximum is 262144 bytes.
Global variables use 25740 bytes (39%) of dynamic memory, leaving 39796 bytes for local variables. Maximum is 65536 bytes.
DSLite version 8.2.0.1400
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 8.0.27.9)
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
does not exist or your board is not connected

Sketch uses 40216 bytes (15%) of program storage space. Maximum is 262144 bytes.
Global variables use 25740 bytes (39%) of dynamic memory, leaving 39796 bytes for local variables. Maximum is 65536 bytes.
DSLite version 8.2.0.1400
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 8.0.27.9) 
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
 does not exist or your board is not connected

I tried another one, and got the same results.

Finally I tried a brand new board since I had one here, and it has the same error.  I moved my CCS9 install folder and reinstalled it.  After getting it set up, I still get this error. 

Then I tried flashing the board with Energia 21, and got this message from Energia:

Sketch uses 40216 bytes (15%) of program storage space. Maximum is 262144 bytes.
Global variables use 25740 bytes (39%) of dynamic memory, leaving 39796 bytes for local variables. Maximum is 65536 bytes.
DSLite version 8.2.0.1400
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 8.0.27.9) 
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
 does not exist or your board is not connected

Does anyone have any ideas?

Thanks,

Rob

  • Forgetful me....  I forgot to update the udev rules after installing Ubuntu 19.04 the other day.  It works fine now.

  • In reply to Rob Frohne:

    Rob,

    Thanks for posting the fix for the issue!

    Regards,
    Sai

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.