Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update current version to 1.15.3

Anchor
main
main

Info
titleDownloads


Warning
titleDevice config not saved?

When upgrading the Lobaro Tool from version v1.4.x or earlier you have to hit "F5" or "Site full reload" in your browser once the Lobaro Tool started! 

Otherwise your device config can not be saved! This is because your browser caches the incompatible frontend from earlier versions.

Supports the PC based configuration of all Lobaro IoT sensors.

It is intended to be used in conjunction with our USB configuration adapter.

Features

  • Change static sensor configuration
  • Perform firmware updates for your Lobaro devices
  • Live monitoring of device diagnostic output
  • Save diagnostic output into *.txt file

System Requirements

  • Operating system:

    • MacOS X
    • Windows 7/10
    • Linux
  • Browser

    • Firefox
    • Chrome
    • Edge
Note
titleUSB Driver

The CP2102 USB driver MUST to be installed before using the Lobaro-tool.

CP2102 Driver Download

Download & Installation

macOS / Linux

After downloading the "lobaro-tool" file, e.g. to a directory "lobaro" in your home path. Then make the tool file executable:

Panel

cd ~/lobaro
chmod +x lobaro-tool
./lobaro-tool


Info
titleInfo

If MacOS shows up a security warning and refuses to start the tool: You can solve this by right-clicking the lobaro-tool file, selecting open and overrule the warning.

Windows

After downloading simply start the "lobaro-tool.exe" with double click.

Alternativly download the windows installer and start this.

Note
titleNote

Windows might show up a security warning and ask you to proceed anyway. This behavior is normal.

Anchor
phys
phys
Physical connection

Connect your Lobaro Device to the USB-port of your computer using the Lobaro Config Adapter. The 6-pin connector must be plugged into the white rectangular socket on the device that is labeled with the word CONFIG. The location of the socket is dependent on the specific device and hardware version you are trying to attach.


Note
titleMake sure to use the port labeled CONFIG

Some of our devices have multiple sockets the connector fits into. Be sure to use the correct one, the one labeled CONFIG!


 

The LoRaWAN Board (left image) can be powered by the config adapter. Other devices, like the NB-IoT/LTE-M boards or the wMBus LoRaWAN Bridge V2, need to be connected to their normal power supply. If in doubt, just make sure you have the device powered!

Anchor
soft
soft
Software connection

When your device is successfully attached to your computer, you can build a connection with the Lobaro Maintenance Tool:

Under Hardware Connection select auto and click Connect, as seen in the screenshot above. If you know to which port the device is connected to your computer (either COM or ttyUSB), you can alternatively select it explicitly instead of using auto.

Info
titleUART Connection

115200 Baud - 8N1 DTR (Boot): enabled, RTS (Reset): disabled (for starting in firmware mode).

Device Configuration

When you are connected to a Lobaro Device, you can use the Tab CONFIGURATION to read and change the configuration parameters of the Device. You can read out the current configuration from the device by pressing the Reload Config button (reading takes a few seconds).

Info
titleReading/changing config reboots the device!

Every time you use one of the buttons Reload Config. Write to Device, or Restore Default, the connected device will be rebooted! Also keep in mind that the operations triggered by pressing the buttons include communication with the device over a serial bus and they will take a few seconds.

To avoid errors, please do not press those buttons repeatedly!

When the configuration is read, you can alter the parameters by clicking on the pencil icon on the right. Values that you changed will by printed in bold font. When you have adjusted all values you want to change, you must press Write to Device to actually change anything on the Device. Writing the values will reboot the device.

The Button Restore Default will reset all config parameters of the connected Device to their internal default values. The device will reboot, and the listed values of the configuration in the Lobaro Maintenance Tool well be updated.

Note
titleAlways reload the config before changing it!

When you are working with multiple devices, make sure that your always press Reload Config after attaching a new device before you start updating values. If you fail to do so, you might accidentally transfer values from the previously attached device to the newly connected. This is especially a problem when working with LoRaWAN sensors, as you will copy the DevEUI from one device to the other!

You can watch the rebooting of the Device and check the altered configuration parameters by locking in the LOGS Tab.

Device Logging

 

All of our Devices provide extensive logging information over the CONFIG port. When you are connected to a Device in the Lobaro Maintenance Tool, you can read the log messages in the LOGS Tab. This feature is helpful if you try to find out the cause of problems you experience. You can also find out a lot of information about your Device, for example you can find the parameters used to connect your LoRaWAN Devices to your Network Server (DevEUI, AppKey, etc.).

