TWR-K60D100M

This Freescale tower board is based on the K60DN512VMD10 which is a 100MHz device from the performance and integration K60 family with Cortex-M4 core, Ethernet and USB. This K60 device has 512k Flash and 128k SRAM and is in an 144 pin MAPBGA, whereby the K60 is also available in 100 LQFP, 121 pin MAPBGA or 144 pin LQFP and its memory ranges from 256k...512k Flash with 64k...128k SRAM. There is a 50MHz oscillator on the board for clocking the part and the board is often used in the tower kit together with the TWR-SER board which supplies the Ethernet interface.

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

To configure the µTasker project for this board simply enable the define TWR_K60D100M 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_512_128.ld should be selected [K_512_128_BM.ld for downloadable version] {the linker script extension may vary for different compilers, whereby *.ld is valid for GCC}

TWR-K60D100M 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 (the TWR-K60D100M should be built into a tower kit with TWR-SER for Ethernet and USB and also supplying a 50MHz clock - for suitable jumper settings see the µTasker Kinetis K60 demo user's guide) :
Note that for USB device mode the TWR-SER's jumper J16 needs to be at position 3-4 so that the USB 5V can be taken from the bus.

  • uTaskerSerialBoot_TWR-K60D100M_KBOOT_HID_UART_MSD_SDHC.bin KBOOT compatible USB-HID loader with composite USB-MSD loading, as well as KBOOT UART loading on UART 3 (available on TWR-SER RS232 interface or OSJTAG virtual COM) at 57'600 Baud, or from an inserted SD card [24.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 or as a file on the SD card).
    When operating, the orange LED blinks at 5Hz. To force the loader, reset the board with push button SW2 held down. To disable the watchdog, reset the board with push button SW1 held down.
    This can be loaded using CodeWarrior's Flash utility via the TWR-K60D100M's OSJTAG debug interface. Note that the loader limits application sizes to 130k - it can be built without limits using the µTasker project. When forcing the boot loader, hold the switch for about 5s; this ensures that the application is not started once the SD card check has completed.
  • uTaskerV1.4.8_BM_TWR-K60D100M_8080.bin TWR-K60D100M application with command-line menu on the UART 3 (TWR-SER RS232 interface at 115'200 Baud or OSJTAG virtual COM) with various menu items. Output from the on-board accelerometer can be viewed in the I2C menu. The USB device is USB-MSD and so the board appears as a hard drive to the PC when the SD card is inserted into the socket on the board. Files can then be read and written to the SD card from the PC and also worked with via the DOS-like command line interface in the disk-interface sub-menu.
    The processor runs at 96MHz. [100k].
    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 orange LED blinks at 2.5Hz.
    The application includes Ethernet TCP/IP operation on a default IP address of 192.168.0.3, which can be modified in the command line menu if desired. The command line menu is also available via Telnet and the web server will serve pages found on the SD card in a directory called "web", where the start page should be named "index.htm". The FTP server also allows the contents of the SD card to be viewed and modifed.
    Low power modes can be set in the application menu and the processor runs at 96MHz, to allow USB operation.
    Warning: The TWR-K60D100M board has a jumper (J1) controlling the reset line to the tower backplane elevator. The default setting is to be connected with PTE27. This is however also conected to the write protect switch of the SD card, meaning that the SD card switch setting can hold the reset line at '0'. The PHY on the TWR-SER is also connected to this reset line and Ethernet will not operate if held at '0'. Since the reset output is not required by the application it is recommended to remove the jumper to avoid any possible complications - the port outputs that could be used as reset outputs are not controlled by the software.
  • software.bin The same TWR-K60D100M application that can be copied to the SD card and will be loaded to the processor when the board starts [100k] (the name is required for it to be recognised - see the Serial Loader User's Guide for more details).
  • uTaskerV1.4.8_TWR-K60D100M.bin The same TWR-K60D100M application as stand-alone software that can be loaded using CodeWarrior's Flash utility via the TWR-K60D100M's OSJTAG debug interface [101k].


The Web server will first look for a start page on the SD card called "index.htm" in a director called "web". If the SD card is not inserted, or the directory/file not exist it will fall back to using files from the µFileSystem in internal Flash. The following set of internal web pages can be loaded to the board by executing the file "Copy_all.bat". This will open an FTP connection to the board (edit the IP address in the file if a different IP address is used) and automatically copy the list of files in "ftp.txt". Alternatively the copy can be performed manually with an FTP client. After loading, the web server will work with these files rather than showing a 404 error when there is no content.

USB-MSD Host Bootloader Loader

This bootloader is configured for operation with a USB memory stick using the serial loader's project define USB_MSD_LOADER together with USB_MSD_HOST which configures for USB host rather than USB device (without USB_MSD_HOST the device mode is used). The operation of the loader is then equivalent to the SD card loader whereby the software to be loaded is searched for on an attached memory stick rather than on an SD card. The same software.bin file can be used as with the SD card loader and the upload size is limited to 108k.

Debug output on the TWR-SER's RS232 interface at 115200 Baud allows details of the operation to be monitored.

Note that for USB host mode the TWR-SER's jumper J16 needs to be at position 1-2 so that the USB 5V can be switched to the attached memory stick.


Composite USB MSD / CDC device

This standalone application is configured for operation as USB composite device with USB-MSD and USB-CDC classes. The USB-CDC interface operates as debug menu interface and the USB-MSD interface operates with emulated FAT, as described in µTasker - FAT Emulation

Debug output on the TWR-SER's RS232 interface at 115200 Baud and is automaticalyl switch to the USB-CDC output when the USB cable is connected.



The following drivers can be used with this device

  • uTaskerFreescaleMultiVirtualCOM.inf USB CDC installation file for 32-bit windows (usable for 1..6 USB-CDC composite interfaces).
  • uTaskerFreescaleMultiVirtualCOM_64bit.inf USB CDC installation file for 64-bit windows (usable for 1..6 USB-CDC composite interfaces). See the following for a guide to installing unsigned drivers on Windows 8.1

  • Return to the Kinetis landing page


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