Hi PEdro,

Answering on the list, as the ticketing system is not suitabe as a help
and discussion system.

Le Fri, 21 Aug 2015 12:51:27 +0000, "PEdro" <[email protected]> a
écrit :

> 
> 
> 
> ---
> 
> ** [tickets:#105] openocd.cfg confusion**
> 
> **Status:** new
> **Milestone:** 0.9.0
> **Created:** Fri Aug 21, 2015 12:51 PM UTC by PEdro
> **Last Updated:** Fri Aug 21, 2015 12:51 PM UTC
> **Owner:** nobody
> 
> 
> Hi everyone , i am really sorry to post this here , but it looks that in 
> forum of openocd i have to wait from administration approoval .
> This is the first time i am using openocd , and i know that i need to 
> configure an openocd.cfg file to avoid this message :
> 
> Open On-Chip Debugger 0.10.0-dev-00022-g2dcf7bf-dirty (2015-08-15-20:27)
> Licensed under GNU GPL v2
> For bug reports, read
>       http://openocd.org/doc/doxygen/bugs.html
> embedded:startup.tcl:60: Error: Can't find openocd.cfg
> in procedure 'script' 
> at file "embedded:startup.tcl", line 60
> Error: Debug Adapter has to be specified, see "interface" command
> embedded:startup.tcl:60: Error: 
> in procedure 'script' 
> at file "embedded:startup.tcl", line 60

More precisely, you need to create such a file if OpenOCD does not
provide one already for your board in its scripts/boards directory.

> But i didnt not found yet on the net or even on openocd help , where is the 
> place i should put that file!!!!

Anywhere you like, since you have to tell openocd where the file is
anyway.

> I tryed on the root of the program , on the src folder , and still have this 
> error .
> I am on linux and i am using an :
> Bus 003 Device 002: ID 0403:6010 Future Technology Devices International, Ltd 
> FT2232C Dual USB-UART/FIFO IC

(This does not say much, as it is the description of a generic chip from
FTDI which is used in a lot of JTAG probes.)

> Could some gentle soul here give me an help on this ?
> There is much lack of configuration setup information on the help about this 
> issue .

Try running "openocd --help" and "man openocd".

> And if we go on the net , then we will find websites pointing configurations 
> to old drivers that are not already in openocd .

Try the documentation on the OpenOCD site:

        http://openocd.org/doc-release/html/index.html

And especially this section:

        
http://openocd.org/doc-release/html/Config-File-Guidelines.html#Config-File-Guidelines

> As last resort , i try this site to try to fix this issue , but as always , 
> they did not explain where to put that config file .
> http://www.fun-tech.se/stm32/OpenOCD/index.php
> 
> Again ,  sorry for posting this here , i know that for some of you should be 
> a piece of cake , but for me is a dead end .
> 
> Thank you for your understanding .

No problem. :)

Amicalement,
-- 
Albert.

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to