All messages are displayed in the big text area, each line is prefixed by the time it is received (using the clock of your computer). You can use Clear Log to start again with an empty text area. The cleared messages will still be available through the log files that the tool creates.

When starting, our devices print out their current configuration parameter values. Most Devices also have a power on test, that checks if attached sensors can be read successfully. Any Problems that the Device detects will be printed to the log.

Restarting

The LOGS Tab also contains a button Run (reset). This button triggers a reboot of the attached device. This can be useful when you start working with your device or if you try to fix issues with connected sensors.

Log files

The log is also written to a file on your computer whenever a Device is attached to the Maintenance Tool. Every time you start the Lobaro Maintenance Tool, a new log file is created. When you press the button Show Log Files, a file browser is opened at the location where log files are kept.

Sending to the Device

Below the text area is an input field Send via UART. Text entered here (and confirmed with Enter) will be sent to the connected Device via UART. Some of our Devices use this feature, for example the LoRaWAN Modbus Bridge for its interactive Dialog Mode.

Log parsing

If need to parse the log messages of one of our Devices with your own tools, you can connect to it without the Maintenance Tool by using any serial UART reader. You can find the UART parameters at the page for our Config Adapter.

Updating Firmware

Our devices are shipped ready to use with firmware installed on them, so normally you do not need to install firmware yourself. However, over time we sometimes add new features to our devices or fix bugs that come up over time. If you want to use those improvements for devices all ready shipped to you, you can update the firmware yourself.

Firmware updates with our config adapter vs. firmware update over the air (FUOTA)

This page describes how you install firmware on devices that you have physical access to. This can be done for most of our devices, those using LoRaWAN and those using NB-IoT/LTE-M.

Our NB-IoT/LTE-M devices also support installing firmware over the air, without physical access. This can currently only be done by Lobaro.

Getting the Firmware

You will need the Firmware you want to install to your device as a file on your computer. You can get the latest Firmware files from this site, the Lobaro Online Documentation, on the Firmware subpage for your Device. The files are in a format called Hex and are therefore also called Hex-File. The filename always starts with app- and contains the version number as well as a short description of its function and the hardware it is used for. So, for example, app-nrf9160-wmbus-TZ2-0.3.1-mcuboot-slot0.hex contains firmware for our wMBus-Gateway on NB-IoT-Hardware (nrf9160) in version 0.3.1.

In some cases you will get a hex-file provided directly by Lobaro, when we develop a specialized solution for you.

Make sure you install the correct Firmware for your hardware!

If you install Firmware for a different hardware you will get unpredictable results.

Installing Firmware

Make sure your Device is successfully attached to the your computer and the Maintenance Tool is connected, as described above. In the Tab FIRMWARE you can select the Firmware file you want to install using the button Select Hex File. This will open a file selection dialog, where you can select the hex-file with the Firmware you want to install to your Device. To start installing you need to press Flash Hex File. The upload will take several seconds; progress will be displayed by the blue progress bar. It turns green on successful completion. You can verify the installation succeeded and your Device is now running the correct version by checking the LOGS Tab.

You should also take a look at the Configuration Parameters. When an update adds new features, there might be new Configuration Parameters to set, or some existing Parameters might work differently. Check the Firmware's Changelog to see what changed between versions and what you have to look out for, for your individual Firmware update.

Changelog

Markdown
LinkifyHeadersfalse
### 1.10.0

#### Added
- Show firmware name in UI
- Support for nrf62 with Lobaro bootloader

### 1.9.5 - 2021-01-19

#### Fixed
- Fix duplicate log entries when multiple browser tabs are open

### 1.9.4 - 2021-01-08

#### Fixed
- Bug where hardware.csv gets corrupted entries
- Display of device Serial in Firmware tab is more consistent
- Remove some debug log

### 1.9.3 - 2020-12-17

#### Fixed
- Bug where one device in csv gets the configuration of another device
- Devices with different configs are not saved in the same CSV anymore

#### Changed
- The CSV file does not contain the date anymore

### 1.9.2 - 2020-12-10

#### Fixed
- Bug where flashing is aborted due to an internal error

#### Changed
- Name of hardware csv to "yyyy_mm_dd-hardware.<hash>.csv" where <hash> is a hash over the header columns

### 1.9.0 - 2020-12-01

