Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-13 Thread Olof Tångrot
arget processor and just scan the JTAG chain is welcome. On Fri, 2010-08-13 at 20:54 +0800, Xiaofan Chen wrote: > On Wed, Aug 4, 2010 at 10:23 PM, Olof Tångrot wrote: > > I get the same semi functional result as on Fedora 12 (same hardware) > > before as shown below. I also o

[Openocd-development] Problems with LPC2148 persists also with Wiggler clone

2010-08-09 Thread Olof Tångrot
Hi there. I still have not been able to connect properly to my Olimex LPC-H2148 prototype board. After my first mail thread I could connect the olimex-arm-usb-tiny-h adapter by adding -c "jtag_khz 1000" to the command line. I have lately also discovered that this also works with the openocd 0.4.0

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-04 Thread Olof Tångrot
Hi. It does not work neitherway for me. Is it out of bounds timing in the reset sequence that is the root cause? What does the specification say? I have an old 2 channel oscilloscope without storage capacity so it is a bit difficult to measure timing of single events. Is it possible to make th

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-04 Thread Olof Tångrot
lpc2148.cfg is now: #reset_config trst_and_srst reset_config trst_and_srst srst_pulls_trst The openocd still fails to connect to the processor: [o...@localhost test]$ bin/openocd -f share/openocd/scripts/interface/olimex-arm-usb-tiny-h.cfg -f share/openocd/scripts/target/lpc2148.cfg -c "jtag_khz

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-04 Thread Olof Tångrot
power, etc. Command handler execution failed in procedure 'transport' Command handler execution failed in procedure 'init' On Wed, 2010-08-04 at 20:57 +0800, Xiaofan Chen wrote: > On Mon, Aug 2, 2010 at 5:30 PM, Xiaofan Chen wrote: > > On Mon, Aug 2, 2010 at 9:43 AM, Xiaofa

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-04 Thread Olof Tångrot
Debug: 229 872 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 230 872 core.c:1049 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 231 872 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset Error: 232 875 core.c:939 jtag_examine_chain_check():

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-03 Thread Olof Tångrot
brt.so.1 => /lib64/librt.so.1 (0x0032f460) libpthread.so.0 => /lib64/libpthread.so.0 (0x0032f3e0) libc.so.6 => /lib64/libc.so.6 (0x0032f320) /lib64/ld-linux-x86-64.so.2 (0x0032f2e0) On Tue, 2010-08-03 at 19:13 +0200, Peter Stuge wro

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-03 Thread Olof Tångrot
This is the part where libusb is configured: cd libusb && ./autogen.sh --prefix=/tmp/test && make install && cd .. Nor can I find any other line that seems to activate verbosity. How do I rebuild libusb without verbose debugging? On Tue, 2010-08-03 at 18:50 +0200, P

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-03 Thread Olof Tångrot
ote: > > export LIBUSB_1_0_CFLAGS=/tmp/test/include > > export LIBUSB_1_0_LIBS=/tmp/test/lib > > cd libftdi-1.0 && ../openocd/bootstrap && ./configure \ > > Olof Tångrot wrote: > > I get a lot of build errors starting with: > > > > make[1]

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-03 Thread Olof Tångrot
error: expected ‘)’ before ‘*’ token ... I added a #!/bin/sh at the top. Parhaps it's the wrong shell? On Mon, 2010-08-02 at 12:26 +0200, Peter Stuge wrote: > Olof Tångrot wrote: > > I need a build script, > .. > > I prefer to use Linux since libusb, libftdi and openoc

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-01 Thread Olof Tångrot
On Sun, 2010-08-01 at 08:57 +0800, Xiaofan Chen wrote: > On Sun, Aug 1, 2010 at 2:54 AM, Olof Tångrot wrote: > > Running zadig and installing WinUSB seems to replace the drivers. > > That is true. > > How did you install the driver? You may need to install WinUSB &g

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-08-01 Thread Olof Tångrot
Since I it seems like I have a FT2232H device I would like to help. But I also have a family with three kids under 9 and can put at most 1 h a day on my hobby activities. This means everything I do most be very efficient and can have a only limited scope. I can run tests and report the result but

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-07-31 Thread Olof Tångrot
Running zadig and installing WinUSB seems to replace the drivers. Replacing libfdti.dll with the one from libftdi1_05July2010.zip makes openocd crash. On Sat, 2010-07-31 at 19:15 +0200, Olof Tångrot wrote: > I have tested the libftdi-018 DLL with the same result as before. > > I wi

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-07-31 Thread Olof Tångrot
I have tested the libftdi-018 DLL with the same result as before. I will see if solution 2 makes any difference... On Sat, 2010-07-31 at 17:59 +0800, Xiaofan Chen wrote: > On Sat, Jul 31, 2010 at 5:11 PM, wrote: > > > When I plug in the JTAG interface it is recoginized as 2 instances of > > Li

Re: [Openocd-development] Problem with LPC2148 and ARM-USB-TINY-H

2010-07-31 Thread Olof Tångrot
Hi Freddie. I just tested [1000 100, 10 ,1] kHz (under Fedora 12 running a 64-bit Athlon X2 processor) and the result is the same... "The Error: couldn't read enough bytes from FT2232 device (0 < 81)." I don't indend to confuse anyone by the use of linux but under Fedora the current configuration