Re: [Openocd-development] openocd-swd merging

2011-06-16 Thread Laurent Gauch
On Wed, Jun 15, 2011 at 11:06 PM, Rodrigo Rosa rodrigorosa.lg at gmail.com https://lists.berlios.de/mailman/listinfo/openocd-development wrote: / i'm not sure i'm getting this right, i think i know very little about // how this stuff works... // // i had modified ft2232.c // in

Re: [Openocd-development] New development version of OpenOCD available at last!

2011-06-16 Thread Michael Schwingen
Am 06/16/2011 12:56 AM, schrieb Spencer Oliver: On Jun 15, 2011 11:40 PM, Tomek CEDRO tomek.ce...@gmail.com mailto:tomek.ce...@gmail.com wrote: So is there anyone else wanting to release 0.4.1 (or any other) from the current source tree?? There were so many people interested... I am

Re: [Openocd-development] openocd-swd merging

2011-06-16 Thread Tomek CEDRO
Hello Laurent :-) On Thu, Jun 16, 2011 at 7:25 AM, Laurent Gauch laurent.ga...@amontec.com wrote: BAD ! and WHY it is too JTAG-ONLY? ask guys that wrote it, you mentioned helped in this ;-) For me the queue_flush and execute_queue should be the mechanism to be used for ALL transport, JTAG

Re: [Openocd-development] openocd-swd merging

2011-06-16 Thread Tomek CEDRO
One more time - SWD transport and implementation is not yet finished! The sources are available for you to get familiar the direction changes are going, but they may change slightly as the work progress... :-) You know the interface signals invention and the bitband, so you can work on new

Re: [Openocd-development] openocd-swd merging

2011-06-16 Thread Tomek CEDRO
Patches for new features to be integrated into openocd/master are ready in most part. Its working in my trunk but does not yet in openocd master, probably this is the problem with rebasing Oyvind mentioned... work in progres.. the solution will appear as next patch:

Re: [Openocd-development] openocd-swd merging

2011-06-16 Thread Tomek CEDRO
More information on SWD work in general can be found at http://stm32primer2swd.sf.net/ -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ Openocd-development mailing list Openocd-development@lists.berlios.de

Re: [Openocd-development] openocd-swd merging

2011-06-16 Thread Øyvind Harboe
btw. I also have to play this game of everyday life so i cannot sit on this 150% time :-) My goal as a maintainer with your SWD work, is to get it into a form where others can work on it effectively. Unless we can do this, it will be pretty much worthless to the OpenOCD community. This means

Re: [Openocd-development] Openocd release known issues

2011-06-16 Thread Spencer Oliver
On 16 June 2011 05:38, Steve Bennett ste...@workware.net.au wrote: On 16/06/2011, at 7:49 AM, Spencer Oliver wrote: On Jun 15, 2011 10:30 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I think we should stick to distributing source packages only. That's my plan - even that is not

[Openocd-development] [PATCH] adding interface_signal and bitbang functionalities

2011-06-16 Thread Tomek CEDRO
This is the patch pack that should add interface_signal() and bitbang() functionality (binary backend + tcl frontend) to the interface API + example implementation for FT2232 interfaces (layout independent). Patches can be applied on top of the current GIT HEAD. Please verify their functionality

[Openocd-development] [PATCH] transport selection fix

2011-06-16 Thread Tomek CEDRO
This patch fixes transport selection mechanism - if transport is defined it will be selected. Before 'jtag' was always selected no matter what transport in fact was supposed to be used. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

[Openocd-development] [PATCH] minor rename to suggest thread support in future

2011-06-16 Thread Tomek CEDRO
This patch renames main2() in openocd.c into openocd_thread() that is called from within openocd_main(). This minor function change may suggest thread support/organization in future. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info 0007-OPENOCD-Renamed-ambiguous-main2-into-openocd_thread-.patch

Re: [Openocd-development] segfault in ftdi_write_data / libusb

2011-06-16 Thread Xiaofan Chen
On Thu, Jun 16, 2011 at 4:20 PM, Tomek CEDRO tomek.ce...@gmail.com wrote: Did anyone had similar problem? Was anything changed recenlty in the code regarding usb/libusb/libftdi/ft2232? Program received signal SIGSEGV, Segmentation fault. 0x281eaf67 in libusb20_dev_get_speed () from

