Reply by maheshsutariya●September 25, 20122012-09-25
Hi
[Matt],
I am using openocd 0.5.0 prebuild exe with driver provided in openocd
directory.I am using it with stellaris cortex-m3 microcontroller and driver is
working properly..
[Kuba],
I am getting same result with LPC1758.cfg available in openocd 0.6.0.
By the time I tried openocd+paraller port jtag+My board and could detect my
board and breakpoint/watchpoints info.
Regards,
Mahesh
--- In l..., "teeysensei" wrote: >
> I cannot give you any specific answer I'm afraid. Since the hardware
seems to check out, you should probably check if the software is in order.
>
> Did you try installing fresh official FTDI drivers? I recommend using the D2XX
drivers under windows. Or are you using libusb with libftdi? Did you compile
OpenOCD yourself or are you using a pre-built binary? In such a case make sure
the support libraries, such as libusb, are a match to the version of the
pre-built binary. You can always try compiling it yourself. It isn't that
big of a deal.
>
> If everything else fails try with another computer to rule out any system
peculiarities.
>
> Good luck.
>
> Regards,
> Matt
>
> --- In l..., "maheshsutariya" wrote:
> >
> > Hi,
> >
> > I am having EKC-LM3S6965 development kit which has FT2232 based JTAG USB
connection for programming,
> >
> > I am using this development kit JTAG connection to program my LPC1758 based
board.
> >
> > I am getting following error log on command prompt while using openocd. I am
using original "/interface/luminary.cfg" and "/board/mcb1700.cfg" file inside
openocd directory.
> >
> > *******************************************************************
> > C:\openocd\bin>openocd.exe -f /interface/luminary.cfg -f
/board/mcb1700.cfg
> > Open On-Chip Debugger 0.5.0 (2011-08-09-23:21)
> > Licensed under GNU GPL v2
> > For bug reports, read
> > http://openocd.berlios.de/doc/doxygen/bugs.html
> > Info : only one transport option; autoselect 'jtag'
> > adapter_nsrst_delay: 200
> > jtag_ntrst_delay: 200
> > 10 kHz
> > Info : clock speed 10 kHz
> > Error: JTAG scan chain interrogation failed: all ones
> > Error: Check JTAG interface, timings, target power, etc.
> > Error: Trying to use configured scan chain anyway...
> > Error: lpc1768.cpu: IR capture error; saw 0x0f not 0x01
> > Warn : Bypassing JTAG setup events due to errors
> > Warn : Invalid ACK 0x7 in JTAG-DP transaction
> > Polling target failed, GDB will be halted. Polling again in 100ms
> > Polling target failed, GDB will be halted. Polling again in 300ms
> > Polling target failed, GDB will be halted. Polling again in 700ms
> > Polling target failed, GDB will be halted. Polling again in 1500ms
> > ********************************************************************
> >
> > I believe my board jtag interface is working properly because I used mostly
used connection(pullup and pull down) and I also tested it with HJTAG+Wiggler
parallel port JTAG[could program blinky program successfully]
> >
> > does anyone seen this kind of error..and have solution..
> > any help is welcome..
> >
> > Regards,
> > Mahesh
>
instead using the 'board' directory, where you have board specyfic
scripts,
you could try first the 'target'. This direcotry contains a script
'lpc1758' (openocd 0.6.0). Try to flash your chip using this file.
Regards,
Kuba
2012/9/20 maheshsutariya
> **
> Hi,
>
> I am having EKC-LM3S6965 development kit which has FT2232 based JTAG USB
> connection for programming,
>
> I am using this development kit JTAG connection to program my LPC1758
> based board.
>
> I am getting following error log on command prompt while using openocd. I
> am using original "/interface/luminary.cfg" and "/board/mcb1700.cfg" file
> inside openocd directory.
>
> *******************************************************************
> C:\openocd\bin>openocd.exe -f /interface/luminary.cfg -f /board/mcb1700.cfg
> Open On-Chip Debugger 0.5.0 (2011-08-09-23:21)
> Licensed under GNU GPL v2
> For bug reports, read
> http://openocd.berlios.de/doc/doxygen/bugs.html
> Info : only one transport option; autoselect 'jtag'
> adapter_nsrst_delay: 200
> jtag_ntrst_delay: 200
> 10 kHz
> Info : clock speed 10 kHz
> Error: JTAG scan chain interrogation failed: all ones
> Error: Check JTAG interface, timings, target power, etc.
> Error: Trying to use configured scan chain anyway...
> Error: lpc1768.cpu: IR capture error; saw 0x0f not 0x01
> Warn : Bypassing JTAG setup events due to errors
> Warn : Invalid ACK 0x7 in JTAG-DP transaction
> Polling target failed, GDB will be halted. Polling again in 100ms
> Polling target failed, GDB will be halted. Polling again in 300ms
> Polling target failed, GDB will be halted. Polling again in 700ms
> Polling target failed, GDB will be halted. Polling again in 1500ms
> ********************************************************************
>
> I believe my board jtag interface is working properly because I used
> mostly used connection(pullup and pull down) and I also tested it with
> HJTAG+Wiggler parallel port JTAG[could program blinky program successfully]
>
> does anyone seen this kind of error..and have solution..
> any help is welcome..
>
> Regards,
> Mahesh
>
>
>
Reply by teeysensei●September 24, 20122012-09-24
I cannot give you any specific answer I'm afraid. Since the hardware seems
to check out, you should probably check if the software is in order.
Did you try installing fresh official FTDI drivers? I recommend using the D2XX
drivers under windows. Or are you using libusb with libftdi? Did you compile
OpenOCD yourself or are you using a pre-built binary? In such a case make sure
the support libraries, such as libusb, are a match to the version of the
pre-built binary. You can always try compiling it yourself. It isn't that
big of a deal.
If everything else fails try with another computer to rule out any system
peculiarities.
Good luck.
Regards,
Matt
--- In l..., "maheshsutariya" wrote: >
> Hi,
>
> I am having EKC-LM3S6965 development kit which has FT2232 based JTAG USB
connection for programming,
>
> I am using this development kit JTAG connection to program my LPC1758 based
board.
>
> I am getting following error log on command prompt while using openocd. I am
using original "/interface/luminary.cfg" and "/board/mcb1700.cfg" file inside
openocd directory.
>
> *******************************************************************
> C:\openocd\bin>openocd.exe -f /interface/luminary.cfg -f /board/mcb1700.cfg
> Open On-Chip Debugger 0.5.0 (2011-08-09-23:21)
> Licensed under GNU GPL v2
> For bug reports, read
> http://openocd.berlios.de/doc/doxygen/bugs.html
> Info : only one transport option; autoselect 'jtag'
> adapter_nsrst_delay: 200
> jtag_ntrst_delay: 200
> 10 kHz
> Info : clock speed 10 kHz
> Error: JTAG scan chain interrogation failed: all ones
> Error: Check JTAG interface, timings, target power, etc.
> Error: Trying to use configured scan chain anyway...
> Error: lpc1768.cpu: IR capture error; saw 0x0f not 0x01
> Warn : Bypassing JTAG setup events due to errors
> Warn : Invalid ACK 0x7 in JTAG-DP transaction
> Polling target failed, GDB will be halted. Polling again in 100ms
> Polling target failed, GDB will be halted. Polling again in 300ms
> Polling target failed, GDB will be halted. Polling again in 700ms
> Polling target failed, GDB will be halted. Polling again in 1500ms
> ********************************************************************
>
> I believe my board jtag interface is working properly because I used mostly
used connection(pullup and pull down) and I also tested it with HJTAG+Wiggler
parallel port JTAG[could program blinky program successfully]
>
> does anyone seen this kind of error..and have solution..
> any help is welcome..
>
> Regards,
> Mahesh
>
Reply by maheshsutariya●September 20, 20122012-09-20
Hi,
I am having EKC-LM3S6965 development kit which has FT2232 based JTAG USB
connection for programming,
I am using this development kit JTAG connection to program my LPC1758 based
board.
I am getting following error log on command prompt while using openocd. I am
using original "/interface/luminary.cfg" and "/board/mcb1700.cfg" file inside
openocd directory.
*******************************************************************
C:\openocd\bin>openocd.exe -f /interface/luminary.cfg -f /board/mcb1700.cfg
Open On-Chip Debugger 0.5.0 (2011-08-09-23:21)
Licensed under GNU GPL v2
For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
10 kHz
Info : clock speed 10 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: lpc1768.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Polling target failed, GDB will be halted. Polling again in 100ms
Polling target failed, GDB will be halted. Polling again in 300ms
Polling target failed, GDB will be halted. Polling again in 700ms
Polling target failed, GDB will be halted. Polling again in 1500ms
********************************************************************
I believe my board jtag interface is working properly because I used mostly used
connection(pullup and pull down) and I also tested it with HJTAG+Wiggler
parallel port JTAG[could program blinky program successfully]
does anyone seen this kind of error..and have solution..
any help is welcome..