Skip to main content
Vasile Guta_Ciucur
Senior
January 24, 2018
Question

CubeMX became a cloud application

  • January 24, 2018
  • 26 replies
  • 3891 views
Posted on January 24, 2018 at 06:21

So, the 4.24 version won't generate anything if it does not have an internet connection. Even if there is firmware in repository...

Now I'm loving the earlier version with a passion! 

    This topic has been closed for replies.

    26 replies

    parsec
    Associate III
    January 24, 2018
    Posted on January 24, 2018 at 08:40

    I tried offline mode and it does throw a bunch of 'HTTP server not found' errors when starting a new project, referencing the following files:

    mcusDocs.json

    mcusFeaturesAndDescription.json

    mcusAds.json

    boardsDocs.json

    boards.json

    After clicking Ok on all dialogs it appears to work fine for me, however.

    Vasile Guta_Ciucur
    Senior
    January 24, 2018
    Posted on January 24, 2018 at 12:35

    I made it work as I wanted, eventually. But the feeling that there are options that were not supposed to be available for everyone, is still there - the Makefile project generation is still rendered unusable and measures are taken to remain that way in the foreseeable future (hiding the Makefile.tpl).

    Bogdan Golab
    Lead
    January 24, 2018
    Posted on January 24, 2018 at 13:51

    Version 4.23.0 tried to update its MCU database (I guess) when you started new project only.

    waclawek.jan
    Super User
    January 24, 2018
    Posted on January 24, 2018 at 21:23

    So, the 4.24 version won't generate anything if it does not have an internet connection. Even if there is firmware in repository...

    To exclude some unfortunate coincidence at Vasile's place, can somebody else please confirm this behaviour?

    ST's comment would be nice, too.

    JW

    Bogdan Golab
    Lead
    January 24, 2018
    Posted on January 24, 2018 at 21:48

    Disabled the WIFI (the only internet connection) and generated simple project for the device I have never used.

    Seems to work fine.

    waclawek.jan
    Super User
    January 25, 2018
    Posted on January 25, 2018 at 10:18

    Disabled the WIFI (the only internet connection) and generated simple project for the device I have never used.

    *Before* starting up Cube?

    There may be other subtleties involved, e.g. that it's enough to have internet connection at one point between installation and usage.

    As I've said it would be nice if ST would comment - although nowadays it's gradually harder to find developers who understand what 'offline' is.

    JW

    Sirma Siang
    ST Employee
    January 25, 2018
    Posted on January 25, 2018 at 14:14

    Hello

    Guta_Ciucur.Vasile

    ,

    First I would like to thank you for your comment.

    I confirm you that STM32CubeMX is still, and will stay, a standalone application.

    I did tests without any network connection and my projects were generated correctly.

    Saying so, it is true that you need an internet connection to upload either an old firmware, or an old database.

    But if, using new version, you are migrating the project you want to open, it should goes until the code generation.

    To understand a bit more the problem symptoms you are facing ?

    Could you please share your ioc file ?

    Could you please describe a bit more your environment (which Os, java version, etc ....) ?

    Great thanks in advance.

    Kind regards

    Sirma

    Vasile Guta_Ciucur
    Senior
    January 25, 2018
    Posted on January 25, 2018 at 20:06

    I installed the CubeMX as a separate (separate folder - I had the previous version already installed), standalone application. 

    I started the application trying to keep the version 1.8.0 of L1 (already installed) untouched but the program refused to generate the code saying that the 1.8.1 version of the driver must be downloaded - I unplugged the network cable to avoid Internet connection. But started to show in cascade several dialog windows with complains. So I proceeded as advised and allowed the download of 1.8.1. Unfortunately, that started with a redownload and a rewrite of 1.8.0 version (I saw the configuration files of CubeMX and how the 1.8.0 was marked) - so I got upset. It should have created a new folder for 1.8.1 version only.

    0690X00000609L8QAI.png0690X00000609L9QAI.png

    I had a backup of 1.8.0 and installed it using the ''From Local...'' button, I uninstalled the 1.8.1 version but it still complained as the 1.8.1 version is marked as new in the database. There is no option in the graphical interface to set the default working version driver or I don't know it. I only wanted to check the Cube functionality regarding reported bugs and not a new version of the driver (when I will need it, I know from where to get it). 

    But I solved the problem so, no more complains from my part

    0690X00000609FRQAY.png
    Vasile Guta_Ciucur
    Senior
    January 25, 2018
    Posted on January 25, 2018 at 20:09

    The impossibility to edit the post ...

    Errata:

    I tried to create a project after I deleted the 1.8.1 but having the 1.8.0 installed and I got the first two messages (first two images from the previous post).