Re: [Openocd-development] ./configure --enable-maintainer-mode LIBS=-lfoo-1.0 not working?

2010-06-02 Thread Spencer Oliver
On 02/06/2010 17:35, Martin Zenzes wrote: Hi, when I do ./configure LDFLAGS=-L/opt/libftdi-1.0 LIBS=-lftdi-1.0 --enable-maintainer-mode Have you tried quoting the parameters, eg. ./configure LDFLAGS="-L/opt/libftdi-1.0" LIBS="-lftdi-1.0" --enable-maintainer-mode may also be worth attachin

Re: [Openocd-development] ./configure --enable-maintainer-mode LIBS=-lfoo-1.0 not working?

2010-06-02 Thread Marek Vasut
Dne St 2. Ĩervna 2010 18:35:40 Martin Zenzes napsal(a): > Hi, > > when I do > > ./configure LDFLAGS=-L/opt/libftdi-1.0 LIBS=-lftdi-1.0 > --enable-maintainer-mode > > with recent git (d944a0b) , I'm getting an error: > > configure: error: C compiler cannot create executables > > after removing

[Openocd-development] ./configure --enable-maintainer-mode LIBS=-lfoo-1.0 not working?

2010-06-02 Thread Martin Zenzes
Hi, when I do ./configure LDFLAGS=-L/opt/libftdi-1.0 LIBS=-lftdi-1.0 --enable-maintainer-mode with recent git (d944a0b) , I'm getting an error: configure: error: C compiler cannot create executables after removing the "-1.0" part of LIBS, everything is fine, but openocd selects the wrong versi

Re: [Openocd-development] libftdi: couldn't read enough bytes from FT2232 device (79 < 81)

2010-06-02 Thread Xiaofan Chen
On Wed, Jun 2, 2010 at 8:12 PM, Xiaofan Chen wrote: > On Wed, Jun 2, 2010 at 5:26 PM, Martin Zenzes > wrote: >> This seems to be a similar error to this one mentioned earlier: >> http://www.mail-archive.com/openocd-development@lists.berlios.de/msg12531.html >> but we got the same codebase, same O

Re: [Openocd-development] libftdi: couldn't read enough bytes from FT2232 device (79 < 81)

2010-06-02 Thread Xiaofan Chen
On Wed, Jun 2, 2010 at 5:26 PM, Martin Zenzes wrote: > This seems to be a similar error to this one mentioned earlier: > http://www.mail-archive.com/openocd-development@lists.berlios.de/msg12531.html > but we got the same codebase, same OS (ubuntu 10.04) and tried > even the same binaries build fr

Re: [Openocd-development] libftdi: couldn't read enough bytes from FT2232 device (79 < 81)

2010-06-02 Thread Tomek CEDRO
Hello Martin! If you are using the libftdi and FT2232H version, make sure you have latest libftdi - with older version (ie. 0.14) you will have problems. Regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ Openocd-development mailing li

Re: [Openocd-development] Breakpoint can not been trigged on the MIPS 4KEc core.

2010-06-02 Thread Spencer Oliver
On 02/06/2010 09:24, Xiaochen Zhou wrote: Hi all, I want to port eCos to an epon onu chip which has a MIPS 4KEc core and using openocd v0.4.0 + wiggler for debugging. Gdb seems ok(ctrl_c and continue commands ok) but breakpoint. Just a guess but unless you have a valid flash memory map then g

[Openocd-development] libftdi: couldn't read enough bytes from FT2232 device (79 < 81)

2010-06-02 Thread Martin Zenzes
Hi, couldn't find a "users" mailinglist for openOCD? got some strange problems using a signalyzer H2 JTAG-adapter with Openocd to programm a STM32-Target. We are using the same adapter on different machines -- one is working like a charm since weeks. But the second machine throws the following er

Re: [Openocd-development] About CortexM0 support

2010-06-02 Thread simon qian
> > > > I tried to add support to LPC11XX in vsprog. > > > > LPC11XX is CortexM0 from NXP. > > We want "OpenOCD" support, not "vsprog" support, > > for such things ... :) SWD is tested working in vsprog, so it's easier to add the support in vsprog. Actually there is not much difference between vspr

[Openocd-development] Breakpoint can not been trigged on the MIPS 4KEc core.

2010-06-02 Thread Xiaochen Zhou
Hi all, I want to port eCos to an epon onu chip which has a MIPS 4KEc core and using openocd v0.4.0 + wiggler for debugging. Gdb seems ok(ctrl_c and continue commands ok) but breakpoint. Then I try telnet command without gdb: * telnet console *