SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By ravaz

I'm trying to use openOCD on NUCLEO-H743ZI ... 743zi.html with the following command:
Code: Select all
openocd.exe -f board/st_nucleo_h743zi.cfg
but I get the following error:
Code: Select all
GNU MCU Eclipse 64-bit Open On-Chip Debugger 0.10.0+dev-00352-gaa6c7e9b (2018-11-27-08:21)
Licensed under GNU GPL v2
For bug reports, read
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1800 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
D:/_app/GNU MCU Eclipse/OpenOCD/0.10.0-10-20181127-0819/bin/..//scripts/target/stm32h7x.cfg:102: Error: invalid command name "stm32h7x.dap"
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "D:/_app/GNU MCU Eclipse/OpenOCD/0.10.0-10-20181127-0819/bin/..//scripts/board/st_nucleo_h743zi.cfg", line 8
at file "D:/_app/GNU MCU Eclipse/OpenOCD/0.10.0-10-20181127-0819/bin/..//scripts/target/stm32h7x_dual_bank.cfg", line 2
at file "D:/_app/GNU MCU Eclipse/OpenOCD/0.10.0-10-20181127-0819/bin/..//scripts/target/stm32h7x.cfg", line 102

Any hint on how to fix it?

By borneoa
Hi Ravaz,
you are trying to use a quite old OpenOCD binary with a new configuration script that use a new command.
Your OpenOCD is:
> GNU MCU Eclipse 64-bit Open On-Chip Debugger 0.10.0+dev-00352-gaa6c7e9b (2018-11-27-08:21)
I cannot find this version in the official git of OpenOCD, no idea where it comes from. Nevertheless, the number 00352 means 352 commits after the tag "v0.10.0". I expect most of these commits coming from official OpenOCD, few more from GNU MCU Eclipse.
The new commands needed are introduced at v0.10.0-367-g2231da8ec, that is 367 commits after the tag. Your version does not include it.
Today the master branch is far above, at 585 commits after the tag.
I suggest you to update to a never version of OpenOCD.

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]