This Freescale tower board is based on the K24FN256VDC12 which is a 120MHz device from the performance and integration K24 family with Cortex-M4 core and USB. This K24 device has 256k Flash and 256k SRAM and is in an 121 pin XFBGA thin-profile package, whereby the K24 is also available in 100 or 144 pin LQFP and its memory ranges from 256k or 1M Flash with 256k SRAM. There is an 8MHz crystal on the board for clocking the part. The K24 supports crystal-less FS USB device based on its internal 48MHz IRC48M oscillator and USB clock recovery.

Full details and documentation for this board can be obtained from the Freescale web site: TWR-K24F120M

To configure the µTasker project for this board simply enable the define TWR_K24F120M in the project's config.h file. The compiler needs to be set to build for Cortex M4 (and not Cortex M0+) and the linker script K_256_256.ld should be selected [K_256_256_BM.ld for downloadable version] {the linker script extension may vary for different compilers, whereby *.ld is valid for GCC}

TWR-K24F120M Binaries

Here are some binary files that can be loaded to the board. These were built using the µTasker applications (serial loader and V1.4 application) and can be simply generated using the supported compilers/IDEs [these were built using GCC], built using different configuration options or modified to suit specific requirements or hardware derived from this board :

  • uTaskerSerialBoot_TWR-K24F120M_KBOOT_HID_UART_MSD.bin KBOOT compatible USB-HID loader with composite USB-MSD loading, as well as KBOOT UART loading on UART 1 at 57'600 Baud [15.2k] allowing applications to be loaded at link address 0x8080 (using Freescale's KBOOT USB connection, or KBOOT UART at 57'600 Baud or USB-MSD when the board appears as upload hard disk). When operating, the orange LED blinks at 5Hz. To force the loader reset the board with push button SW1 held down. To disable the watchdog reset the board with push button SW2 held down. This can be loaded using the TWR-K24F120M's USB-MSD (OpenSDA) boot loader. Note that the loader limits application sizes to 70k - it can be built without limits using the µTasker project. The USB device operation uses the crystal-less USB mode.
  • uTaskerV1.4.8_BM_TWR-K24F120M_8080.bin TWR-K24F120M application with command-line menu on the virtual COM connection (115'200 Baud) with various menu items (as well as on UART1), including the ability to switch to USB-UART-1 bridge mode with end-to-end flow control. Output from the on-board accelerometer can be viewed in the I2C menu. Low power modes can be set in the application menu. The USB device is a composite USB-CDC, HID mouse and HID-keyboard device. The keyboard operation can be tested by pressing the push button SW1 which behaves as the 't' key. The mouse operation can be tested by using the push button SW2 which behaves as the left-click of a mouse. Drivers that can be used for this device are available below. The processor runs at 120MHz and the USB device makes use of the crystal-less mode. [36.7k].
    Linked to 0x8080, this binary image can be loaded with drag-and-drop onto the upload disk that appears when the serial loader is operating or using the KBOOT loader's USB or UART connections. When the application is running the yellow LED blinks at 2.5Hz.
  • uTaskerV1.4.8_TWR-K24F120M.bin The same TWR-K24F120M application as stand-alone software that can be loaded using the TWR-K24F120M's USB-MSD (OpenSDA) boot loader [37.7k].

  • uTaskerFreescale_mouse_kb_VirtualCOM.inf USB composite mouse/keyboard/CDC installation file for 32-bit windows.
  • uTaskerFreescale_mouse_kb_VirtualCOM_64bit.inf USB composite mouse/keyboard/CDC installation file for 64-bit windows. See the following for a guide to installing unsigned drivers on Windows 8.1

  • uTaskerV1.4.8_TWR-K24F120M_LLS_LLWU.bin Standalone TWR-K24F120M application that allows LLS mode wakeup via LLWU inputs to be tested as discussed in Low-Leakage Wakeup (LLWU) Support. Enter the LLS mode by commanding "set_lp 5" in the administrator menu, which will cause the board to 'freeze' in the low-leakage power state. Press the push button SW2 to wake the processor (LLWU_P10) so that it handles the event and prints out a message before returning automatically to the LLS mode again. Cause a falling edge on PTA13 (LLWU_P4) to wake the processor and cause it to return to a fully functional power mode. The processor operates at 120MHz when not in the low-leakage mode and is automatically restored to this speed on low power mode exits. [31.0k].

Return to the Kinetis landing page

µTasker Kinetis TWR-K24F120M support. Copyright (c) 2004..2015 M.J.Butcher Consulting