Re: [Openocd-development] bitbanging ft2232 dongle port from TCL is TOO DANGEROUS : PLEASE COMMENT

2011-06-23 Thread Laurent Gauch
The best is to standardize at a lower level ... and to forget the idea to have the possibility to bitbang from the TCL of the openocd. >/ />/That's as for the SWD, we have to standardize some function call in the ft2232, and avoiding bitbang access from higher-level. />/ />/That's not simple to

[Openocd-development] Upgrade to Jim Tcl 0.71

2011-06-23 Thread Øyvind Harboe
FYI, I'll be upgrading to latest Jim Tcl rsn. -- Forwarded message -- From: Steve Bennett Date: Fri, Jun 24, 2011 at 6:04 AM Subject: [Jim-devel] ANNOUNCE: Jim Tcl 0.71 Released To: jim-de...@lists.berlios.de ANNOUNCE: Jim Tcl version 0.71 == Jim Tc

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Steve Bennett
On 24/06/2011, at 2:04 AM, Michael Schwingen wrote: > On 23.06.2011 14:39, Laurent Gauch wrote: >>> />>/ I don't see how. >>> />/ />/ I haven't followed this(big discussions), but I've seen on the >>> list >>> />/ in the past that casting is frowned upon and using these >>> />/ macros is cheered..

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Michael Schwingen
On 23.06.2011 14:39, Laurent Gauch wrote: />>/ I don't see how. />/ />/ I haven't followed this(big discussions), but I've seen on the list />/ in the past that casting is frowned upon and using these />/ macros is cheered... Anyway... I'm happy to follow the path />/ of using these macros, I cer

Re: [Openocd-development] bitbanging ft2232 dongle port from TCL is TOO DANGEROUS : PLEASE COMMENT

2011-06-23 Thread Phil Fong
  The best is to standardize at a lower level ... and to forget the idea to have the possibility to bitbang from the TCL of the openocd. > >That's as for the SWD, we have to standardize some function call in the >ft2232, and avoiding bitbang access from higher-level. > >That's not simple to dev

Re: [Openocd-development] bitbanging ft2232 dongle port from TCL is TOO DANGEROUS : PLEASE COMMENT

2011-06-23 Thread Laurent Gauch
Simple and true :-) Each interface has its own config file anyway, so this file can contain also signal definition for that interface. If interface has no signals defined, no signals will be defined, so there is no worry. Here we have to select between Simple and Safe ! We know that a large p

[Openocd-development] OpenOCD maintainers

2011-06-23 Thread Øyvind Harboe
I would like to see more maintainers for OpenOCD. Anyone out there? Please email me and we can talk. -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/ ___ Op

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Sergey Lapin
On Thu, Jun 23, 2011 at 4:39 PM, Laurent Gauch wrote: >> >/ On Thu, Jun 23, 2011 at 1:03 PM, Steve Bennett > > workware.net.au >> > > wrote: >> />>/ On 23/06/2011, at 8:59 PM, Øyvind Harboe wrote: >> />>/ />>>/ I don't think this is su

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Laurent Gauch
>/ On Thu, Jun 23, 2011 at 1:03 PM, Steve Bennett https://lists.berlios.de/mailman/listinfo/openocd-development>> wrote: />>/ On 23/06/2011, at 8:59 PM, Øyvind Harboe wrote: />>/ />>>/ I don't think this is sufficient, as it will put up warnings on some />>>/ other platforms unless you use the m

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Øyvind Harboe
> I guess I'm not quite sure what you want. > Feel free to apply a modified patch if you want, > as long as it removes the warnings. I think the correct thing to apply would be a patch that uses the PRIx32 macros(or whichever flavor is correct in this case), as the patch stands, I don't think it m

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Steve Bennett
On 23/06/2011, at 9:21 PM, Øyvind Harboe wrote: > On Thu, Jun 23, 2011 at 1:03 PM, Steve Bennett wrote: >> On 23/06/2011, at 8:59 PM, Øyvind Harboe wrote: >> >>> I don't think this is sufficient, as it will put up warnings on some >>> other platforms unless you use the macros that expand to the

Re: [Openocd-development] [doc] MIPS EJTAG Communication Demystified

2011-06-23 Thread Drasko DRASKOVIC
On Thu, Jun 23, 2011 at 12:46 PM, Øyvind Harboe wrote: > On Thu, Jun 23, 2011 at 12:21 PM, Drasko DRASKOVIC > wrote: >> On Thu, Apr 14, 2011 at 4:02 PM, Øyvind Harboe >> wrote: >>> On Thu, Apr 14, 2011 at 3:53 PM, Tomek CEDRO wrote: On Thu, Apr 14, 2011 at 11:52 AM, Øyvind Harboe w

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Øyvind Harboe
On Thu, Jun 23, 2011 at 1:03 PM, Steve Bennett wrote: > On 23/06/2011, at 8:59 PM, Øyvind Harboe wrote: > >> I don't think this is sufficient, as it will put up warnings on some >> other platforms unless you use the macros that expand to the >> correct formatting string. >> >> See C99 section: >>

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Steve Bennett
On 23/06/2011, at 8:59 PM, Øyvind Harboe wrote: > I don't think this is sufficient, as it will put up warnings on some > other platforms unless you use the macros that expand to the > correct formatting string. > > See C99 section: > > http://en.wikipedia.org/wiki/Printf Can you provide an exam

Re: [Openocd-development] [PATCH 3/3] ft2232: Add casts to avoid warnings

2011-06-23 Thread Øyvind Harboe
I don't think this is sufficient, as it will put up warnings on some other platforms unless you use the macros that expand to the correct formatting string. See C99 section: http://en.wikipedia.org/wiki/Printf -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-

Re: [Openocd-development] [doc] MIPS EJTAG Communication Demystified

2011-06-23 Thread Øyvind Harboe
On Thu, Jun 23, 2011 at 12:21 PM, Drasko DRASKOVIC wrote: > On Thu, Apr 14, 2011 at 4:02 PM, Øyvind Harboe > wrote: >> On Thu, Apr 14, 2011 at 3:53 PM, Tomek CEDRO wrote: >>> On Thu, Apr 14, 2011 at 11:52 AM, Øyvind Harboe >>> wrote: If you look at the OpenOCD documentation, you'll find

Re: [Openocd-development] [doc] MIPS EJTAG Communication Demystified

2011-06-23 Thread Drasko DRASKOVIC
On Thu, Apr 14, 2011 at 4:02 PM, Øyvind Harboe wrote: > On Thu, Apr 14, 2011 at 3:53 PM, Tomek CEDRO wrote: >> On Thu, Apr 14, 2011 at 11:52 AM, Øyvind Harboe >> wrote: >>> If you look at the OpenOCD documentation, you'll find that Zach Welch >>> did write up development documentation and that

Re: [Openocd-development] [PATCH 2/3] ft2232: Failure to get latency should not be fatal

2011-06-23 Thread Laurent Gauch
Steve Bennett wrote: On 21/06/2011, at 5:22 PM, Steve Bennett wrote: On 21/06/2011, at 5:18 PM, Laurent Gauch wrote: Steve Bennett wrote: On 21/06/2011, at 5:01 PM, Xiaofan Chen wrote: On Tue, Jun 21, 2011 at 2:55 PM, Xiaofan Chen wrote: But are you s