OpenOCD not working under System Workbench
Windows 10: The toolchain.
STM32CubeMX. For all it does it freezes and cannot tell you why it cannot generate code. STM don’t’ tell you that it offers middle-ware you cannot use. If you assign middle-ware it will not generate code. The middle-ware is required for the system to work properly.
I user SW4STM32. And without middle-ware generates the predicted code.
Plug the board into the PC and it is recognized. To download (flash) the program into the IC, “Run Configurations”.
Main Tab: Application: Debug\”Project”.elf
Project: “Project” Note Browse Project to fill in Application. Who Knew
Debugger Tab: GDB Command: gdb, map to "D:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_2.2.0.201807130628\resources\openocd\scripts\st_board\stm32f4discovery.cfg" for the board
OpenOCD Command: "${openstm32_openocd_path}\openocd.exe"
Error: OpenOCD Script not found (or not support yet): & java.io.IOException.
Map direct to OpenOCD; "D:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.openocd.win32_1.18.0.201807130628\tools\openocd\bin\openocd.exe"
Error: OpenOCD Script not found (or not support yet): & java.io.IOException.
This is believed to be eliminated by upgrade to latest OpenOCD.
Install: NodeJS, Then Git (Bash). Follow with NPM to install XPM to download Xpacks.
Via GIT> $ xpm install --global @gnu-mcu-eclipse/openocd
Installs the latest OpenOCD.
Map to it:
"C:\Users\Jim\AppData\Roaming\xPacks\@gnu-mcu-eclipse\openocd\0.10.0-12.1\.content\bin\openocd.exe"
Error: OpenOCD Script not found (or not support yet): & java.io.IOException.
Same 2 errors and no cure! Where to from here.
Cheers Jim