Re: [Openocd-development] segfault in ftdi_write_data / libusb

2011-06-16 Thread Tomek CEDRO
Yeah, probably I have triggered some but in libusb / freebsd usb stack :-( According to enormous backtrace history this may be one of the race conditions Peter is fighting against...? There is as much information on this: http://pastebin.com/wp3ng0n4 The interesting is that stuff on my fork

Re: [Openocd-development] segfault in ftdi_write_data / libusb

2011-06-16 Thread Xiaofan Chen
On Thu, Jun 16, 2011 at 5:09 PM, Tomek CEDRO tomek.ce...@gmail.com wrote: Yeah, probably I have triggered some but in libusb / freebsd usb stack :-( According to enormous backtrace history this may be one of the race conditions Peter is fighting against...? I do not think so. libusb codes

Re: [Openocd-development] Openocd release known issues

2011-06-16 Thread Steve Bennett
Hmmm. Works for me. Can you send me first few lines of git log in the jimtcl dir and also the output of make distcheck? And also jimtcl/Makefile Cheers, Steve On 16/06/2011, at 6:33 PM, Spencer Oliver s...@spen-soft.co.uk wrote: On 16 June 2011 05:38, Steve Bennett ste...@workware.net.au

Re: [Openocd-development] Openocd release known issues

2011-06-16 Thread Spencer Oliver
On 16 June 2011 13:02, Steve Bennett ste...@workware.net.au wrote: Hmmm. Works for me. Can you send me first few lines of git log in the jimtcl dir and also the output of make distcheck? And also jimtcl/Makefile Cheers, Steve I think there is some confusion again. openocd and jimtcl build

Re: [Openocd-development] Olimex STM32 P107 and H107 board configuration file

2011-06-16 Thread Øyvind Harboe
Merged. Thanks! -- Ø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/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___

Re: [Openocd-development] [PATCH] minor rename to suggest thread support in future

2011-06-16 Thread Øyvind Harboe
Merged. Thanks! -- Ø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/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___

Re: [Openocd-development] segfault in ftdi_write_data / libusb

2011-06-16 Thread Tomek CEDRO
On Thu, Jun 16, 2011 at 9:55 AM, Hans Petter Selasky wrote: On Thursday 16 June 2011 11:09:19 Tomek CEDRO wrote: Hi, Hello Hans! Thank you for fast response! :-) Are you using 8-stable? %uname -a FreeBSD c2. 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011

Re: [Openocd-development] [PATCH] transport selection fix

2011-06-16 Thread Tomek CEDRO
On Thu, Jun 16, 2011 at 5:50 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I take it is just a bugfix? Yes - it changes: retval = allow_transports(CMD_CTX, jtag_interface-transports ? : jtag_only); into: retval = allow_transports(CMD_CTX, jtag_interface-transports ?

Re: [Openocd-development] [PATCH] transport selection fix

2011-06-16 Thread Øyvind Harboe
Merged. -- Ø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/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development

Re: [Openocd-development] [PATCH] transport selection fix

2011-06-16 Thread Andreas Fritiofson
On Thu, Jun 16, 2011 at 8:02 PM, Tomek CEDRO tomek.ce...@gmail.com wrote: On Thu, Jun 16, 2011 at 5:50 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I take it is just a bugfix? Yes - it changes: retval = allow_transports(CMD_CTX, jtag_interface-transports ? : jtag_only); into:

Re: [Openocd-development] Openocd release known issues

2011-06-16 Thread Luca Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Spencer Oliver scrisse: The solution as mentioned is to either get the user to download jim and install in the jimtcl dir of openocd or we tweak jim to work with make dist. I have been making a few tweaks and got it working, but it is a bodge -

Re: [Openocd-development] New development version of OpenOCD available at last!

2011-06-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:05 Wed 15 Jun , Øyvind Harboe wrote: On Wed, Jun 15, 2011 at 5:33 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 23:04 Tue 07 Jun     , Ųyvind Harboe wrote: Nobody has stepped up to do the work of being a release manager. If no-one do it I'll Much

[Openocd-development] RFC Release Cycle

2011-06-16 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi all, I'd like to propose the following release cycle For the people familiar with Linux kernel its basically the same 2 development window: merge window fix window We will get 2 weeks of merge window where any code can be merge in the