This Freescale tower board is based on the K60N512VMD100 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 a 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-K60N512

To configure the µTasker project for this board simply enable the define TWR_K60N512 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-K60N512 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-K60N512 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) :

  • uTaskerSerialBoot_TWR-K60N512_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-K60N512'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-K60N512_8080.bin TWR-K60N512 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 120MHz. [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, 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.
  • software.bin The same TWR-K60N512 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_BM_TWR-K60N512_8080.srec The same TWR-K60N512 application that can be loaded with the SREC loader (see below) [289k].
  • uTaskerV1.4.8_TWR-K60N512.bin The same TWR-K60N512 application as stand-alone software that can be loaded using CodeWarrior's Flash utility via the TWR-K60N512'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.

Serial Boot Loader with Ethernet Web Server, USB-MSD, KBOOT-USB-HID, UART SREC

The following µTasker serial loader version is configured to include Ethernet web server loading operation instead of SD card loading. When the TWR-K60N512 is set to the serial loader mode it includes a web server that is contactable on the fixed address IP Once connected from the browser of your choice it displays whether application software is loaded or not, giving the capability to delete an exiting application and upload binary files linked to the address 0x8080 (see application above). Details of the web server loader operation and passwords to perform application erases and execute a mass erase see the µTasker Serial Loader User's Guide.
This serial loader configuration also supports USB-MSD, KBOOT compatible USD-HID and UART SREC (115200 Baud) modes.

Selective ADC Range Operation

The following µTasker application demonstrates the use of selective ADC range operation by configuring the ADC input connected to the TWR-K60N512's potentiometer to react only to samples outside of the voltage range 1.3-2.6V. When the potentiometer voltage is outside this range its sampled value will be written to the debug output (TWR-SER RS-232 connection) twice a second. When within the range the ADC doesn't interrupt the processor and so there is no output displayed. Details of the configuration and the ADC's operation can be found in µTasker ADC/DAC User's Guide.

Return to the Kinetis landing page

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