From: Spencer O. <sp...@sp...> - 2012-03-19 16:41:51
|
On 19 March 2012 16:09, Spencer Oliver <sp...@sp...> wrote: > On 16 March 2012 19:10, Spencer Oliver <sp...@sp...> wrote: >> On Mar 16, 2012 6:32 PM, "Freddie Chopin" <fre...@op...> wrote: >>> >>> Hi! >>> >>> I'm using OpenOCD that is about 2 weeks old, and there is a small >>> problem with ST-LINK: >>> >>> > >openocd-x64-0.6.0-dev-120229143915 -f board/stm32f4discovery.cfg >>> > Open On-Chip Debugger 0.6.0-dev-00448-gc59a441 (2012-02-29-17:10) >>> > Licensed under GNU GPL v2 >>> > For bug reports, read >>> > http://openocd.sourceforge.net/doc/doxygen/bugs.html >>> > Warn : must select a transport. >>> > 1 kHz >>> > trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain >>> > Info : clock speed 1 kHz >>> > Info : IDCODE 2ba01477 >>> > Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints >>> >>> I'm talking about the warning which is somewhat premature, as later the >>> transport is selected, everything works fine etc. >>> >>> The warning is generated on this line in stlink-v2.cfg: >>> >>> > interface stlink >>> >>> (that's the first line of this script). >>> >>> Any ideas? >>> >> Its is a bug I have have on my todo list. >> It causes no functional issues. >> > > Seems this warning is outputted for all interfaces that declare more > than one transport, currently stlink and vsllink. > Looking at the code the intention was to stop config error's. > http://openocd.zylin.com/532 |