From: Mike M. <mi...@ai...> - 2014-06-17 11:43:12
|
Hi Freddie, thats all worked fine so far. Thanks. Just for the complete record for other people the commands are: git clone git://git.code.sf.net/p/openocd/code openocd-code cd openocd-code/ git fetch http://openocd.zylin.com/openocd refs/changes/36/2136/2 git checkout FETCH_HEAD ./bootstrap ./configure --enable-ftdi make Now, whats the right openocd command line to connect by SWD to an STM32F1 or similar? I see your tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg, but that doesnt set the transport etc up. Cheers. On Tuesday, June 17, 2014 11:54:49 AM Freddie Chopin wrote: > W dniu 2014-06-17 10:12, Mike McCauley pisze: > > On Tuesday, June 17, 2014 08:52:17 AM Freddie Chopin wrote: > >> W dniu 2014-06-17 08:06, Mike McCauley pisze: > >>> Hi, > >>> Has anyone successfully used openocd with a JTAG-lock-pick Tiny 2 with > >>> SWD > >>> with, for example, a STM32F1? > >> > >> There are a couple of success reports, but I guess you should be looking > >> for them on the "devel" list, not here. > > > > I did search and didnt find anything helpful except your patch reports. > > From what I remember Jens Bauer was trying the SWD patches. > > >>> If so, how did you build and configure openocd for that? > >> > >> For now (until this is fully merged) you need to compile OpenOCD with > >> this patch series - http://openocd.zylin.com/#/c/2136/2 > > > > Thanks. > > Your changes are in patch set 2, is that correct. > > Its not clear to me how to get the patched version from git. Can you > > please > > advise the process? > > 1. Go to http://openocd.zylin.com/#/c/2136/2 > 2. In the upper right click on "download" > 3. Click on the "copy to clipboard" button next to "checkout" - > currently "git fetch http://openocd.zylin.com/openocd > refs/changes/36/2136/2 && git checkout FETCH_HEAD" > 4. Execute this command in a git clone of OpenOCD. > > This should pull the whole series, up to the point which is selected in > the "Related changes" window. > > > Also, what is the ./configure command for building? ie what --enable > > options should I use for this device? Looks like maybe its > > --enable-ftdi?? > Exactly - --enable-ftdi is the only one that is needed here, but others > will do no harm. > > Regards, > FCh > > ---------------------------------------------------------------------------- > -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > OpenOCD-user mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openocd-user -- Mike McCauley VK4AMM mi...@ai... Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474 |