cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX became a cloud application

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! 

26 REPLIES 26
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).

Posted on January 25, 2018 at 20:32

BTW, Microchip IDE allows you to change several versions of the compiler (and the libraries within compilers) any time you want for your project, allowing to make comparisons and benchmarks or just maintaining an old project. 

Posted on January 25, 2018 at 22:31

Jan, when I ran the new version of Cube for the first time, I did it offline and it disregarded the old database (which is in a hidden folder in linux) of the previous version (not sure, but it might be that it came already with a predefined database, set to replace the old version of the driver), tried to read the components and the boards form their server, and refused to generate the project. Lots of error messages. Deleted the installation and tried again, with a live online connection. Then I had the problems described. 

Posted on January 25, 2018 at 22:37

Also, the new version does not come with the Makefile.tpl template file anymore, so you can't modify it to solve the duplicate files in the Makefile, as a member of this community did (sorry, forgot the name). Of course, you can still fix that in your Makefile by hand.

Posted on January 25, 2018 at 22:45

Don't know if those templates (quite a few) are now hard coded or just read from the server. Or if there is a new location on local PC. 

Posted on January 26, 2018 at 02:46

After I managed to make the Cube believe that the 1.8.0 is the latest version and changed the update checking to ''Manual'' and no refresh at a new start, after a new start I got this message (but the program let me continue with the regeneration of the project)

0690X00000609UxQAI.png

So, it seems that continues to talk to the server no matter what settings you have. And here is a part from the log file:

018-01-26 02:26:54,818 [INFO] PluginManage:305 - loadPluginJar : add thirdparty

2018-01-26 02:26:54,819 [INFO] PluginManage:263 - loadPluginJar : pinoutconfig

2018-01-26 02:26:54,840 [INFO] PluginManage:305 - loadPluginJar : add pinoutconfig

2018-01-26 02:26:54,841 [INFO] PluginManage:263 - loadPluginJar : power

2018-01-26 02:26:54,970 [INFO] PluginManage:305 - loadPluginJar : add power

2018-01-26 02:26:54,970 [INFO] PluginManage:263 - loadPluginJar : updater

2018-01-26 02:26:54,981 [INFO] Updater:174 - Updater Version found : 4.24.0

2018-01-26 02:26:55,167 [INFO] MainUpdater:180 - Updater Check For Update Now.

2018-01-26 02:26:55,167 [INFO] MicroXplorer:324 - Change Default Database Version : DB.4.0.240

2018-01-26 02:26:55,168 [INFO] MicroXplorer:344 - Change Database Version : DB.4.0.240

2018-01-26 02:26:55,168 [INFO] PluginManage:305 - loadPluginJar : add updater

2018-01-26 02:26:55,168 [INFO] PluginManage:263 - loadPluginJar : ipmanager

2018-01-26 02:26:55,185 [INFO] PluginManage:305 - loadPluginJar : add ipmanager

2018-01-26 02:26:55,185 [INFO] PluginManage:236 - PluginManage : ReOrganize retry [7x]

2018-01-26 02:26:55,257 [INFO] CheckServerUpdateThread:120 - End of CheckServer Thread

2018-01-26 02:26:55,287 [INFO] PinOutPanel:995 - setPackage(No Configuration,No Configuration)

2018-01-26 02:26:55,326 [INFO] PluginManager:201 - loadIPPluginJar : add tim

2018-01-26 02:26:55,330 [INFO] PluginManager:201 - loadIPPluginJar : add i2s

2018-01-26 02:26:55,331 [INFO] PluginManager:201 - loadIPPluginJar : add fatfs

2018-01-26 02:26:55,335 [INFO] PluginManager:201 - loadIPPluginJar : add gpio

An interesting part is also this:

2018-01-26 02:27:07,130 [INFO] DbMcusJson:91 - JSON generation date=Thu Dec 07 15:37:51 EET 2017 (1512653871)

2018-01-26 02:27:07,965 [INFO] DbMcus:174 - Found 1171 MCUs (1129 are supported by CubeMX, 1129 are visible in CubeMX)

2018-01-26 02:27:07,966 [INFO] ApiDb:154 - Load user favorites file /home/me/.stm32cubemx/favorites.mcus.txt: 0 item(s)

2018-01-26 02:27:07,967 [INFO] ApiDb:159 - User favorites MCUs=[]

2018-01-26 02:27:07,967 [INFO] DbMcus:185 - Set 0 / 0 favorites MCUs
Posted on January 26, 2018 at 05:04

Nope, pressing 'Migrate' won't force a bigger (does not say a thing about 1.8.1 and won't try to download it - exactly what I wanted, but what I did is not what an user will do, and surely not recommended by ST) version than the one from the repository, which is 1.8.0. So no 'destructive' effect. It remains to be seen how it acts when a new version is on server. If it will announce that to the user,  or the settings about network access are really effective...