TKM32F499 Smart Board Downloads

Last Update: Jun 20, 2022 @ 17:18

This page contains downloads for English documentation and sample app firmware binaries created from the original docs and app codes provided by the Chinese OEM. These files are updated regularly as our project progresses. The User Manual CHM (below) is about 80% translated, being only the functionality we need. There is no information on the CAN Bus as we don’t use it.

No warranty is offered, however, if you find a documentation correction or clarification, do please let us know. The same applies to any source code.

NOTE that for security reasons, Windows requires that downloaded CHM files be unblocked (right-click properties) to allow content to be displayed.

The files and firmware binaries on this page are freely provided as a public service to interested developers. Please note that if security reasons necessitate it, we will place this page content into a UserID/Password protected page. The content will still be available for asking.

TKM32F499 User Manual CHM

The next three links display a PNG file in a window which can be captured. Press F5 to close the window.

TK499 Clock Configuration PNG

TK499 Block Diagram PNG

TK499 Memory Map PNG

SmartBoard Bootloader CHM Start with this as it explains how to set the board into flash loader mode over USB.

Bootloader binary (U-disk) BIN use is described in the above CHM.

SmartBoard Schematic with update notes ZIP

Image to .H hex array conversion. This is a PiXCL app. Includes .EXE, .DLL, .CHM and various image samples.

The screen displays below are created by the firmware binary (.bin) file on each display image link. Note our firmware revision level is 21.0 (i.e. 2021 build 0). These .bin files demonstrate the various capabilities of the SmartBoard with the 4.3″ 800×480 LCD.

Background image and sensor/control icons with transparency.
Download is about 2MB.
Backlight level control using PWM.
Capacitive Touch demo showing the five possible colours.
USB CDC Sample App. Connect a USB terminal and
type messages that get echoed on to the LCD.

True Studio Source Codes (files and projects)

True Studio 9.2 (TS) includes support for creating generic ARM Cortex-M4 projects (i.e. for any non-STM chip). The TS (and hence GCC) start-up file format is not the same as the OEM supplied start-up files in Keil supported format, so the data has to be converted using a TS generic start-up format file, and then updating use the Keil data as the source. This conversion is not particularly difficult, but it has to be correct, and it needs doing once only and included with all projects. The link below contains the TS compatible start-up files.

Note that in no case is any STM32CubeMX generated code or HAL libraries used. Converting HAL to support the TKM32F499 is not technically, ethically or license legally feasible.

Download File Set (33MB)

The TS project directory structure has been changed from the Keil directory structure for clarity and to provide a standard set for all the PiXCL modified and generated sample code sets.

For the TK499 Smart Board, two include files are always required.


LCD_TK1168.h This header lists the current LCD initialization and the set of graphics functions.

The file set (above link) contains the following directories:

  • TKM32F499_Keil_Sample_Project_File_Sets for review only. The BSP directory content (start up files) and format are the main issue.
  • Schematics_and_Docs includes User Manual and boot loader in .CHM files.
  • TKM499_Template demos the USB HID and LCD graphics
  • TK499_USB_to_UART i.e. a USB CDC device
  • TK499_LCD_TK80_SD that handles SD cards (max supported capacity unknown, probably 32 GB)
  • TK499_USB_Virtual_U_Disk that implements older MSD code, but seems to work.
  • Several others that demo useful stuff e.g. LCD Backlight PWM
  • Note the CMSIS directory that contains a subset of ARM files of the required (recent) version.

The USB samples each implement a single device class. Comparing the code for HID and CDC devices is very strongly advised as, while the code implementation is similar, the detailed differences (esspecially for IN reports and interrupts) are subtle.

Making a composite device of HID + CDC is feasible assuming you know how to set up the IN and OUT report specs.

Note that the TK499* samples are True Studio projects, and have the different directory structure than the OEM Keil projects. Note also the TS Startup directory that contain the converted . s. .c and .h files (BSP in Keil)

Do you have questions on the above? Contact us by email.