Is OpenOCD supported now for the MacOSX

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

Is OpenOCD supported now for the MacOSX

跳至解决方案
1,629 次查看
aerodame
Contributor III

I've just downloaded the latest KDSv3, installed in my Mac, but all of the older posts claim that OpenOCD is not compatible with MacOSX and FRDM-K22F.

 

I just want to do a simple download and debug and it is enormously confusing with seemingly contradicting information out there on which driver works and what configuration files to use, etc.

 

Do we use OpenSDA (from SEGGER) or OpenOCD (from who?)  What's been tested?  WHere are links to everything that is needed and why isn't all of this right on the home page of the FRDM-K22F?

标签 (1)
1 解答
1,312 次查看
BlackNight
NXP Employee
NXP Employee

Hi Stephen,

what comes with KDS V3.x for Mac OS X is Segger J-Link support. You can load the Segger J-Link firmware from Segger on the OpenSDA K20 debug chip on the FRDM-K22F and then it acts like a Segger J-Link (see as well https://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/ , but it is for K64F, the same applies pretty much to the K22F).

Have a look at OpenSDA Serial and Debug Adapter|NXP  about all the OpenSDA information.

I hope this helps,

Erich

在原帖中查看解决方案

2 回复数
1,313 次查看
BlackNight
NXP Employee
NXP Employee

Hi Stephen,

what comes with KDS V3.x for Mac OS X is Segger J-Link support. You can load the Segger J-Link firmware from Segger on the OpenSDA K20 debug chip on the FRDM-K22F and then it acts like a Segger J-Link (see as well https://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/ , but it is for K64F, the same applies pretty much to the K22F).

Have a look at OpenSDA Serial and Debug Adapter|NXP  about all the OpenSDA information.

I hope this helps,

Erich

1,312 次查看
aerodame
Contributor III

Thanks... after a few fits and starts I finally decided to uninstall KDS and ensure that the Segger OpenSDA was installed properly by dragging the bin (JLink_OpenSDA_V2_1_2015-10-13.bin) to the bootloader folder on the Mac file system.

When I reinstalled KDS and tried a few example projects all is well!  I have to say it is fantastic to be able to develop on the Mac after all these years.  The FRDM-K22F and being able to just debug with a USB cable is wonderful!

0 项奖励
回复