#### Added
- Checkbox to restore default config after flash
- Commandline flag --restoreCfg for "flash" command to restore default cfg after flash

#### Changed
- Throttle log output to websocket to increase browser performance

### 1.8.2 - 2020-07-24

#### Fixed
- Display of testresult
- Parsing of firmware name more flexible. Supports "Firmware: <name of firmware>"

#### Changed
- Display of test results is more responsive and up to date
- Show timeout in testresults

### 1.8.1 - 2020-05-29

#### Added
- Display device serial on Firmware page

#### Fixed
- Flash is restarted when device info can not be read

### 1.8.0 - 2020-05-27

#### Added
- Firmware tab button to "Read & Save Device Info" of the connected device
- lobato-tool.log.txt file in log folder with log of the lobaro-tool itself. Only logs for last start are saved.

#### Changed
- Reduce CPU usage due to serial read, especially on Linux
- hardware.csv file gets backed up with timestamp when loading failed to avoid data loss
- hardware.csv now contains one column "cfg:<key>" per config value

### 1.7.2 - 2020-05-06

#### Fixed
- Fixed a bug that increased the time to flash firmware

### 1.7.1 - 2020-04-30
#### Added
- NB-IoT Devices in hardware.csv
- Firmware in hardware.csv
- Time zone in hardware.csv

#### Fixed
- Remove redundant resets after flash

### 1.6.4 - 2020-03-23
- Move logs to "logs" subdir
- Add hardware.csv file with information about flashed devices
- Improve handling of websockets
- Display Device Info and Test Results on Flash tab

### 1.5.5 - 18.02.2020
- Parameter --uart-connect to automatically connect to given 'comport'
- Parameter --uart-reconnect to automatically reconnect on uart disconnect

### 1.5.4 - 11.02.2020
- Fix a bug where the configuration can not be changed

### 1.5.3 - 06.02.2020
- Add flash -t command line argument to speedup manual flash startup time

### 1.5.2 - 05.02.2020
- Avoid browser caching of frontend code

### 1.5.1 - 31.01.2020
- Support nRF9160 Config and Firmware update on Lobaro hardware
- Improve progress indicator and error checks during Flash

### 1.4.10 - 11.10.2019
- No relevant changes

### 1.4.9 - 17.09.2019
- Fix a bug where flashing firmware fails due to UART buffer issues

### 1.4.4 - 11.09.2019
- Fix a bug that failed to flash very big firmware files.
- Add delays when communicating with Bootloader to avoid timing issues.
- Flash command now support --verbose flag

### 1.4.3 - 30.07.2019
- Fix a bug where writing the config does not work.

### 1.4.2 - 29.07.2019
- Fix a bug where the program hangs up while connecting to a wrong serial port in "auto" mode.
- Fix a bug where the tool crashes when flashing the firmware while not connected.

### 1.4.0 - 10.08.2018

- Log Tool events like Connect, Disconnect, Read Config, etc. to UART Log
- Switch to firmware mode after connecting with "auto" port

### 1.3.4 - 09.08.2018
- Always switch to Firmware run mode after: Connect, Load Config, Restore Config.

### 1.3.3
- Internet Explorer support

### 1.3.2 - 09.07.2018
- Fix reading configs bigger than 256 Bytes (needed for wMbus Bridge)

### 1.3.0 - 21.03.2018
- Improve connection detection
- Allow to connect to specific serial port
- Do not reset to boot mode when connecting to selected serial port

### 1.2.5 - 07.03.2018
- Fix issues with loading a configuration file. Default is now "config.yaml"
- Remove horizontal scrollbars in tabs
- Add "Set Time" button to send "time=<now>" via UART
- Add send UART input below Log
- Display if Firmware or Booloader is running
- Add success message when loading config

### 1.2.4 - 07.03.2018

- Allow to replace assets e.g. the logo by placing /assets/logo.png next to the executable

### 1.2.3 - 05.03.2018
- Log Timestamp in UART log file on disk
- Allow to set http server ip and port to allow remote access

### 1.2.2 - 19.02.2018
- Fix CBOR decoding error that was introduced in 1.2.0 (see: https://github.com/ugorji/go/issues/232)

### 1.2.0 - 16.02.2018
- Fix Serial port issues that appear on MAC, Linux and in rare cases on Windows

### 1.2.0 - 15.02.2018
- Log UART output to file in $HOME/.lobaro/

### 1.1.x
- Restore Default Config
- Close button
- Closing the browser window now also shut down the server



Table of Contents