AnsweredAssumed Answered

STM32CubeProgrammer - can't open file and program MCU after removing folder

Question asked by Bogdan Golab on Apr 9, 2018
Latest reply on Apr 13, 2018 by Bogdan Golab

Summary:

Once you remove a folder you used lately the STM32CubeProgrammer cannot open a file and consequently program the MCU.

 

How to reproduce:

1. Select 'Erasing & Programming' window, open a file (either hex or bin) and program the MCU (I tested RAM programming through UART but ST-Link mode seems to be also affected)

The file 'testCode.bin' was located here:

C:\Users\abg015\Desktop\serilal-proto\test-code\

 

2. Remove/Rename (this is crucial) the folder where the file is located, e.g.

rename the folder:

C:\Users\abg015\Desktop\serilal-proto\test-code\

to:

C:\Users\abg015\Desktop\serilal-proto\test-code2\

 

3. Since then you cannot navigate to any folder using 'Browse' button, The 'Browser' button do es NOT react to mouse clicking. So you cannot open any file, neither program the MCU since then.

 

4. Once you restore the folder (previously removed/renamed) you can open any new file.

 

Outcomes