Re: [OpenOCD-devel] Problem with FT2232_BUFFER_SIZE

2012-11-25 Thread Franck Jullien
2012/11/26 Andreas Fritiofson : > > On Sun, Nov 25, 2012 at 10:44 PM, Franck Jullien > wrote: >> >> >> My waveform wasn't complete, the TAP doesn't hang while "polling DR >> SHIFT", it's just longer... > > > Yes, you're seeing the effect of USB latency and this will totally kill > performance of y

Re: [OpenOCD-devel] Problem with FT2232_BUFFER_SIZE

2012-11-25 Thread Andreas Fritiofson
On Sun, Nov 25, 2012 at 10:44 PM, Franck Jullien wrote: > > > My waveform wasn't complete, the TAP doesn't hang while "polling DR > SHIFT", it's just longer... > Yes, you're seeing the effect of USB latency and this will totally kill performance of your polling scheme. Every jtag_execute will take

Re: [OpenOCD-devel] Problem with FT2232_BUFFER_SIZE

2012-11-25 Thread Franck Jullien
2012/11/25 Franck Jullien : > 2012/11/25 Andreas Fritiofson : >> >> On Sat, Nov 24, 2012 at 11:11 PM, Franck Jullien >> wrote: >>> >>> 2012/11/24 Franck Jullien : >>> > 2012/11/24 Franck Jullien : >>> >>> >> I'm doing some tests with an opencores TAP and debug system using >>> >> openOCD and an ft

Re: [OpenOCD-devel] openocd+libswd call for testing work in progress...

2012-11-25 Thread CeDeROM
On Sun, Nov 25, 2012 at 10:09 PM, Freddie Chopin wrote: > Hmm... How should I do all of these (yes, I'm no unix kind of guy...)? > > CFLAGS="-O0 -g -ggdb3" LDFLAGS="-g" ./configure ... > > Will that work? The configure scripts probably sets optimization to some > other level so how do I override t

Re: [OpenOCD-devel] openocd+libswd call for testing work in progress...

2012-11-25 Thread Freddie Chopin
W dniu 2012-11-25 21:58, CeDeROM pisze: > Ah, can you also try to build with no optimization? I have some > variables "optimized out" when debugging :-) Hmm... How should I do all of these (yes, I'm no unix kind of guy...)? CFLAGS="-O0 -g -ggdb3" LDFLAGS="-g" ./configure ... Will that work? The

Re: [OpenOCD-devel] openocd+libswd call for testing work in progress...

2012-11-25 Thread CeDeROM
Ah, can you also try to build with no optimization? I have some variables "optimized out" when debugging :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info -- Monitor your physical, virtual and cloud infrastructure from

Re: [OpenOCD-devel] openocd+libswd call for testing work in progress...

2012-11-25 Thread CeDeROM
Hey Freddie :-) I have tried your binaries :-) They additionally need the sources in proper location to debug because binary does not contain source code symbols (?). For some reason "oocd_feature_t oocd_transport_swd_libswd_arm_dap_feature;" from src/transport/swd_libswd.h is invisible at runtim

[OpenOCD-devel] SVF/XSVF player

2012-11-25 Thread Akos Vandra
Hi guys! I am trying to use openocd to program a jtag chain that is composed of: - lpc1768 (cortex-m3) - xc9572XL cpld (xilinx 9500 series) - XC2C256 cpld (xilinx coolrunner II) I am using the next config file: debug_level 3 source [find interface/vsllink.cfg] transport select jtag adapter_k

Re: [OpenOCD-devel] JTAG chain with multiple devices

2012-11-25 Thread Akos Vandra
Hi! Thanks for the configuration file. Turned out the auto-detected irlen was incorrect, and that was what was causing the problems. Regards, Ákos Vandra On 20 November 2012 23:55, Andrew Leech wrote: > On 21/11/12 9:06 AM, Akos Vandra wrote: > >> Hi! >> >> I'm trying to get OpenOCD to work

[OpenOCD-devel] [PATCH]: 67f19a9 arm: Mis-aligned data issue fix.

2012-11-25 Thread gerrit
This is an automated email from Gerrit. Jason Moehlman (jmoeh...@linux-software.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/996 -- gerrit commit 67f19a9baa5449ca7513c303cfe6d279ec0707ad Author: Jason Moehlman Date: Mon Nov 19 18:33:34 2012 -05

Re: [OpenOCD-devel] Problem with FT2232_BUFFER_SIZE

2012-11-25 Thread Franck Jullien
2012/11/25 Andreas Fritiofson : > > On Sat, Nov 24, 2012 at 11:11 PM, Franck Jullien > wrote: >> >> 2012/11/24 Franck Jullien : >> > 2012/11/24 Franck Jullien : >> >> >> I'm doing some tests with an opencores TAP and debug system using >> >> openOCD and an ftdi based JTAG interface. >> >> I'm usin

Re: [OpenOCD-devel] Problem with FT2232_BUFFER_SIZE

2012-11-25 Thread Andreas Fritiofson
On Sat, Nov 24, 2012 at 11:11 PM, Franck Jullien wrote: > 2012/11/24 Franck Jullien : > > 2012/11/24 Franck Jullien : > >> I'm doing some tests with an opencores TAP and debug system using > >> openOCD and an ftdi based JTAG interface. > >> I'm using the new ftdi driver but I have a problem. > >>