Problems with Workbench in Ubuntu 16.04
Hi.
I’m trying to use SystemWorkbench with STM32F407G-Discovery1 board in Ubuntu. I use “SWT_GTK3=0 ./eclipse ” for eclipse startup.
1. I’ve exported freertos project from STM32Cube and imported the project per instuctions in the http://www.openstm32.org/Importing+a+STCubeMX+generated+project. I can build it and debugger (sometimes) starts and reports about the available brakepoints in the termina. However the debug view doesn’t load properly nor it attaches properly to HW. The HW itself blinks the led fast green and red.
Also I can see barely “eclipse error reporting” message half appearing (mostly transparent), but cannot really see what’s the error. Also often the menus do not appear (like pressing the right mouse button over project).
2. The “run” doesn’t flash the HW and just tries running the .elf image as local application.
3. I’ve also tried generating the empty example project, however the wizard always freezes at some point (last 2 times in scanning for firmware).
terminal output:
OpenOCD launch command (run in /home/matti/Tools/SystemWorkbench/plugins/fr.ac6.mcu.debug_1.11.2.201612060912/resources/openocd/scripts/st_board):
/home/matti/Tools/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.linux64_1.12.0.201611241417/tools/openocd/bin/openocd -f stm32f407g_disc1.cfg -s /home/matti/Tools/SystemWorkbench/plugins/fr.ac6.mcu.debug_1.11.2.201612060912/resources/openocd/scripts/st_board -s /home/matti/Tools/SystemWorkbench/plugins/fr.ac6.mcu.debug_1.11.2.201612060912/resources/openocd/scripts -c gdb_port 3333
Debugger console:
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “host=i686-linux-gnu target=arm-none-eabi”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type “help”.
Type “apropos word” to search for commands related to “word”.
Warning: the current language does not match this frame.
Temporary breakpoint 2, main () at ../Src/main.c:82
82 {
No breakpoint number 2.
Program received signal SIGINT, Interrupt.
HAL_GetTick () at ../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c:330