Re: [Openocd-development] [PATCH] svf: add nil option that just runs through the svf file

2011-02-28 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 ___

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

2011-02-28 Thread Jon Povey
openocd-development-boun...@lists.berlios.de wrote: Has anyone used the SVF support recently? I've tried to use svf, but it doesn't work in my case. I sent two small patches to SVF in early January based on 0136977c40e41cdaab5d775c4e370763006ad99c With those patches I used SVF to program a

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

2011-02-28 Thread Øyvind Harboe
Could you repost the patches? 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] 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

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

2011-02-28 Thread Øyvind Harboe
On Mon, Feb 28, 2011 at 7:40 PM, Andrew Leech coronasen...@gmail.comwrote: 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

[Openocd-development] [PATCH 3/4] jlink: switch commands to subcommands

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- doc/openocd.texi |4 ++-- src/jtag/drivers/jlink.c | 16 +--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index 7772d78..5b12386 100644 ---

[Openocd-development] [PATCH 2/4] jlink: harmonise the device name to J-Link

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- src/jtag/drivers/jlink.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index f1b9711..b182b61 100644 --- a/src/jtag/drivers/jlink.c +++

[Openocd-development] [PATCH 4/4] jlink: add jlink_pid to specify the pid to use

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
this will allow us to use multiple jlink at the same time as when the USB-Address is specified the PID change from 0x0101 to (0x101 + usb_adress) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- doc/openocd.texi |2 ++ src/jtag/drivers/jlink.c | 27

[Openocd-development] [PATCH 1/4] jlink: add new PID and VID

2011-02-28 Thread Jean-Christophe PLAGNIOL-VILLARD
The default pid of the segger is 0x0101 But when you change the USB Address it will also pid = ( usb_address 0x4) ? 0x0101 : (0x101 + usb_address) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- src/jtag/drivers/jlink.c | 10 -- 1 files changed, 8

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

2011-02-28 Thread Phil Fong
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 SDR commands. The SVF has SDR commands of the form: SDR

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 oyvind.har...@zylin.com wrote: On Mon, Feb 28, 2011 at 7:40 PM, Andrew Leech coronasen...@gmail.com wrote: 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

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 fong...@yahoo.com 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

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

2011-02-28 Thread Phil Fong
Ah, this'll probably be my fault, and it's not intentional must be something I missed when I modified the verbose stuff late last year. I've only been using the svf command to program my actel fpga with an auto-generated svf file, and haven't noticed this issue, either because I don't

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

2011-02-28 Thread Øyvind Harboe
On Mon, Feb 28, 2011 at 11:48 PM, Andrew Leech coronasen...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:04 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Mon, Feb 28, 2011 at 7:40 PM, Andrew Leech coronasen...@gmail.com wrote: On 28/02/2011 7:01 PM, Øyvind Harboe wrote: Has anyone used

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

2011-02-28 Thread Jon Povey
Øyvind Harboe wrote: Could you repost the patches? Oh, they got merged. d356034f03eb60fd4e8b3537bd979d9e7e5e25f8 and the one before. -- Jon Povey jon.po...@racelogic.co.uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan