TABLE OF CONTENTS



1. Think twice

Please have a look at the TCR Firmware Changelog to find out if a new firmware does add any functionality you want.

Never update a system that is running perfectly. 


NOTE: Hardware Revisions 03, 04, 05 is needed. Please find 1714-PCB0000-03 or 1714-PCB0000-04 or 1714-PCB0000-05 printed on the mainboard.




2. Firmware Update using Batch-Script



Contact your reseller for getting the latest DFU archive for your device. 
Your reseller will support you with the update process.

If you have purchased the device directly from Parametric, please write to support@parametric.ch and specify the serial number of the device.



Put device into DFU mode



  1. Connect a USB-MicroUSB to CONFIG port of your TCR
  2. Press and hold the BOOT Button 
  3. While holding the BOOT button, plug the other end to your Windows 10 PC
  4. The device will enter DFU mode.

    No LEDs blinking, and you should find either "STM Device in DFU Mode" or "STM BOOTLOADER" in Windows Device Manager under USB Devices.



Start Device Firmware Update

Unpack the firmware archive and execute Update.bat



DFU will start with erasing the device...




... and then programming the new firmware


 

3. Extra steps when updating from V1.x to V2.x 

If you are updating the firmware from a V1.x firmware such as V1.3.2 to V2.0.0 you need to execute the following additional steps. 


Connect to TCR using RealTerm

Connect the cable to PCR2 and PC and open a terminal emulation tool such as RealTerm.

Open Windows Device Manager and look for the Serial port number of your TCR.

Select the port and open it in RealTerm


Tick 'Half Duplex' to see also the commands you send.


Set DeviceType  

Choose the command sequence for your device from the table below.
Type the commands into the input fields and then click 'Send ASCII". Enable +CR+LF.
 


If you own a......execute
TCR-xxxxx-LS
set type 0
save
TCR-xxxxx-LSS
set type 1
save
TCR-xxxxx-HS
set type 2
save
TCR-xxxxx-HSS
set type 3
save
TCR-xxxxx-LSA
set type 4
save
TCR-xxxxx-LSB
set type 5
save
TCR-xxxxx-HSA
set type 6
save
TCR-xxxxx-HSB
set type 7
save
TCR-xxxxx-LSBS
set type 8
save
TCR-xxxxx-HSBS

set type 9
save





 

Set LoRaWAN Region

All LoRaWAN regions are included in the same firmware now and can be switched on request.

You need to set the region once when updating from a firmware prior V4.0.0


If you own a......execute
TCR-EU868-xx
set conntype 1
save
PCR2-AS923-xx
set conntype 2
save
PCR2-AU915-xx
set conntype 3
save
PCR2-US915-xx
set conntype 4
save





Check device type string

After unplug/replugging the device, you may check the device type string by sending a get typestr command.






Troubleshooting


Windows USB Driver Issues

If you plug in a device, for the vast majority of Windows users the driver installation just works fine. 


However, for some of our customers the automatic driver installation does not work or an old driver is still installed and needs to be removed. It is definitely not fun to fumble around in the driver hell of Windows. Therefore we recommend using the Zadig Tool to clean up.


Install WinUSB Driver with Zadig


Zadig is a Windows application that installs generic USB drivers, such as WinUSB, libusb-win32/libusb0.sys or libusbK, to help you access USB devices. It is also useful to uninstall broken drivers.



  • Download Zadig from here: https://zadig.akeo.ie/
  • Open Zadig and choose Options>List All Devices to show all USB devices
  • Connect your device while holding the BOOT button
  • Select "STM32 BOOTLOADER" or "STM32 Device in DFU Mode"
  • Select "WinUSB" and press the "Replace Driver" button
  • Try again with the update procedure above

Further Issues

Our updaters use the DFU mechanism integrated in all STM32 microcontrollers.


DFU mode is started by holding the "BOOT" button while powering the device. 

When device is in DFU mode you should see  "STM Device in DFU Mode" or "STM32 BOOTLOADER" under USB-Controller when opening Windows Device Manager.



If this is not the case please follow all steps below before contacting Parametric's Support.

  • Use Windows 10
    Our tools are developed and tested with Windows 10 (64Bit) only.

  • Admin Rights
    Make sure your account does have the rights to install device drivers. Check with your PC Admin.

  • Connect USB cable directly
    Do not use an USB extension cable or USB hub between your PC and the device.

  • Use another USB cable
    Retry with another USB-to-MicroUSB cable as your cable could be broken or of bad quality or does not have the data lines at all.

  • Use another PC
    Please try the same procedure with another PC or notebook.

  • Try with another device
    If you do have another device handy, try the same procedure