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?
Solved! Go to Solution.
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
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
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!