2022-09-30 10:28 PM - last edited on 2023-07-11 10:34 AM by Kevin HUBER
I was using STM32Cubeprogrammer for long time but suddenly Its main function of browsing and selection file option (OpenFile) stopped working. After multiple time install and uninstall it has the same behavior in a particular PC. I tried older versions & both 32bit-64bit variants but no luck.
2022-10-03 01:07 AM
@Imen DAHMEN
#STM32CubeIDE #STM32CubeProgrammer #STM32MP1
2022-10-03 02:32 AM
Hello @PS.2 ,
Thank you for flagging this for me!
Which CubeProgrammer version is used ?
Is there any change made on your computer (new software install, issue with Anti Virus blocking) ?
Have you try to restart your computer ?
I added my colleague @Houda GHABRI from CubeProgrammer team to help on this topic.
Imen
2022-10-04 02:01 AM
Maybe because you have last open folder pointing to a resource not mapped anymore (e.g. network drive) ? Did you wait enought time (sometimes windows timeout is very very long)
If this is the root cause, don't know where this 'most recent path' could be reset.
Regards.
2022-10-04 01:27 PM
Hi Imen, Hi Patrick,
Thanks for your valuable minutes.
@Imen DAHMEN I'm using latest version which is 2.11.0. No issues with antivirus it worked for sometime & yes I tried restart and reinstalling several time after clearing disk.
@PatrickF, Yeah I've deleted the earlier folder being used as it was no longer required. I waited for long to be responded but no luck.
hahaha, can't reset means I'll be no longer able to use STM32Cubeprogrammer ?
If still you get any clue on solving it please share.
Thanks again to both of you.
Hi @Houda GHABRI
Awaiting your valuable support.
Thanks.
2022-10-05 12:43 AM
meanwhile, you could use cubeprogrammer with command line
2022-10-05 02:07 AM
Hi @PS.2 ,
Can you please tell me more about what you mean by "particular PC", It occurs in a specific PC?
As mentioned by @PatrickF try to use the command line and send us the logfile .
We try to find the root cause because as It is presented everything seems to be OK .
Houda
2022-10-06 01:01 AM
Hi @Houda GHABRI
Yes, Its causing issue in my laptop only while its running well on others :grinning_face: . In command line its working as expected.
2023-12-11 05:17 PM
Hi @PS.2
I realise this is sometime after your initial post but I think I've found a workaround after I was hit by the same bug you experienced.
This bug occurs because STM32CubeProgrammer remembers the last file path it attempted to access and in the event of an error gets locked up and can no longer access files. This can happen either because there was an error with the file you attempted to open, or simply that the path you last accessed with the program no longer exists, like a network drive.
There is a file called config.properties which by default is located in:
<Your User Path>\STMicroelectronics\STM32CubeProgrammer
By deleting the saved values for readFileLastPathWB, readLastOpenFile, and readFileLastPath I was able to restart STM32CubeProgrammer and open files again.