Using the Firmware Upgrade Mode

Top  Previous  Next

This section describes the procedure for uploading TiOS (possibly combined with an application binary) onto a device using the firmware upgrade mode.

The firmware upgrade mode is the only remedy for a bricked device, i.e. the device that was loaded with incorrect or corrupt TiOS file.

The firmware upgrade mode is always available. It cannot be disabled.

The firmware upgrade mode of absolutely all programmable Tibbo devices has the ability to receive firmware files via a serial port (UART) using the XMODEM protocol.

The firmware upgrade mode of two devices — the EM500 and DS1100 — additionally supports network uploads.

 

Uploading through the serial port

In order to be able to do this you will need access to your device's only serial port or the first serial port in case your's is a multi-port device.

Your PC will also need to have a COM port. Built-in COMs are extremely rare these days. Fortunately, there are inexpensive USB-to-COM cables and adapters. Use one of these.

 

Tibbo Project System (TPS) devices have the TX and RX lines of their first serial port on Tibbit socket 1.

Plug Tibbit #01 (RS232) or #02 (RS232/422/485) into the socket 1. Plug Tibbit #19 (DB9M) into the socket 2.

Use Tibbo's WAS-P0005(B) green serial cable to interconnect the Tibbit #19 and the COM port of your PC.

 

Programmable serial controllers (DS1100, DS1101, DS1102) have a standard DB9M RS232 port.

Use Tibbo's WAS-P0005(B) green serial cable to interconnect the RS232 port of your controller and the COM port of your PC.

 

Boards (EM1001). At the moment there is no easy way to perform serial uploads on the EM1001.

The EM1001 doesn't have an RS232 port and there is no starter kit to plug it into.

A bit of soldering skills will be required to connect the TX0 and RX0 lines of the EM1001 to your COM port via an RS232 transceiver.

 

Modules (EM1000, EM1202, EM1206, EM500) have TLL serial port(s). You cannot connect them to a COM port directly. An RS232 transceiver IC is required for this.

Only the TX and RX lines of the (first) serial port are needed for the serial upgrade:

EM1000, EM1202, EM1206: use TX0 and RX0 lines;
EM500: use TX and RX lines.

You will also need to have a button connected to the MD line of your module. The button's other terminal should be grounded.

If your module is built into some other device then hopefully the designers of this device have provided access to the module's serial port and prepared the MD button.

If your module is "unattached" then you can plug it into the starter kit board we built for this module. All starter kits have RS232 ports and MD buttons on them.

Use Tibbo's WAS-P0005(B) green serial cable to interconnect the RS232 port of your starter kit and the COM port of your PC.

 

After you sorted out the serial connection to your PC, do the following:

Run the Device Explorer.
There is no need to select any device in the list. Click Upgrade... and choose Load Firmware Through the Serial Port (X-Modem).
You will be prompted to select the firmware file. This can be a TiOS firmware file or a TiOS + application binary combination.
After you've selected the file to be uploaded you will be prompted to pick the serial port. Choose the COM port you are using to perform the upgrade, then click OK.
The Serial Upload dialog will appear. The message inside will read Power up you device with the MD (setup) button pressed.
So, turn your device off if it was on. Press and hold the MD button and apply power to your device. Release the button — this should start the upload.
After the upload completes reboot (power-cycle) your device.

 

Performing the network upload (EM500 and DS1100 only)

In order to be able to do this you will need access to your device's Ethernet port.

 

The EM500 doesn't have an RJ45 jack.

If your module is built into some other device then you can only use the network upload if the host device provides a proper Ethernet port with the RJ45 jack.

If your module is "unattached" then you can plug it into the EM500-SK starter kit, which has the Ethernet port.

Have your PC connected to the same network segment, as you usually do when you use TIDE.

 

After you sorted out the network connection, do the following:

Run the Device Explorer.
Click on your device in the list (it should appear there, When You Can't See Your Target offers troubleshooting tips).
Click Upload..., then Load Firmware Through the Network.
You will be prompted to select the firmware file. This can be a TiOS firmware file or a TiOS + application binary combination.
After you select the file and click OK the upload will start.
After the upload completes reboot (power-cycle) your device.