Other Parts Discussed in Thread: UNIFLASH
Tool/software:
After recent updates to CCS12 (12.8.1.00005), uploads of new executables to MSP432 fail. However rebooting the computer to openSUSE Leap 15.4 with CCS11 makes the upload work fine, same computer, same USB cable same MSP432.
The primary OS on this computer is openSUSE Tumbleweed with the current 6.16.7 kernel. CCS12 was installed July 2024 and worked fine. I also kept the openSUSE 15.4 install with the Linux 5.14.21 kernel which resides on a separate hard drive. There was a recent string of updates to CCS12 on Tumbleweed which brought the version to 12.8.1.00005. Following updates, attempting to upload to the MSP over USB fails with the following error shown in the dialog:
Error initializing emulator:
(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 XDS110SupportReadMe.pdf
file there for instructions.
(Emulation package 20.0.0.3178)
So I followed the instructions to flash the latest firmware:
17:28 wizard:.../common/uscif/xds110 # ./xdsdfu -e
USB Device Firmware Upgrade Utility
Copyright (c) 2008-2019 Texas Instruments Incorporated. All rights reserved.
Scanning USB buses for supported XDS110 devices...
<<<< Device 0 >>>>
VID: 0x0451 PID: 0xbef3
Device Name: XDS110 Embed with CMSIS-DAP
Version: 3.0.0.20
Manufacturer: Texas Instruments
Serial Num: M4321005
Mode: Runtime
Configuration: Standard
Found 1 device.
17:28 wizard:.../common/uscif/xds110 # ./xdsdfu -m
USB Device Firmware Upgrade Utility
Copyright (c) 2008-2019 Texas Instruments Incorporated. All rights reserved.
Scanning USB buses for supported XDS110 devices...
<<<< Device 0 >>>>
VID: 0x0451 PID: 0xbef3
Device Name: XDS110 Embed with CMSIS-DAP
Version: 3.0.0.20
Manufacturer: Texas Instruments
Serial Num: M4321005
Mode: Runtime
Configuration: Standard
Switching device into DFU mode.
17:35 wizard:.../common/uscif/xds110 # ./xdsdfu -f firmware_3.0.0.32.bin -r
USB Device Firmware Upgrade Utility
Copyright (c) 2008-2019 Texas Instruments Incorporated. All rights reserved.
Scanning USB buses for supported XDS110 devices...
Downloading firmware_3.0.0.32.bin to device...
That completes fine.
18:48 wizard:.../common/uscif/xds110 # ./xdsdfu -e
USB Device Firmware Upgrade Utility
Copyright (c) 2008-2019 Texas Instruments Incorporated. All rights reserved.
Scanning USB buses for supported XDS110 devices...
<<<< Device 0 >>>>
VID: 0x0451 PID: 0xbef3
Device Name: XDS110 Embed with CMSIS-DAP
Version: 3.0.0.32
Manufacturer: Texas Instruments
Serial Num: M4321005
Mode: Runtime
Configuration: Standard
Found 1 device.
However, attempting to load a new executable from CCS12 -- fails with the same error. So then I reboot the computer back into openSUSE Leap 15.4 with CCS11 to verify uploads continue to work with the new firmware flashed onto the MSP. It works fine and loads new executables without any problem at all.
So somewhere between CCS11 and CCS12 and openSUSE Leap 15.4 and Tumbleweed, something broke the ability for CCS12 to upload to the MSP. I need CCS12 to work as I can't reboot every time I need to upload a new program to the MSP. I am happy to help troubleshoot and can provide anything that you may need to see to diagnose the issue. I'll just need your help in identifying what that is (logs, driver files, etc...)
I have CCS12 installed to /opt/ti:
$ ls -al /opt/ti
total 20
drwxr-xr-x 5 david david 4096 Jul 18 2024 .
dr-xr-xr-x 10 root root 4096 Nov 24 2024 ..
drwxr-xr-x 4 david david 4096 Jul 28 15:43 ccs1271
drwxr-xr-x 8 david david 4096 Jul 18 2024 simplelink_msp432p4_sdk_3_40_01_02
drwxr-xr-x 10 david david 4096 Jul 18 2024 xdctools_3_60_02_34_core
Uploading used to work from CCS12 on this box when CCS12 was installed a little over a year ago. I don't use CCS all of the time and may go several months between uses, so I'm not sure when exactly whatever changed broke the uploads, but I do know that when I started CCS12 a few weeks ago, there were many updates downloaded and applied and uploads have not worked since then. It has to be something simple, but what?
Let me know what else I can provide and I'm happy to do it.