9
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
tend to execute very quickly, and the queue ensures events are not forgotten.
Getting Started
Below is a walk-through for a starter project which is written specifically for the
EM202-EV and DS202.
Once you are done with this project, you will be able to press the button on the
EM202-EV or DS202 and watch the LEDs blink "Hello World!" in Morse code.
This project would actually run also on the EM202, EM200 and EM120
modules. However, these modules cannot work on their own, and you
cannot easily test with them.
Preparing Your Hardware
Preparing a DS202
Before starting to use TIDE, you should upload the correct firmware to a DS202.
Perform the following steps:
Get tios_EM202_xxx.bin firmware file (the latest version) from the Tibbo
website. _100 in this filename stands for version 1.00, for example.
Connect the DS202 to power (preferably, use adaptor supplied by Tibbo).
Connect the DS using a network cable (WAS-1499 or similar) to the same hub
your computer is connected to, or directly to the computer with a cross network
cable (WAS-1498 or similar).
Make sure your local firewall (such as the XP SP2 firewall) is disabled or does not
block broadcast UDP messages. This is essential for communications between
TIDE and the DS202 while debugging.
Run Device Explorer (Start > Programs > Tibbo > Tibbo IDE > Device Explorer).
You should see your device on the list. Select it.
Click Upload > Load Firmware Through the Network.
Select the firmware file, and click OK.
The firmware will now be uploaded.
For some firmware versions, you now have to manually reboot the DS
(Disconnect and reconnect the power cable). The red Status LED should now
blink rapidly. This is OK -- it means the TiOS firmware is loaded and the
application program memory is empty.
Proceed to
.
Of course, once you upload a device with the TiOS firmware, it is no
longer a Device Server! So you cannot see it under DS Manager. You
could program it so it would respond to DS Manager -- but by default it
is a 'clean slate', and does not respond to DS Manager broadcasts.
10