Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:44 Go to next message
ravi kiran is currently offline ravi kiranFriend
Messages: 3
Registered: June 2019
Junior Member
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 13:10 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 485
Registered: August 2014
Senior Member
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.


--

Tauno Voipio
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 05:29 Go to previous messageGo to next message
ravi kiran is currently offline ravi kiranFriend
Messages: 3
Registered: June 2019
Junior Member
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 06:37 Go to previous messageGo to next message
ravi kiran is currently offline ravi kiranFriend
Messages: 3
Registered: June 2019
Junior Member
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 19:37 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 485
Registered: August 2014
Senior Member
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.


--

Tauno Voipio
Previous Topic:Eclipse's PHP file creation problem
Next Topic:Eclipse freezes every time after a bit of usage
Goto Forum:
  


Current Time: Sun Jun 16 20:31:28 GMT 2019

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

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

Back to the top