SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By xaver_aed
#189957
Hey,

I have an ARC uC SoC I want to debug.
The Toolchain I use is the GNU ARC compiler from the https://www.embarc.org/ project.
This is using OpenOCD to make a connetion to the Target (ARC EM4 Core, custom board).
My digilent USB-JTAG cable is recognized by Win7 as an ftdi device with vid 0403, pid 6010.
I know the cable is working because it works with another project under SynopsisMetawareDebugger.

My problem is that I get the following error message when trying to start the debug session:
Open On-Chip Debugger 0.9.0-dev-g8a252b3 (2015-06-08-13:44)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 10000 kHz
Error: unable to open ftdi device: device not found
Error: ListDevices: 2
Error: 0: "Dual RS232 A"
Error: 1: "Dual RS232 B"
Runtime Error: C:\arc_gnu\share\openocd\scripts\board\snps_em_sk_v2.cfg:48:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'init' called at file "C:\arc_gnu\share\openocd\scripts\board\snps_em_sk_v2.cfg", line 48
I haven't any clue how to fix that...
Can anyone help me out with this, or at least give a hint please?
thanks a lot!
xaver_aed
By john_t_eaton
#189989
I have encountered some open-ocd distros that were compiled without the ftdi option.
Check that your usr/local/share/openocd/scripts/interface has a ftdi directory.


John Eaton
By xaver_aed
#190031
First of all thanks for your reply!
This is my openocd/skripts directory (olny folders shown),
subfolder "ftdi" exists and is not empty...
.
├── board
├── chip
│   ├── atmel
│   │   └── at91
│   ├── st
│   │   ├── spear
│   │   └── stm32
│   └── ti
│   └── lm3s
├── cpld
├── cpu
│   ├── arc
│   └── arm
├── interface
│   └── ftdi
├── target
├── test
│   └── arc
└── tools
19 directories

Any other ideas?