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.

CCS/CC3220SF-LAUNCHXL: UNIFLASH 4.1/4.2 GUI displays wrong on Windows 10

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

Tool/software: Code Composer Studio

I am tryng to run Uniflash on Widows 10 (I tried version 4.1 and 4.2).

The interface is not displayng correct, aftrer i click "start image creator" - looks like if one or more css are not applied.

Tried to uninstall, clean every file, reinstall more times.

The only screen that displays correctly is the startuo screen and when I import a .ccxml.

The same tool displays nice on another PC with Windows 7.

My Windows 10 build is 14393.1593 (version 1607), 64 bit Italian.

I attach two screen shots for your reference

  • Damiano,

    What's the path you are installing UniFlash to? You mentioned you are using an Italian version of Windows; maybe the path is affecting loading the necessary CSS files.

    I tried installing UniFlash on a Windows 10 machine (English) on my end, and I was not able to reproduce the rendering problem.

    Thanks,
    Ricky
  • Hi Ricky,

    thank you for your reply

    I maintained the path proposed by the installer, so for version 4.1 it's

    C:\ti\uniflash_4.1

    I have the same setup on Windows 7 on my laptop, but it works.

    Regards


    Damiano

  • Damiano,

    I tried renaming the Image Creator CSS files on my version of UniFlash, and I was able to see the same thing as what you have in your screenshots, so it does look like you are having problems with loading the css files.

    Can you try starting Image Creator standalone (ie; outside of the UniFlash)? You can do this by executing SLImageCreator.exe in the following folder of your UniFlash install:
    \simplelink\gen2\bin\

    This will open in your default browser. Let me know if the styling is correct in this case or not.

    Thanks,
    Ricky
  • Hello Richy,

    The command opens Chrome. I see the same problem.

    Here is my windows cmd screen after running the commad

    C:\ti\uniflash_4.1\simplelink\gen2\bin>SLImageCreator.exe
    Config file load error ([Errno 2] No such file or directory: 'cfg.json'), using defaults
    Program Directory : C:\ti\uniflash_4.1\simplelink\gen2\bin
    Projects Directory: C:\Users\damiano\.SLImageCreator\projects
    Temp Directory    : C:\Users\damiano\.SLImageCreator\temp
    SLImageCreator v 1.0.17.6
    killall: ('taskkill', '/FI', 'PID ne 4328', '/IM', 'SLImageCreator.exe', '/F')

    INFORMAZIONI: nessuna attività in esecuzione con i criteri specificati.
    Validating connection to server
    Validating connection to server
    Server is up
    Server Ports: 6826 6828

     

    If If open Chrome console, then navigate trough uniflash pages some warnings are reported

    Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "127.0.0.1:7594/.../filebrowser-style.css".
    index.htm:9 Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "127.0.0.1:7594/.../magnific-popup.css".

     

    Then if I countinue I get numerous Javascript errors of the type

     

    utils.js:3158 Uncaught TypeError: Cannot read property 'systemFiles' of undefined

     

     

     

     

  • Damiano,

    Thanks for providing the error messages from Chrome. It looks like it is having problems with serving the filebrowser-style.css and magnific-popup.css.

    Can you try opening the index.htm file from \simplelink\gen2\web\ in a text editor, and adding (type="text/css") in the filebrowser-style.css and magnific-popup.css link lines?

    For example:
    <link rel="stylesheet prefetch" type="text/css" href="/css/magnific-popup.css">
    <link rel="stylesheet" type="text/css" href="css/filebrowser-style.css">

    Let me know if this works for you.

    Thanks,
    Ricky
  • Done. This does not fix the problem, but if I double click on the html to open it as a file I do not get the warning about filebrowser-style.css and the screen appears similar t wat it should be (see screenshot).

    May the problem related to the configuration of mimetypes in web server?

  • Finally I was able to fix the problem.

    I report the fix if someone experience the same problem.

    1. In windows run registry editor (Win+R then type regedit)

    2. Navigate to [HKEY_CLASSES_ROOT\.css] (click ".css" folder under HKEY_CLASSES_ROOT

    3. Be sure that "Content Type" is set to "text/css", default is "CSSFile" and "PerceivedType" is "text"

    For some reason I had "Content Type" set to "application/x-css", and this seems to influence the way the local web server serves pages (sends the application/x-css header on stylesheets).