Re: [Openocd-development] Command-line paths problem in Windows

2011-10-20 Thread Andrew Leech
On 21/10/2011 3:04 AM, Freddie Chopin wrote: 1. In 0.5.0 you could use slash or backslash (which is more "correct" in Windows) - no difference. Now only slash works, backslash is ommited and replaced with... nothing... 2. When running OpenOCD as External Tool from Eclipse I always left "Working

Re: [Openocd-development] Fwd: ft2232_transfer why bit-by-bit?

2011-09-26 Thread Andrew Leech
On 27/09/2011 7:37 AM, Akos Vandra wrote: -- Forwarded message -- From: Akos Vandra Date: 26 September 2011 23:36 Subject: Re: [Openocd-development] ft2232_transfer why bit-by-bit? To: Laurent Gauch Hi! Sorry, it seems like I wanted to do too much too fast. Turns out I don't ha

Re: [Openocd-development] Halt times out on a LPC3131 board during reset

2011-08-28 Thread Andrew Leech
mon sleep 100 mon reg pc 0x11029000 mon reg cpsr 0x00d7 continue All the extra setting of pc and arm core mode may be more than required in places, but this had given me a perfectly reliable connection sequence in eclipse. Earlier with less/

Re: [Openocd-development] Supported FTDI SWD layouts

2011-07-14 Thread Andrew Leech
On 14/07/2011 10:43 PM, Xiaofan Chen wrote: On Thu, Jul 14, 2011 at 8:33 PM, Uwe Bonnes wrote: Hello, are there any other published FTDI->SWD hardware setup beside KTLINL http://sourceforge.net/apps/mediawiki/stm32primer2swd/index.php?title=File:Ktlink-buffers.png that support SWD and are sup

Re: [Openocd-development] OpenOCD 0.5.0-rc2 release

