|
From: Ron G. <ro...@fl...> - 2015-12-29 20:24:53
|
On Dec 29, 2015, at 11:31 AM, Paul Fertser <fer...@gm...> wrote: > On Tue, Dec 29, 2015 at 11:21:01AM -0800, Ron Garret wrote: >> ron@ubuntu1:~$ /usr/bin/openocd -f stm32f3x.cfg > > This is where it's obviously wrong. You need to source adapter config > before the target config. Or if you have f3 disco, then you can use > the board config as in: "openocd -f board/stm32f3discovery.cfg". > > You seem to be trying to use some out-of-tree config, please do not do > that, use upstream configs (that come with OpenOCD) instead. My ~/interfaces is just a symlink to openocd-0.9.0-rc1/tcl/interface. Is that not the right thing? I should probably give a little bit of context here: I’m not actually a real openocd user (though I do know my way around a unix shell). I’ve hired a contractor to build me a USB dongle, and I’m trying to run his code (which includes the stm32f3x.cfg file that I’m using) according to the instructions he provided me. He did his development on Windows, but I’m allergic to Windows so I’m trying to run his code on Ubuntu. So despite the fact that I’m using openocd, I am fairly clueless about how it works. So, for example, I have no idea what “f3 disco” is (Google is no help here), or what you mean by “upstream configs”. Upstream of what? rg |