- Find
st_scripts
directory for OpenOCD with filemem_helper.tcl
, or other file with scripts, in plugins directory of STM32CubeIDE - Append to file
proc _find_target {apnum} {
foreach t [target names] {
if {[$t cget -ap-num] == $apnum && [$t cget -type] == "mem_ap"} {