2011-07-12 Thread Andrew Leech
On 13/07/2011 11:48 AM, Peter Stuge wrote: Andrew Leech wrote: Again just a release tarball issue, but the tarball from above doesn't work properly, it needs bootstrap run to get jimtcl etc In particular for a release it's really really important that the two separate packages (O

Re: [Openocd-development] OpenOCD 0.5.0-rc2 release

2011-07-12 Thread Andrew Leech
On 11 July 2011 07:31, Jean-Christophe PLAGNIOL-VILLARD wrote: rc2 http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=snapshot;h=d4cd6f032015552f00bf4b5a90f25f5f958e9d9e;sf=tgz I'm assuming some testing would be good :-) I'm just moving into a firmware project again, so

Re: [Openocd-development] Hi level debug application

2011-07-11 Thread Andrew Leech
On 11/07/2011 9:08 PM, Hard Maker wrote: Hi List, I'm starting with OpenOCD and have a questions about wath hi level application can use with openOCD. Basically I need/want run aplications and know the var values. Using OpenOCD I can flash, view registry state, run, etc. But there are some apl

Re: [Openocd-development] Slow pipe usage (was eclipse indigo)

2011-07-04 Thread Andrew Leech
On 5/07/2011 8:36 AM, Andrew Leech wrote: On 4/07/2011 6:22 PM, Spencer Oliver wrote: On 4 July 2011 08:12, Andrew Leech wrote: On 1/07/2011 8:47 PM, Spencer Oliver wrote: On 1 July 2011 00:41, Andrew Leechwrote: Only problem is, it's incredibly slow, unusably slow. A single ste

Re: [Openocd-development] Slow pipe usage (was eclipse indigo)

2011-07-04 Thread Andrew Leech
On 4/07/2011 6:22 PM, Spencer Oliver wrote: On 4 July 2011 08:12, Andrew Leech wrote: On 1/07/2011 8:47 PM, Spencer Oliver wrote: On 1 July 2011 00:41, Andrew Leechwrote: Only problem is, it's incredibly slow, unusably slow. A single step can take 5 seconds, where on a norma

Re: [Openocd-development] Slow pipe usage (was eclipse indigo)

2011-07-04 Thread Andrew Leech
On 4/07/2011 5:26 PM, Xiaofan Chen wrote: On Mon, Jul 4, 2011 at 3:12 PM, Andrew Leech wrote: Stepping is still slow though. I'm wondering if this is related to my cygwin on this machine, I've noticed that configure scripts on anything run incredibly slowly, never found out why. I

Re: [Openocd-development] Slow pipe usage (was eclipse indigo)

2011-07-04 Thread Andrew Leech
On 1/07/2011 8:47 PM, Spencer Oliver wrote: On 1 July 2011 00:41, Andrew Leech wrote: Only problem is, it's incredibly slow, unusably slow. A single step can take 5 seconds, where on a normal tcp connection with same configs feels close to instant, so maybe about 1/4 of a second. Did

Re: [Openocd-development] eclipse indigo (pipe usage)

2011-06-30 Thread Andrew Leech
On 30/06/2011 6:13 PM, Spencer Oliver wrote: On 30 June 2011 07:47, Andrew Leech wrote: Have you used it successfully? Helios has that too (since early 2011?), but I've never got it running. I've just updated to indigo and still can't make it work. I ran a few tests yesterda

Re: [Openocd-development] eclipse indigo

2011-06-30 Thread Andrew Leech
liver Sent: Thursday, June 30, 2011 10:13 AM To: Andrew Leech Cc: openocd-development@lists.berlios.de Subject: Re: [Openocd-development] eclipse indigo On 30 June 2011 07:47, Andrew Leech wrote: Have you used it successfully? Helios has that too (since early 2011?), but I've never got it run

Re: [Openocd-development] eclipse indigo

2011-06-29 Thread Andrew Leech
Have you used it successfully? Helios has that too (since early 2011?), but I've never got it running. I've just updated to indigo and still can't make it work. When trying to start a debug session, it eventually just hangs in the openocd startup process after it's detected my device, regardle

Re: [Openocd-development] [Patch] increase buffer size for svf files

2011-03-27 Thread Andrew Leech
On Mon, Mar 28, 2011 at 8:28 AM, Øyvind Harboe wrote: > I tried this with a big enough buffer on a real device and it > segfaulted. > Wasn't most/all of the required code for dynamic buffer resizing already present in the code but commented out with #if 0 #else #end lines? It sounds like this mig

Re: [Openocd-development] Integrating a JTAG interface adapter

2011-03-07 Thread Andrew Leech
On Tue, Mar 8, 2011 at 12:54 AM, Jean-Claude Repetto wrote: > Hello, > I am currently designing a custom development board for a system based on an > EFM32 ARM-Cortex M3 device. > I would like to integrate a JTAG adapter on this board, so that software > developers don't need to buy an external ad

Re: [Openocd-development] SVF echo does not show SDR commands

2011-02-28 Thread Andrew Leech
On Tue, Mar 1, 2011 at 7:39 AM, Phil Fong wrote: > I've been programming Lattice XP2 FPGAs with SVF using a git checkout from > the beginning of February.  (So, to answer Oyvind svf at least partially > works.)  However, I've noticed that the echo to the screen does not echo the > first line of

Re: [Openocd-development] Error and then segfault with svf

2011-02-28 Thread Andrew Leech
On Tue, Mar 1, 2011 at 6:04 AM, Øyvind Harboe wrote: > > > On Mon, Feb 28, 2011 at 7:40 PM, Andrew Leech > wrote: >> >> On 28/02/2011 7:01 PM, Øyvind Harboe wrote: >>> >>> Has anyone used the SVF support recently? >>> >>> I'

Re: [Openocd-development] Error and then segfault with svf

2011-02-28 Thread Andrew Leech
On 28/02/2011 7:01 PM, Øyvind Harboe wrote: Has anyone used the SVF support recently? I've tried to use svf, but it doesn't work in my case. I've attached a test file + I've modified OpenOCD so it is possible to reproduce this problem without any interface or target hardware. ./configure --ena

Re: [Openocd-development] gdb startup from eclipse failue

2011-02-14 Thread Andrew Leech
On Tue, Feb 15, 2011 at 7:56 AM, Bernard Mentink wrote: > Hi Guys, > Andrew, yes, I have checked all the settings in the Debug Configuration > settings and they all point to the correct files, and I have the correct > file in my load command, but gdb is crashing even before it connects to > openoc

Re: [Openocd-development] gdb startup from eclipse failue

2011-02-13 Thread Andrew Leech
On Mon, Feb 14, 2011 at 12:48 PM, Bernard Mentink wrote: > Hi All, > I apologize for posting a somewhat openocd off-topic question, but I am in a > bind. > I have been using openocd and gdb from within eclipse quite happily, until I > duplicated a project to start a new one, and tried debugging it

Re: [Openocd-development] [PATCH 2/2] svf: implement sleep for RUNTEST min_time

2011-01-11 Thread Andrew Leech
On Mon, Jan 10, 2011 at 2:59 PM, Andrew Leech wrote: > On Mon, Jan 10, 2011 at 1:20 PM, Jon Povey wrote: >> Andrew Leech wrote: >>> On 06/01/2011, at 3:12 PM, Jon Povey wrote: >> >>>> Ping. >>> >>> I never delved much into the actual SVF c

Re: [Openocd-development] [PATCH 2/2] svf: implement sleep for RUNTEST min_time

2011-01-09 Thread Andrew Leech
On Mon, Jan 10, 2011 at 1:20 PM, Jon Povey wrote: > Andrew Leech wrote: >> On 06/01/2011, at 3:12 PM, Jon Povey wrote: > >>> Ping. >> >> I never delved much into the actual SVF commands, so can't >> comment on the basic logic of it, however if the n

Re: [Openocd-development] Cable madness

2011-01-09 Thread Andrew Leech
On Mon, Jan 10, 2011 at 1:25 PM, Jon Povey wrote: > openocd-development-boun...@lists.berlios.de wrote: >> They didn't have any 0.05" pre-crimped solutions that I could >> find. > > Crimping your own is not hard with something solid to push down with (bit of > wood or such). > >> It seems like ev

Re: [Openocd-development] [PATCH 2/2] svf: implement sleep for RUNTEST min_time

2011-01-06 Thread Andrew Leech
On 06/01/2011, at 3:12 PM, Jon Povey wrote: > Jon Povey wrote: >> Signed-off-by: Jon Povey >> >> min_time was effectively ignored, I needed it to program a >> Lattice MachXO >> which uses a RUNTEST to wait for an erase operation, amongst >> other things. >> >> With this patch pauses happen and

Re: [Openocd-development] SVF chain handling patch

2010-12-06 Thread Andrew Leech
t; Could you read over the patch now and write up a commit comment? > > To create a patch, try: > > git add . > git commit --author="Andrew Leech " > => type commit comment > git format-patch HEAD^ Could you let me know what your platform / configure options are th

Re: [Openocd-development] (patch) Change target script for LPC2478

2010-12-05 Thread Andrew Leech
On 05/12/2010, at 7:49 PM, Freddie Chopin wrote: > On 2010-12-04 19:29, Michael Schwingen wrote: >> Just because the current files are hard-wired in a way that suits you >> does not mean they work fine for everyone. > > Have you considered opposite approach? Just because the need of creating >

Re: [Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-12-04 Thread Andrew Leech
On 04/12/2010, at 7:43 PM, Øyvind Harboe wrote: > How's this one coming? > > I'm happy with the previous set of patches I submitted (nov 30), it's been working well for me for the past couple of weeks with no issues. Andrew > ___ Openocd-develop

Re: [Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-11-29 Thread Andrew Leech
On Wed, Nov 24, 2010 at 12:10 AM, Wookey wrote: > +++ Andrew Leech [2010-11-17 14:02 +1100]: >> >> Yep I rewrote the command line parser, so the usage is now: >> "usage: svf [-tap device.tap] [-quiet] " >> >> Arguments are checked in a loop so it will

Re: [Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-11-17 Thread Andrew Leech
On Thu, Nov 18, 2010 at 4:43 PM, Peter Stuge wrote: > Andrew Leech wrote: >> > (A note that you can send patches easily by first committing and then >> > using the git send-email command.) >> >> Ok I'm still pretty new to git, so by committing it just adds

Re: [Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-11-17 Thread Andrew Leech
On Thu, Nov 18, 2010 at 2:29 AM, Peter Stuge wrote: > Andrew Leech wrote: >> >> I'll look into that, I've not used snprintf so don't really know the >> difference. It's obviously only a google away. I'm just used to >> sprintf from embedded de

Re: [Openocd-development] Config file format/line endings

2010-11-16 Thread Andrew Leech
On Wed, Nov 17, 2010 at 8:05 AM, Steve Bennett wrote: > On 16/11/2010, at 11:36 AM, Andrew Leech wrote: > >> On Tue, Nov 16, 2010 at 12:19 PM, Steve Bennett >> wrote: >>> >>> On 16/11/2010, at 11:15 AM, Øyvind Harboe wrote: >>> >>>> On

Re: [Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-11-16 Thread Andrew Leech
Note newer patch attached. This is made directly against current git, use instead of original patch. On Wed, Nov 17, 2010 at 10:44 AM, Andrew Leech wrote: > On Wed, Nov 17, 2010 at 10:11 AM, Peter Stuge wrote: > >>>  COMMAND_HANDLER(handle_svf_command) >>>  { >>

Re: [Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-11-16 Thread Andrew Leech
On Wed, Nov 17, 2010 at 10:11 AM, Peter Stuge wrote: >> diff --git a/src/svf/svf.c b/src/svf/svf.c >> index 62e2324..c7401c3 100644 >> --- a/src/svf/svf.c >> +++ b/src/svf/svf.c >> @@ -221,6 +221,8 @@ static uint8_t *svf_tdi_buffer = NULL, *svf_tdo_buffer = >> NULL, *svf_mask_buffer >>  static i

Re: [Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-11-16 Thread Andrew Leech
On Tue, Nov 16, 2010 at 11:17 PM, Øyvind Harboe wrote: > svf/xsvf has been a somewhat peripheral feature of OpenOCD > and I couldn't possibly comment on whether this patch should > be applied or not. > > Do you feel it's ready to be applied if there are no protests? > Ok just as a follow up I've

Re: [Openocd-development] Config file format/line endings

2010-11-15 Thread Andrew Leech
On Tue, Nov 16, 2010 at 12:19 PM, Steve Bennett wrote: > > On 16/11/2010, at 11:15 AM, Øyvind Harboe wrote: > >> On Tue, Nov 16, 2010 at 2:06 AM, Steve Bennett >> wrote: >>> On 16/11/2010, at 9:27 AM, Andrew Leech wrote: >>> >>>> Hi all, >

[Openocd-development] [PATCH] SVF Chain Handling (was: lpc3131 and Actel FPGA chain programming)

2010-11-15 Thread Andrew Leech
On Mon, Nov 15, 2010 at 1:05 PM, Andrew Leech wrote: > On Sat, Nov 13, 2010 at 1:28 AM, Peter Stuge wrote: > >>> There's specific HDR and similar commands in svf to define these >>> paddings. >> >>> Some software like UrJtag ignores these commands

[Openocd-development] Config file format/line endings

2010-11-15 Thread Andrew Leech
Hi all, I've just found a compiling/usage difficulty with the git version on cygwin. Apparently somewhere between 0.4.0 and mainline (possibly jimtcl?) openocd no longer handles dos line endings on config files. Apparently all my config files of my existing 0.4.0 installation have dos line endings

Re: [Openocd-development] lpc3131 and Actel FPGA chain programming.

2010-11-14 Thread Andrew Leech
On Sat, Nov 13, 2010 at 1:28 AM, Peter Stuge wrote: >> There's specific HDR and similar commands in svf to define these >> paddings. > > Can you say more about them? Did you study the SVF output by > FlashPro? It would be interesting to diff a failing SVF with a > working one. > Yeah I've just b

Re: [Openocd-development] lpc3131 and Actel FPGA chain programming.

2010-11-11 Thread Andrew Leech
On Thu, Nov 11, 2010 at 2:44 AM, Peter Stuge wrote: > > Andrew Leech wrote: > > Now I need to figure out how to bypass the lpc via software rather > > than physically changing the chain. I can't seem to find much > > information about how bypass works with open

Re: [Openocd-development] lpc3131 and Actel FPGA chain programming.

2010-11-09 Thread Andrew Leech
On Tue, Nov 9, 2010 at 10:37 PM, Peter Stuge wrote: > Andrew Leech wrote: > > On a different matter, I'm currently using this part on a chain with an > > Actel A3P125 FPGA > > I'd look at buying an IGLOO Icicle ($69 or something). It includes an > Actel "L

[Openocd-development] lpc3131 and Actel FPGA chain programming.

2010-11-08 Thread Andrew Leech
here be a different way to flash the actel with openocd not using svf? Thanks, Andrew Leech lpc3131.cfg Description: Binary data ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development