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.
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.
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.
Only the TX and RX lines of the (first) serial port are needed for the serial upgrade:
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:
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: