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.

MSP430 USB Descriptor tool for Linux

Hi, I'm working with the USB descriptor tool for MSP430s running on Linux but I can't get it working. I can install the application just fine. When I try to run the tool it just says unknown error... any help or advice would be appreciated.

Thanks,

Doug

  • Java: "Write Once, Debug Everywhere".

    You could try a different JVM. Maybe on a different OS.
  • Doug Burrell said:

    Hi, I'm working with the USB descriptor tool for MSP430s running on Linux but I can't get it working. I can install the application just fine. When I try to run the tool it just says unknown error... any help or advice would be appreciated.

    You can manually edit config file from TI USB stack, without using descriptor tool.

  • Hi Dough,

    How are you running the tool?  Is it through command line?  Can you post the error here?

    Regards,

    Arthi Bhat

  • Hi Arthi,

    I'm just launching the desktop shortcut. The error I get is "There was an error launching the application". If I try to launch the desktop short cut from the terminal I get this: 

    dburrell@l157:~/Desktop$ ./MSPUSBDescriptorTool-5_00_10_19.desktop
    ./MSPUSBDescriptorTool-5_00_10_19.desktop: line 1: [Desktop: command not found
    ./MSPUSBDescriptorTool-5_00_10_19.desktop: line 5: USB: command not found

    However, I was able to get it going now by just launching the .jar file directly.

    Thanks,
    Doug

  • Great that you have it working!

    Regards,
    Arthi Bhat
  • Hello Arthi,

    I have been struggling with the same issue for weeks now, I just cannot start it. I am running Ubuntu 16.04, the most recent Java (openjdk version "1.8.0_111"), the descriptor tool is installed to my home folder and owned by me, nothing to worry about. But when I try to start it through the console (using the java -jar command) the only thing I get is the creation of the folder /home/[username]/Texas_Instruments/MSP_USB_Descriptor_Tool, containing an empty folder called workspace and a logFile.log with following content:

    Exception in thread "main"
    java.lang.NullPointerException
        at com.ti.msp.descriptortool.Main.copyFileUsingFileStreams(Main.java:191)
        at com.ti.msp.descriptortool.Main.main(Main.java:58)

    I guess that there is something very simple I must have overseen, I just don't get it. I even tried re-installing and running it with sudo, but with no luck.

    Thanks for your help!

    Alex

  • Hi Alex,

    Synching of the .xml files in the <tool_installed_folder>/MSP430_USB_DescriptorTool/configfiles/templates/load folder and your /home/[username]/Texas_Instruments/MSP_Instruments/MSP_USB_Descriptor_Tool folder is somehow off. So you will have to delete the Texas_Instruments folder in your /home/[username]/ directory and re-start the tool. Let me know if this works.

    Regards,
    Arthi
  • Hi Arthi,

    sorry for the late response, just got to try it out now - and it did the job, perfect! Thanks!
    Funny enough, I read about this solution in another thread on this forum before, tried deleting just some files or folders or everything... but apparently never the folder that you suggested, stupid. Happy that it's finally running.
    Now I only have to find a proper way to set up the MSC volume with the right size and formatting... and then start coding everything else ;)

    Best,
    Alex

**Attention** This is a public forum