All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FRDMK64F for K64 processor

Running Shared RKH demo on Freescale K64F120 demostration FRDM-K64F. This is a guide to how to setup the demo board to evaluate the RKH framework. It assumes a prior knowledge on board features and development environment. On this demo, multithreading is reach through RKH uCosIII port defined by the Freescale KSDK OSA interface.

Folder tree

+-board - Low level KSDK access.
+-switch - Minimal debouncing switch handler.
+-prj - KDS "shared_frdmk64f_ucosiii_ksdk" project.
| bsp.c - Board support package source file.
| bsp.h - Board support package header file.
| os_cfg.h - uCosIII configuration file.
| os_cfg_app.h - Application specific uCosIII configuration file.
| cpu_cfg.h - CPU specific uCosIII configuration file.
| readme.txt - This guide file.

Eclipse project organization

This project use KSDK_1.2.0, you must set it's installation path to the PROJECT_KSDK_PATH variable, before to build.

+- bsp - Board support package files.
+- osa - uCosIII OSA abstraction.
+- rkh - RKH source files.
+- SDK - KSDK platform library for FRDMK64F.
+- shared - Shared demo aplication.
+- ucosiii - uCosIII source files.

Shared demo BSP

  • The RGB Led D12 shown which client request is running on server.
  • Each Client have your own color, Client 1-4: RED, GREEN, BLUE, YELLOW
  • Pressing SW2 button introduce a PAUSE event.
  • Paused state is shown with a WHITE in RGB led.
  • Tracing info through SDA Virtual COM interface at 115200 8N1.
  • Debugging info through UART3 at 115200 8N1 on J1 pins: 2(RXD), 4(TXD).
  • FRDMK64F is compatible with R3 shields, CuteDigi RS232 Shield can be used to adapt to RS232 levels the debugging info.