Angus Galloway

How to use FRDM-K64F-AGM01 with KDS 3.0.0

Discussion created by Angus Galloway Employee on May 22, 2015
Latest reply on Dec 16, 2015 by Mike Stanley

If you have recently purchased an AGM01 kit, you may have noticed that it comes with projects that were made for CW 10.6 and KDS 1.1.1. The latest recommended IDE for Kinetis parts is KDS 3.0 with an optional KSDK. Until the download on the webpage is updated, you must do a few things to get up and running in KDS 3.0. This guide is for people who just want to use the sensor library without having to dig into the KDS documentation.



1. Go to File > Import > Existing Projects > Browse > {directory_where_you_extracted_the_sensor_ fusion_library} > {Project}. Ex. FSFK_K64F

2. When you first import a project, a dialog pops up asking if you would like to load a newer component version for MQXLITE, I clicked Yes to All.


Loading project components.PNG

If you try to clean and build the project at this stage, you get an .elf error as the linker can't find nanolibc, even though the Libary search path is set correctly "${ProjDirPath}/Project_Settings/Linker_Files".


3. Right click on the project > Properties > C/C++ Build > Settings > Cross ARM C++ Linker > Miscellaneous > Other linker flags = -specs=nano.specs -specs=nosys.specs.




After that the project compiles with a few warnings and you can setup a debug configuration by right clicking on the project > Debug as > Right click on debugger type > New and it should auto-fill the project and C/C++ application, but be sure to specify the right device in the "debugger" tab.




Then hit the Debug and you're away!