This guide will provide instructions to install the development environment needed to compile and debug the demo firmware for the FRDM-K82L. The development system is multiplatform, it supports Windows and Linux. This guide is written using Windows. The main steps are:
We used Kinetis Design Studio 3.2.0, press on Downloads for Kinetis Design Studio for Microsoft Windows.
Agree the terms and download the file Installer: Kinetis Design Studio 3.2.0 Installer for Windows.
Next, run the downloaded file kinetis-design-studio_3.2.0.exe following all the default options.
Will appear a list of boards, select the FRDM-K82F
Now it is necessary build the SDK package before to download. Click on Build SDK Package.
From the Software Vault link you will see the message Pending download approval. You have to wait some minute.
After the approval phase you will can download the SDK built. Accept the terms and download the evNXPv01.zip file.
Follow next steps:
- Unzip the evNXPv01.zip file into the workspace creating a new folder named SDK_2.0_FRDM-K82F.
- Download the sources of the DEMO_usb_device_video_flexio_ov7740 going here
- unzip it in the folder UNIT:\[YOUR PATH TO]\workspace\SDK_2.0_FRDM-K82F\boards\frdmk82f\demo_apps.
3. From the Kinetis Design Studio select File -> import. Then choose General -> Existing Projects into Workspace
- In Select root directory, click on Browse and select the path:
UNIT:\\[YOUR PATH TO]\\SDK_2.0_FRDM-K82F\\boards\\frdmk82f\\demo_apps\\DEMO_usb_device_video_flexio_ov7740The project should be automatically detected and selected.
- Click on Finish.
Before to build it’s necessary setup the configuration of the project to create the hex file to upload in the board.
- Click on Project -> Properties
- select C/C++ Build -> Settings
- click on the Toolchains tab, then check the options Create flash image and Print size.
- click on Apply
- After select the Tool Settings tab
- click on Cross ARM GNU Create Flash Image -> General
- choose as Output file format the Intel HEX option.
- click on Apply
- Apply the modifies clicking on Ok button
- build the project selecting Project -> Build All.
In UNIT:\[YOUR PATH TO]\SDK_2.0_FRDM-K82F\boards\frdmk82f\demo_apps\DEMO_usb_device_video_flexio_ov7740\bm\kds\debug folder you will find your hex file: dev_video_flexio_ov7740_bm_frdmk82f.hex.