2018-01-23 09:21 PM
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!
2018-01-25 12:09 PM
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).
2018-01-25 12:32 PM
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.
2018-01-25 02:31 PM
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.
2018-01-25 02:37 PM
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.
2018-01-25 02:45 PM
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.
2018-01-25 06:46 PM
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)
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 : pinoutconfig2018-01-26 02:26:54,840 [INFO] PluginManage:305 - loadPluginJar : add pinoutconfig2018-01-26 02:26:54,841 [INFO] PluginManage:263 - loadPluginJar : power2018-01-26 02:26:54,970 [INFO] PluginManage:305 - loadPluginJar : add power2018-01-26 02:26:54,970 [INFO] PluginManage:263 - loadPluginJar : updater2018-01-26 02:26:54,981 [INFO] Updater:174 - Updater Version found : 4.24.02018-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.2402018-01-26 02:26:55,168 [INFO] MicroXplorer:344 - Change Database Version : DB.4.0.2402018-01-26 02:26:55,168 [INFO] PluginManage:305 - loadPluginJar : add updater2018-01-26 02:26:55,168 [INFO] PluginManage:263 - loadPluginJar : ipmanager2018-01-26 02:26:55,185 [INFO] PluginManage:305 - loadPluginJar : add ipmanager2018-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 Thread2018-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 tim2018-01-26 02:26:55,330 [INFO] PluginManager:201 - loadIPPluginJar : add i2s2018-01-26 02:26:55,331 [INFO] PluginManager:201 - loadIPPluginJar : add fatfs2018-01-26 02:26:55,335 [INFO] PluginManager:201 - loadIPPluginJar : add gpioAn 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 MCUs2018-01-25 09:04 PM
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...