Skip to main content



      Home
Home » Newcomers » Newcomers » After ./configure it is throwing an make error while Rebuilding openocd 0.10.0. (Hello sir actually i'm trying to interface a saml21 board with Jtag through openocd server.But i'm facing some problem in building openocd 0.10.0 as it is throwing make error as follows.Someone please)
After ./configure it is throwing an make error while Rebuilding openocd 0.10.0. [message #1807804] Mon, 10 June 2019 02:44 Go to next message
Eclipse UserFriend
src/jtag/drivers/presto.c: In function 'presto_open_libftdi':
src/jtag/drivers/presto.c:164:2: error: 'ftdi_usb_purge_buffers' is deprecated (declared at /usr/include/libftdi1/ftdi.h:565) [-Werror=deprecated-declarations]
if (ftdi_usb_purge_buffers(&presto->ftdic) < 0) {
^
src/jtag/drivers/presto.c:178:3: error: 'ftdi_usb_purge_buffers' is deprecated (declared at /usr/include/libftdi1/ftdi.h:565) [-Werror=deprecated-declarations]
if (ftdi_usb_purge_buffers(&presto->ftdic) < 0)
^
cc1: all warnings being treated as errors
make[2]: *** [src/jtag/drivers/src_jtag_drivers_libocdjtagdrivers_la-presto.lo] Error 1
make[2]: Leaving directory `/home/yash01/Videos/openocd-0.10.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yash01/Videos/openocd-0.10.0'
make: *** [all] Error 2
Re: After ./configure it is throwing an make error while Rebuilding openocd 0.10.0. [message #1807830 is a reply to message #1807804] Mon, 10 June 2019 09:10 Go to previous messageGo to next message
Eclipse UserFriend
This is actually off-topic for Eclipse.

The error complains that your FTDI library headers are not compatible with the presto.c (JTAG dongle driver?) source code.

You should find an OpenOCD forum and ask again.
Re: After ./configure it is throwing an make error while Rebuilding openocd 0.10.0. [message #1807849 is a reply to message #1807830] Tue, 11 June 2019 01:29 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the response. I will check with the JTag driver and i will try to fix.
Re: After ./configure it is throwing an make error while Rebuilding openocd 0.10.0. [message #1807854 is a reply to message #1807849] Tue, 11 June 2019 02:37 Go to previous messageGo to next message
Eclipse UserFriend
Hello sir actually jtag driver issue is solved..after this im facing new issue..
------error-----------------
none separate
adapter speed: 1500 kHz
cortex_m reset_config sysresetreq
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1500 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: at91samd.cpu: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Invalid ACK (0) in DAP response
Error: Invalid ACK (0) in DAP response

....may i know why this error is coming.
Re: After ./configure it is throwing an make error while Rebuilding openocd 0.10.0. [message #1807895 is a reply to message #1807854] Tue, 11 June 2019 15:37 Go to previous message
Eclipse UserFriend
This is a symptom of JTAG hardware problems. The dongle sees all data returned from the processor as zeroes.

Some possible causes may be:
- there is a short from the TDO line to ground,
- the processor does not have power or clock,
- there are no pull-up resistors in the data line
- there is an incorrect connection in the JTAG lines.

Please get the OpenOCD manual and make the setup first run properly using the Telnet connection to the OpenOCD server.

This is still off-topic for Eclipse, it belongs to OpenOCD.
Previous Topic:Eclipse's PHP file creation problem
Next Topic:Undo and redo buttons does not appear on toolbar
Goto Forum:
  


Current Time: Sun Jul 13 17:24:37 EDT 2025

Powered by FUDForum. Page generated in 0.09529 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top