OTA firmware update tool for ESP8266

The Esp8266 device is a common microcontroller if you need wifi/wireless lan/wlan on a device.
Programming of the esp can be done using different environments and programming languages.
One quite popular method to programm this device ist the PlatformIO ecosystem.
One nice feature of the device is the option to do an over-the-air firmware update (OTA Update).
PlatformIO support this option, but does not provide a standalone firmware updater to flash the generated bin file to the device.
This means, if you want to use the OTA feature you need to have PIO installed.
This is not what a customer may want.
PlatformIO provide a cloud infrastructure do an update using the world wide web.
This is not what you may want.
Therefore we implemented a tool to update just the compiled bin file to the ESP device.

Mainscreen of the ESP8266 OTA flash tool
Mainscreen of the ESP8266 OTA flash tool

This tool is also available if the IoT device run in an local subnet or does not have access to the WWW for other reasons.
Customer will be able to update the device just by himself, using a PC and a local network.

Download user documentation

Download developers documentation

Download program

The program does not need an installation.
Just download the FlashEsp8266.zip with the link below.
Unzip the file to FlashEsp8266.exe and start the program.
Select a bin file and the IP target and click „Flash“.

Thats it! The program will transfer the bin file to the device in OTA mode.

The tool is industrial proved and used to update the gauge module M3 of our customer rAAAreware.

Messuhr Modul für Mitutoyo Messuhren
Funk-Messuhr Modul (WLAN) für Mitutoyo Messuhren

Delphi FMX TLang Component data creation

Creating TLang content external with text editor or spreadsheet

We give out TLang Converter for free: See at the end of the article how to get it!

Delphi FMX.TLang Component is suitable for simple translation / localization processes within MS Windows, Mac OS or Android projects.
Unfortunately the editor for the texts is not very comfortable.
There is a Import-Function for new languages in Text format, but this mean, on every text change you have to import all files for all languages new.
Further there are some bugs and issues in the internal editor.
Also there is no way to delete languages – e.g. to import them from an external file again.
This mean, every time you change some languages you have to clear the component and load all files one by one into the component. Handling many files for different languages is further very prone to failure and not very comfortable to handle.

To enable a more comfortable editing of text resources we developed a CSV converter for the TLang Text format.
This enable
– editing the texts all in one place such as in a spreadsheet program like LibreOffice, OpenOffice or Excel.
– generating the texts out of databases or other tools.

Delphi FMX TLang Converter

The converter read the CSV File (Ansi or UTF-8) and write the binary LNG output file.


Sample of a source spreadsheet to edit the language texts.

After you have created the file, you can load this file in TLang with the function „Load file…“ within the TLang property editor (Doubleclick on the TLang component).

The TLang component have to be „initial“ befor loading files.
Either you’ve just created it or you delete the binary content of the section „ResourcesBin“ inside the FMX resource file.

object Lang1: TLang
     Lang = 'de'
     Left = 208
     Top = 32
     ResourcesBin = {
       ... }

Delete the whole entry „ResourcesBin“ prior import the LNG file.

After you have loaded your LNG file do not edit the content within the property editor: There seems to be another bug and some texts will be mixed up.
Just close the property editor after loading the LNG file and trust everything is ok.

Sample Project to show the TLang functions

This program show the use of the TLang component. The strings were be loaded by the converter program into TLang. There are sample spreadsheet data in ANSI and UTF16 to show the handling of external data.


Follow this link to download a sample program for language switching.

This program include also code to do manual requests to the TLang component.

Manual Translations also can be done with the FMX.Types.Translate() function – so this is just an expamle how to work with the TLang component.

Usually the component translate everything on the form (or on its way to the form) itself. For example: When you assign a string to a TLabel, this string will be translated by the component, without any other code:

Label1.Text := 'English'

will result in

‚German‘ for that Label on the screen, if there is a according mapping in the translation resources of the component.
Non-styled components or dialogs do not support those mechanism. If you want to translate those texts, you have to do it by your own. Either you do this with the FMX Translate() or TranslageText() Function or with some code like this, using the TLang component:

Text1.Text := sTextManualF('English');

The routine to get certain text map entry out of TLang:

  function TfmMainSampleTLang.sTextManualF(sOrg: string): string;
  // translate a text, which is not in the automate translation process of TFmxObjects
   // first check, if the selected language has a mapping
    if Lang1.Resources.IndexOf(Lang1.Lang) >= 0 then
        // get the resource stringlist of the current language and get the translation
        result := Lang1.LangStr[Lang1.Lang].Values[sOrg];
        if result = '' then
          // text not found in mapping - keep original text
            result := sOrg;
      begin // language not found: must be the default language
        result := sOrg;

This routine of course could be placed inside a descendant of TLang individual to your project.


Getting the converter for free

We can give you the converter for free as freeware without cost.
Only thing we want is a link to our (this) homepage – to make this small company page a bit more famous 🙂

If you want to get the converter just send us a mail with the link and you got a free copy of the software.

Optional we offer services to do localizations or translations in our office here in Heidelberg for any Delphi VCL or FMX project.

Please contact by our main mail address in the contact page.


For very complex localization tasks you may want to use a external tool like
– but for smaller projects or simple translation purposes we think, the TLang Component is not that bad than some may think after their first experience – especially if you use our converter.


Die Comdirect Bank liefert die Kontoauszüge als PDF Datei. Sollen Buchungsdaten elektronisch weiterverarbeitet werden – z.B. um Statistiken über Finanzen zu erstellen oder um Zahlungseingänge automatisiert zu überwachen – kann dies nur schwer durchgeführt werden. Das von uns entwickelte Konvertierprogramm „Elektronischer Kontoauszug Konverter“ dient dazu, die von der Comdirect Bank erstellten elektronischen Kontoauszüge „Finanzreport“ zu konvertieren und die Ergebnisse in eine Datenbank oder in eine Komma-Separierte Datei (*.CSV) zu schreiben. Diese Daten können dann in einer eigenen Anwendung oder mit Büroanwendungen wie OpenOffice/LibreOffice, MS Office (MS Word, MS Excel oder MS Access) oder Finanzprogrammen wie StarMoney oder MS Money weiterverarbeitet werden.


Die Software wurde 2014 komplett neu programmiert und ist nun in trAAAde Konto integriert. Dieses Programm konvertiert nicht nur ComDirect Finanzreports sondern auch eine Reihe anderer Kontoauszugsformate.

Besuchen Sie die trAAAde Internetseite, um Informationen über das aktuelle trAAAde Konto Programm zu erhalten.

Für professionelle Nutzer können wir ergänzend individuelle, projektspezifische  Programmierungen in diesem Umfeld anbieten.