2021-12-07 12:37 AM
I upgraded to v1.8 and realized that my programs cannot be downloaded anymore to my discovery STM32L5 board. The error message says:
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 9]
Download in Progress:
Error: Fail to write buffer in flash
Error: failed to erase memory
Upto that message all other status messages looks fine. I assume it is related to ST-LINK GDB server. Version 6.0.0 because in STM32Cube IDE this was version 5.x.x.
The STM32Programmer is still able to download to the board. If I connect the STM32Programmer right after an unsuccessful download of STM32CubeIDE I can see that parts of the memory get deleted but not programmed correct afterwards (see screenshot attached). The first 8 Bytes are correct. After that only erased memory cells are shown.
Would be great if this can be fixed soon.
Best Regards
Markus
2022-01-20 03:05 AM
I haven't been able to reproduce.
My initial thought is that it could be firewall and/or antivirus related.
Could you try to connect to remote GDB server? Perhaps first through the debug configuration (debugger tab) and if that doesn't work through a command interface?
You can see the command line used by clicking the "Show Command Line" button in the debugger tab.
2022-02-02 10:01 PM
Same problem on our side. 1.7.0 works, 1.8.0 not.
2022-03-08 02:45 AM
Could you try to see if this is working in CubeIDE 1.9.0?
In 1.9.0 (released yesterday) we have:
It would also be interesting to know if the CubeProg_CLI version bundled inside the CubeIDE 1.8.0 installation is able to flash program the L5. It is found here:
C:\ST\STM32CubeIDE_1.8.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.0.100.202110141430\tools\bin\
Please share your findings!
2022-03-08 08:06 AM
Uninstall CubeIDE 1.6.1
Reboot
Install CubeIDE 1.9
Start and build a new project for NUCLEO-F446RE
Start a debug session: OK
Start again a debug session: ST-LINK_gdbserver.exe not found!!!!!!!!!!!!!
ST-LINK_gdbserver.exe disappeared from the folder .../tools/bin
Then:
Uninstall CubeIDE 1.9
Install again
Save the file ST-LINK_gdbserver.exe
Debug session OK
Debug session fail: ST-LINK_gdbserver.exe not found
Then try to restore ST-LINK_gdbserver.exe =>
Invalid permission. Even as administrator I cannot restore it in the folder.
I give up for today...
2022-03-09 07:24 AM
The 1.9 problem was related to Avast antivirus who quarantined silently some files...
With quarantine exceptions, Cube 1.9 works for me.