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.

Linux/CC3220SF-LAUNCHXL: Unable To Start Image Creator

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: UNIFLASH, , CC3100, CC3200

Tool/software: Linux

Hi. I'm on Ubuntu 18.04. I successfully installed UniFlash 4.4.0.2009. I connected my CC3220SF-LAUNCHXL board and was able to successfully detect it using UniFlash. If I click the "Start" button beneath the serial number of my device, the spinner pops up and nothing happens. Alternately, I tried manually selecting my device in the "New Configuration" section of the UI. I selected "CC3220SF-LAUNCHXL" as my device (also tried with CC31XX/CC32XX with the same outcome). "Serial(UART) Interface" is automatically selected as the connection. Clicking on "Start Image Creator" has the same outcome as just clicking the "Start" button. A spinner comes up and nothing happens.

One thing I notices that is strange is that when I select "CC3220SF-LAUNCHXL" or "CC31XX/CC32XX" as my device, a message pops up that says "Note: CC3100/CC3200 is not supported by Image Creator". I'm not sure why this is coming up, since I'm using a different chip. Also, the CC3220 is on the list of supported devices for this version of UniFlash. Going to "About" and then looking at the components list shows "cc3220_device_support".

Does anyone know what might be going on or how to diagnose this issue?

Thanks in advance,
Eric

  • Hi Eric,

    The warning about the CC3100/CC3200 not being supported is due to how those devices are only supported in Uniflash V3, and not in the latest Uniflash V4. If you are using a CC3220, then using the latest Uniflash version is correct.
    I have gotten Uniflash working with Ubuntu 16.04.5 LTS recently, so I wonder if there is something with the newer Ubuntu versions that conflicts with Uniflash.

    Let me loop in the software tools team who will be better able to help you debug your issue with Uniflash.

    Regards,
    Michael
  • Hi Eric,

    According to our tools team Python 2.7 might need to be installed separately. It is a dependency for ImageCreator, but it isn't provided by default with newer Linux distributions. Try installing that, reinstalling Uniflash, and then trying again.

    Regards,
    Michael
  • Hi Michael-

    Thanks a lot for your help with this. Unfortunately, Python 2.7 was already installed on my machine. Specifically, I have Python 2.7.15rc1 installed. It is mapped to both the commands `python` and `python2`, so it's the system Python.

    Maybe is there a way to invoke it from the command-line in a way that would give us some more diagnostic output?

    Cheers,
    Eric

  • Hi Eric,

    Try running ImageCreator standalone from the terminal.
    Find your Uniflash install folder and then to to simplelink/imagecreator/bin/
    The file name is SLImageCreator.

    If all permissions are ok, you should be able to execute this file, and the GUI will be the default browser you use on your system.
    If this doesn't work please provide the terminal output you see.

    Regards,
    Michael
  • Hi Michael-

    Ah, I feel like we are getting somewhere. I tried running SLImageCreator from the command line and get an error back immediately. Here it is:

    Traceback (most recent call last):
    File "<string>", line 31, in <module>
    File "/home/user/Downloads/sl_image_creator/venv_ic/lib/python2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 363, in load_module
    File "/usr/lib/python2.7/socket.py", line 68, in <module>
    from _ssl import \
    ImportError: cannot import name RAND_egd
    SLImageCreator returned -1

    Does that help?

    Cheers,
    Eric

  • Hi Eric,

    The tools team has identified this as a known bug. While a release supporting Ubuntu 18.04 will not be out until December due to the cadence of our Uniflash releases, there is a patch file that you can try attached to this post here:
    e2e.ti.com/.../2717771

    Regards,
    Michael