OpenOCD, Mac OS, FRDM-K64F

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

OpenOCD, Mac OS, FRDM-K64F

922 次查看
rajbatra
Contributor IV

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?

标签 (1)
0 项奖励
回复
1 回复

699 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Raj,

Please take a look to Joe's answer on your other post:

OpenOCD, Mac OS, FRDM-K64F

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 项奖励
回复