Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-12 Thread David Brownell
On Monday 08 March 2010, Michal Demin wrote: > New patch attached. (also available here I just merged that. Let's make sure we get some user/test reports on this before we ship... :) ___ Openocd-development mailing list Openocd-development@lists.berli

Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-08 Thread David Brownell
On Sunday 07 March 2010, Øyvind Harboe wrote: > What's checkpatch? > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=scripts/checkpatch.pl;h=a4d74344d805610a67e0e7e0bbf1674875f555a7;hb=HEAD ___ Openocd-development mailing list

Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-08 Thread Michal Demin
On Mon, Mar 8, 2010 at 3:54 AM, David Brownell wrote: > On Sunday 07 March 2010, Michal Demin wrote: >> Copy of this patch can by >> downloaded here: http://robot.mysteria.cz/buspirate.patch > > Better ... I can apply that one. > > I attach a version with minor fixes, mostly from running "checkpat

Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-08 Thread Øyvind Harboe
On Mon, Mar 8, 2010 at 3:54 AM, David Brownell wrote: > On Sunday 07 March 2010, Michal Demin wrote: >> Copy of this patch can by >> downloaded here: http://robot.mysteria.cz/buspirate.patch > > Better ... I can apply that one. > > I attach a version with minor fixes, mostly from running "checkpat

Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-07 Thread David Brownell
On Sunday 07 March 2010, Michal Demin wrote: > Copy of this patch can by > downloaded here: http://robot.mysteria.cz/buspirate.patch Better ... I can apply that one. I attach a version with minor fixes, mostly from running "checkpatch" so it's whitespace and linelength stuff. But also added a NEW

[Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-07 Thread Michal Demin
Adds support for buspirate jtag interface. Copy of this patch can by downloaded here: http://robot.mysteria.cz/buspirate.patch diff --git a/configure.in b/configure.in index 3b0a06d..d93b21a 100644 --- a/configure.in +++ b/configure.in @@ -474,6 +474,10 @@ AC_ARG_ENABLE(arm-jtag-ew, AS_HELP_STR

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Øyvind Harboe
> OpenOCD for PIC32 should be able to help Microchip to > get into more users' hands. No evidence of Microchip thinking along those lines :-) -- Øyvind Harboe Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118 http://www.zylin.com/events_embeddedworld.html US toll free 1-8

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Xiaofan Chen
On Mon, Mar 1, 2010 at 5:17 PM, Øyvind Harboe wrote: >> But the official PIC32 GCC compiler comes with proprietary >> C libraries from Microchip (together with MIPS). > > I tried to build some test code and immediately ran into this, > which quelled my enthusiasm for doing any further OpenOCD > wo

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Øyvind Harboe
> But the official PIC32 GCC compiler comes with proprietory > C libraries from Microchip (together with MIPS). I tried to build some test code and immediately ran into this, which quelled my enthusiasm for doing any further OpenOCD work. > Personally I think Microchip is wrong to choose the MIPS

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread David Brownell
On Monday 01 March 2010, Ian wrote: > Are you familiar with the ST and TI licensing? Thanks for the > suggestion. I'm going to look into it a little more, I'm about to start > a few ARM projects. I don't know about ST's licensing for its CM3 software. TI inherited some rather antagonistic licen

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Xiaofan Chen
On Mon, Mar 1, 2010 at 4:21 PM, Ian wrote: > Are you familiar with the ST and TI licensing? Thanks for the suggestion. > I'm going to look into it a little more, I'm about to start a few ARM > projects. I will think they are similar to what Microchip has. Anyway, you can look at them. > I've see

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread David Brownell
On Sunday 28 February 2010, Ian wrote: > The best reference page for the Bus Pirate is probably the manual: > http://dangerousprototypes.com/bus-pirate-manual/ If so, the next iteration of this patch should use it. :) > Microchip's 16bit compilers are gcc-based, but you're correct that > vanil

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Ian
Are you familiar with the ST and TI licensing? Thanks for the suggestion. I'm going to look into it a little more, I'm about to start a few ARM projects. I've seen the other copies of the Microchip stack too. I've even seen lots of copies 'relicensed' to GPL, but the license isn't OSI compati

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Xiaofan Chen
On Mon, Mar 1, 2010 at 4:10 PM, Øyvind Harboe wrote: > I tinkered a bit with Microchip 32 bit MIPS CPUs, but although Microchip > rely on GCC, I didn't get a sense of enthusiasm for developers going > off and using anything but Microchip tools... That is right, especially when PIC32 support in Op

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Øyvind Harboe
I tinkered a bit with Microchip 32 bit MIPS CPUs, but although Microchip rely on GCC, I didn't get a sense of enthusiasm for developers going off and using anything but Microchip tools... They could (gasp!) write code that could build & run on *any* CPU next, especially if they use some minimall O

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-03-01 Thread Xiaofan Chen
On Mon, Mar 1, 2010 at 3:56 PM, Ian wrote: > How's the USB driver situation with the M3? Should be quite good. ST and TI/Luminary both provides USB sample codes. > There are plenty of Microchip > USB chips, probably an even cheaper solution than an M3, but there's > currently no open source USB

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-02-28 Thread Xiaofan Chen
On Mon, Mar 1, 2010 at 1:33 PM, David Brownell wrote: > That said ... I think I'd be interested in something like > one of those, but powered by some USB-equipped Cortex-M3. > (Or maybe even some kind of AVR).  Compared to the current > FT232 + PIC24 combo, the chip costs would be lower, and the

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-02-28 Thread Ian
The best reference page for the Bus Pirate is probably the manual: http://dangerousprototypes.com/bus-pirate-manual/ Microchip's 16bit compilers are gcc-based, but you're correct that vanilla gcc won't compile for the PIC. I went with the 24FJ chip because it has a peripheral pin select cross-b

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-02-28 Thread David Brownell
On Saturday 27 February 2010, Michal Demin wrote: > +++ b/tcl/interface/buspirate.cfg > @@ -0,0 +1,16 @@ > +# > +# Buspirate with OpenOCD support > +# > +# http://dangerousprototypes.com/category/bus-pirate/ > +# > + Ignoring the code, for the moment ... that blog is the only reference you give t

Re: [Openocd-development] [PATCH] Add support for Buspirate interface

2010-02-27 Thread David Brownell
On Thursday 25 February 2010, Michal Demin wrote: > Adds initial support for Buspirate as Jtag interface I hopee we should only look at the second pach you posted... ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists

[Openocd-development] [PATCH] Add support for Buspirate interface

2010-02-27 Thread Michal Demin
Adds initial support for Buspirate as Jtag interface --- configure.in | 11 + doc/openocd.texi |3 + src/jtag/drivers/Makefile.am |3 + src/jtag/drivers/buspirate.c | 981 ++ src/jtag/interfaces.c|6 + tcl/