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.
I'm trying out the beta version of CCSV5.2 on Ubuntu 11.04. It feels and acts like the windows version except that it doesn't seem to detect my launchpad or my msp-fet430uif. To get the code to load on the chip I ended up flashing the .out file with mspdebug. Is debug in CCS for msp430 chips supposed to be working at this point?
I believe at the moment, only the USB FET is supported. So if you use a USB FET perhaps more information would help us debug.
What do you mean by not detect your FET? What exactly do you see/experience? How did you install the drivers?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Lisa TI:
I created a new project for an msp430f5529. I selected the blink LED example from the new CCS project options. It compiles fine. When I press the debug button I get this popup dialog message:
Error initializing emulator:No USB FET was found
Running the command line 'lsusb' program shows this device I want to use:
Bus 001 Device 005: ID 0451:f430 Texas Instruments, Inc. MSP-FET430UIF JTAG Tool
I didn't load any specific drivers. it seems Ubuntu knows about the device. I did add a udev entry so that I can use the device without being root.However I just tested CCS running as root and I get the same results. It doesn't connect to the FET. Is there a driver I'm supposed to load?
# This file allows access to TI MSP-FET430UIF from non-root acct
I can use mspdebug to interact with this device using: $ mspdebug -l /dev/ttyUSB0 uif "prog simpleled.out" This is how I ended up loading the CCS compiled elf onto the msp430f5529.
I'm running UBuntu 11.04 with the Classic User Interface ( no Unity ).
I have not updated the firmware on my FET to V3 is that required?
In reply to Rick Kimball:
I am not yet very experienced on the linux version myself yet.
Can you please double check the following things
- please do ensure you are using root for all things
- please do use v3 of the dll
- please try a non ELF example
- are you using JTAG ot Spy-Bi-WIre?
I rebooted into Windows-7 and ran CCSV5 using my MSP-FET430UIF device. It prompted me to update the firmware ( which I have been reluctant to do because I wanted to be able to use mspdebug under linux ). I let it install the firmware. ( which it did twice ) I verified I was still able to use the FET to flash and debug code under Windows 7.I then rebooted into Ubuntu and started up CCSV5.2. This time it recognized my FET. However, it still wanted to update the firmware on it. I allowed the linux version of CCSV5.2 to update the firmware hesitantly. It then successfully, programmed and debugged my msp430f5529 device. When I had the V2 version of the firmware on my FET it never prompted me to update the firmware. It wasn't until CCS 5 on windows updated my FET firmware to V3 that the CCS V5.2 on linux recognized my device.
Thanks, I didn't see this post until I finished posting.
I didn't have to run as root.
I did update as explained in my previous post
I used the ELF version without a problem
I'm using Spy-Bi-Wire
The problem seems to have been my not having the latest firmware on my MSP-FET430UIF. Once I updated that it worked.
Thanks for your help.
great, glad to hear it got fixed.
All the best with develpment and the 5.2 test drive.
I have the same problem.
CCS doesn't connect to the "Launchpad", under Linux.
(though it worked under Windows, XP)
Here is the dmesg output:
[19489.496206] usb 2-1: USB disconnect, device number 6
[19493.276133] usb 2-1: new full speed USB device number 7 using uhci_hcd
[19493.489355] cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
[19493.489382] cdc_acm 2-1:1.0: No union descriptor, testing for castrated device
[19493.489484] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
[19503.554141] generic-usb 0003:0451:F432.0008: usb_submit_urb(ctrl) failed
[19503.554196] generic-usb 0003:0451:F432.0008: timeout initializing reports
[19503.554823] generic-usb 0003:0451:F432.0008: hiddev0,hidraw0: USB HID v1.01 Device [Texas Instruments Texas Instruments MSP-FET430UIF] on usb-0000:00:1d.0-1/input1
In reply to Per Blomqvist:
The LaunchPad is not supported on Linux at this time.
If my reply answers your question please click the "This resolved my issue" button
In reply to JohnS:
Okey I noticed, located this wiki -page (Linux Host Support):
(huge installs, guess scores of stuff can go wrong.. will say Ubuntu/Linux become supported?
Or, may this be one option (skip CCS):
(something called "MSPGCC" outthere..
Another option... You can actually use the binary created by the CCS compiler and load it on to your launchpad using mspdebug. However, you do lose the ability to use the built-in debugger in CCS. The CCS compiler creates an ELF output file on Linux which mspdebug can use. If you grab the latest mspdebug from git source and compile it. You can load your code onto a launchpad using a command along these lines:
$ mspdebug rf2500 "prog Debug/yourprojectname.out"
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.