标签: microcontroller openocd
我有一个由5个微控制器组成的JTAG链,每个微控制器都有自己的ELF图像。我知道我会使用flash write_image来编写ELF,但我似乎无法弄清楚将它写入哪个目标/闪存库。有没有办法为要写入的图像选择目标(或者我走错了路径)?
flash write_image
答案 0 :(得分:3)
OpenOCD有一个active target,您可以使用targets [name] command进行选择。容易错过这一个,因为它显示没有name参数的目标。
active target
targets [name]
name