AnsweredAssumed Answered

OpenOCD, Mac OS, FRDM-K64F

Question asked by Raj Batra on Jun 10, 2015
Latest reply on Jun 12, 2015 by Carlos_Mendoza

I'm on a Mac, and was hoping to run my debugger in eclipse via OpenOCD CMSIS DAP interface.


I installed the OpenOCD package (0.9) from The GNU ARM Eclipse OpenOCD | GNU ARM Eclipse

and installed the corresponding eclipse plugin in KDS.


When I run the hello example, I get the error unable to find the kinetis.cfg file. Erich Styger provided the config file in another chain, and I also installed KDS on my PC and pulled the file from there (thinking that maybe newer).


In any case, I then copied the file to /Applications/GNU ARM Eclipse/OpenOCD/0.9.0-201505191004/scripts


Now when I run it, I get the error:

/Applications/GNU ARM Eclipse/OpenOCD/0.9.0-201505191004//scripts/kinetis.cfg:11: Error: invalid subcommand "newdap kinetis cpu -irlen 4"

in procedure 'script'

at file "embedded:startup.tcl", line 60

in procedure 'cmsis-dap' called at file "/Applications/GNU ARM Eclipse/OpenOCD/0.9.0-201505191004//scripts/kinetis.cfg", line 11



Does anyone have a solution?