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
But i didnt not found yet on the net or even on openocd help , where is the place i should put that file!!!!
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
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 .
And if we go on the net , then we will find websites pointing configurations to old drivers that are not already in openocd .
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 .
Hi!
OpenOCD doesn't have an official forum. For general help, use the user mailing list: https://lists.sourceforge.net/mailman/listinfo/openocd-user
I guess you've found it out by now that OpenOCD looks for config files in the current directory. Plus under the user's home directory, some shared paths, etc. But openocd.cfg is generally best suited for project specific settings in the project directory. Running openocd from that directory gives the desired result.