I’m getting this same error:
Runtime error, file “/usr/local/share/openocd/httpd/flashinfo.tcl”, line 145:
invalid command name “ocd_flash_banks”
In procedure ‘’ called at file “httpd.c”, line 292
With version 4.0 and from git 5.0 on different boards… I think the issue is ocd_flash_banks is null…
This is done via accessing the web pages…