cancel
Showing results for 
Search instead for 
Did you mean: 

stm32cubemx failed to open ACCESS TO MCU SELECTOR

yl.1
Associate

0693W00000Y8V7jQAF.pngWhen I click ACCESS TO MCU SELECTOR, the console prints :

2023-01-18 14:35:27,011 [INFO] MultiScanPanel:196 - Auto-refresh data requested => check proxy status ongoing
2023-01-18 14:35:27,014 [INFO] FinderPluginLoader:92 - Searching for filters in installed packs
Failed to load native library:sqlite-3.34.0-2c9e6182-4a79-4303-b6d5-9dd5ff21406c-libsqlitejdbc.so. osinfo: Linux/x86_64
2023-01-18 14:35:27,102 [ERROR] MicroXplorer:720 - Failed to load native library:sqlite-3.34.0-2c9e6182-4a79-4303-b6d5-9dd5ff21406c-libsqlitejdbc.so. osinfo: Linux/x86_64
java.lang.UnsatisfiedLinkError: /tmp/sqlite-3.34.0-2c9e6182-4a79-4303-b6d5-9dd5ff21406c-libsqlitejdbc.so: /tmp/sqlite-3.34.0-2c9e6182-4a79-4303-b6d5-9dd5ff21406c-libsqlitejdbc.so: failed to map segment from shared object
com.st.microxplorer.db.DbException: Can't connect to CubeFinder SQLite database (/home/maegami/.stmcufinder/plugins/mcufinder/mcu/cube-finder-db.db): Error opening connection
	at com.st.microxplorer.mcufinder.db.DbUtils.logErrorAndThrowException(DbUtils.java:241)
	at com.st.microxplorer.mcufinder.db.ApiDb.getConnection(ApiDb.java:578)
	at com.st.microxplorer.mcufinder.db.ApiDb.getVersion(ApiDb.java:613)
	at com.st.microxplorer.mcufinder.db.ApiDb.checkCubeFinderDbVersion(ApiDb.java:664)
	at com.st.microxplorer.mcufinder.db.DbMcusSqlite.<init>(DbMcusSqlite.java:159)
	at com.st.microxplorer.mcufinder.db.DbMcus.getDbManager(DbMcus.java:175)
	at com.st.microxplorer.mcufinder.gui.mcuselector.McuMultiScanPanel.getDB(McuMultiScanPanel.java:58)
	at com.st.microxplorer.mcufinder.gui.mcuselector.McuMultiScanPanel.<init>(McuMultiScanPanel.java:107)
	at com.st.microxplorer.mcufinder.gui.selector.MultiSelectorPanel.createMcuSelectorPanel(MultiSelectorPanel.java:201)
	at com.st.microxplorer.mcufinder.gui.selector.MultiSelectorPanel.setSelectedTabIndex(MultiSelectorPanel.java:424)
	at com.st.microxplorer.mcufinder.gui.selector.MultiSelectorDialog.setSelectedTabIndex(MultiSelectorDialog.java:183)
	at com.st.microxplorer.mcufinder.gui.selector.MultiSelectorDialog.<init>(MultiSelectorDialog.java:58)
	at com.st.microxplorer.plugins.filemanager.engine.MainFileManager.userNewConfig(MainFileManager.java:149)
	at com.st.microxplorer.plugins.filemanager.FileManagerView.getSpecificTask(FileManagerView.java:222)
	at com.st.microxplorer.maingui.HomeNewTaskLinePanel.jButtonNewConfigurationMCUActionPerformed(HomeNewTaskLinePanel.java:126)
	at com.st.microxplorer.maingui.HomeNewTaskLinePanel.actionPerformed(HomeNewTaskLinePanel.java:86)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	...

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @yl.1​ 

First let me thank you for posting.

Please check this LINK in order to download the latest version of CubeMX 6.7.0

Could you please re-test with it and check if the issue persists.

I will be waiting for your feedback.

Thx

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Dzor
Associate III

It happens when two monitors are connected and a certain configuration. 

I have 3000x2000 laptop monitor with 200% scale and a second 1920x1080 with 100% scale.  The second monitor is set as main. 

Setting laptop as main fixes the problem temporarily.

I am on Windows.