TWR-K53N512

This Freescale tower board is based on the K53N512CMD100 which is a 100MHz device from the performance and integration K50 family with Cortex-M4 core, Ethernet, USB and SLCD (segment LCD). This K53 device has 512k Flash and 128k SRAM and is in a 144 pin MAPBGA. 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-K53N512

To configure the µTasker project for this board simply enable the define TWR_K53N512 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-K53N512 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-K53N512 should be built into a tower kit with TWR-SER for Ethernet and USB and also supplying a 50MHz clock - (in this configuration J11 must be set to 2-3 in order to use Ethernet) :

  • uTaskerSerialBoot_TWR-K53N512_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.5k] 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-K53N512'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-K53N512_8080.bin TWR-K53N512 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.
    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 [96.7k].
  • software.bin The same TWR-K53N512 application that can be copied to the SD card and will be loaded to the processor when the board starts [96.7k] (the name is required for it to be recognised - see the Serial Loader User's Guide for more details).
  • uTaskerV1.4.8_BM_TWR-K53N512_8080.srec The same TWR-K53N512 application that can be loaded with the SREC loader (see below) [278k].
  • uTaskerV1.4.8_TWR-K53N512.bin The same TWR-K53N512 application as stand-alone software that can be loaded using CodeWarrior's Flash utility via the TWR-K53N512's OSJTAG debug interface [97.7k].

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-K53N512 is set to the serial loader mode it includes a web server that is contactable on the fixed address IP 192.168.0.125. 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.


Return to the Kinetis landing page


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