From: <jia...@by...> - 2018-11-01 12:27:28
|
Thank you Pual, I figured it out myself, by using this command. It seems "reset" command reset all defined target as said in user manual. However, "halt" just halt current target. init targets stm32f217.cpu halt flash write_image erase unlock "mcu1_pb6_slow.hex" targets stm32f302.cpu halt flash write_image erase unlock "mcu2_pb11_slow.hex" reset run -----邮件原件----- 发件人: Paul Fertser [mailto:fer...@gm...] 发送时间: 2018年11月1日 18:33 收件人: jia...@by... 抄送: ope...@li... 主题: Re: [OpenOCD-user] need help for program multiple devices in daisy chain Hello, On Thu, Nov 01, 2018 at 11:56:32AM +0800, jia...@by... wrote: > I think I have set up the TAPs correctly, but the "flash > write_image" always flash the same MCU, it does not switch target. Not sure about the correct solution but have you tried "flash write_bank 0/1" as a workaround? -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |