Electronics > Microcontrollers
Is ST Cube IDE a piece of buggy crap?
peter-h:
It could indeed be some low power mode switch on USB (not supposed on a desktop PC but one never knows) but should a debugger affect the running target?
Obviously I can see Cube IDE shutting down a Debug mode (thus losing the ability to set a breakpoint etc) if the USB port goes to sleep, but the target should keep running. So I am suspecting something to do with the Reset signal from the debugger.
abyrvalg:
Disconnect it (RESET) then? It is not so important if your firmware doesn’t remap SWD pins. The core still can be reset by a write to AIRCR reg and usually there is a setting which kind of reset to use.
peter-h:
You mean here?
From the Cube IDE manual https://www.st.com/resource/en/user_manual/um2609-stm32cubeide-user-guide-stmicroelectronics.pdf
Two of those options look like a register write...
rsjsouza:
--- Quote from: peter-h on May 31, 2023, 11:27:36 am ---It could indeed be some low power mode switch on USB (not supposed on a desktop PC but one never knows) but should a debugger affect the running target?
Obviously I can see Cube IDE shutting down a Debug mode (thus losing the ability to set a breakpoint etc) if the USB port goes to sleep, but the target should keep running. So I am suspecting something to do with the Reset signal from the debugger.
--- End quote ---
Once the Debug Probe is shut down from its USB port, there is a chance it will be inadequately powered from the target via a JTAG/SWD line or even via a secondary UART channel (if the Probe is furnished with such capability). This can cause inadvertent/spurious signaling that can disrupt the target (even your hypothesis of inadvertently resetting the target board).
Ario:
Just a comment -->
I use to use cube IDE along with cube mx at my previous work. And noticed that these tools are sometimes especially buggy when updates have been done on both cube IDE AND OR separately by eclipse itself.(STMIDE is basically a "Distro" or flavor of eclipse). So according to me the biggest issue is that there are two different independent developer companies both doing updates that might effect each other.
Realized that it is best to avoid all updates as far as possible, and only updating when it is necessary for the current project. Also in the past I have had problems when I update cube mx but not cube IDE or rather vice versa.
Is anyone else think the same way?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version