2023-12-30 12:00 AM
Hi All,
I would like to use system workbench as I am having problem with STM32 CUBE IDE. In order to use system work bench, I need to have eclipse plug in installed, that is STSW-STM32095. I can see that this is obsolete. Could anyone please help me on this regard ?
Thanks.
2023-12-30 06:46 AM
Download and install from here:
https://www.openstm32.org/HomePage
But why use that when STM32CubeIDE exists and is better in all aspects?
2023-12-30 08:44 AM
Thanks @TDK
The link you've provided opens the download page for System Workbench, however I am looking for STSW-STM32095 plug-in which is required during system workbench to utilize STM32 Cube MX. Do you have that link with you ?
On the other hand, I have already create a thread about "STM32 CUBE IDE does not work on my machine", please see it here. If you could help me resolve that issue as well, it is more than welcome.
Thank you.
2023-12-30 09:01 AM - edited 2023-12-30 09:02 AM
Ah, that makes a bit of sense. I never used the plugin. You can use STM32CubeMX in standalone mode and open the project it creates. Note that SW4STM32 is very similar to STM32CubeIDE, especially the debugging infrastructure, and you may end up running into the same issue.
Looked at the other thread. I have to believe it's a firewall issue. Looks like the debugger is trying to connect and can't. Hardware is fine since you can program in STM32CubeProgrammer. Although exit code -1 shouldn't be happening, so maybe your project wasn't created properly. Maybe make a new project to see if you can get it to build without error.
2023-12-30 09:19 AM
Thanks @TDK
While waiting response from your end, I thought I should run the STM32 CUBE IDE with admin rights, and it worked! I can flash my code!!
I am getting below message when I run my code, does that mean anything to you ?
Open On-Chip Debugger 0.12.0-00024-gc3ff39f8b (2023-06-26-16:51) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : STLINK V2J43M28 (API v2) VID:PID 0483:374B
Info : Target voltage: 4.701055
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : clock speed 4000 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x2ba01477
Info : [STM32F407VGTx.cpu] Cortex-M4 r0p1 processor detected
Info : [STM32F407VGTx.cpu] target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for STM32F407VGTx.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : [STM32F407VGTx.cpu] external reset detected
Info : accepting 'gdb' connection on tcp/3333
[STM32F407VGTx.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000c64 msp: 0x20020000
configuring PLL
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : device id = 0x100f6413
Info : flash size = 1024 KiB
Info : accepting 'gdb' connection on tcp/3333
[STM32F407VGTx.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000c64 msp: 0x20020000
configuring PLL
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
[STM32F407VGTx.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000c6c msp: 0x20020000
Info : dropped 'gdb' connection
[STM32F407VGTx.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x21000000 pc: 0x08000dcc msp: 0x2001ff78
shutdown command invoked
Info : dropped 'gdb' connection