.copyfirmwarefromfilelzo Method (Selected Platforms Only)


Copies the data from an opened and currently selected file of the flash disk (selection is made through fd.filenum) into the TiOS/application area of the flash memory. The optional application binary portion of the file is expected to be LZO-compressed. After that, reboots the device to make it run new TiOS/application.





See Also:

Self-Upgrading the Firmware/Application, File-Based Access, fd.copyfirmware, fd.copyfirmwarelzo, fd.copyfirmwarefromfile, fd.copyfirmwarefromfilelzo


There is no need for a data length argument. The method will simply attempt to copy the entire contents of the file. The file is expected to start with TiOS firmware, optionally followed by an LZO-compressed compiled Tibbo BASIC/C application binary. If the file is smaller than the size of TiOS firmware for this platform, the execution will be aborted.

The decompression algorithm accepts data compressed with the lzo1x-999.exe utility.

Certain platforms do not support this method. Refer to your platform documentation for details.

On 32-bit platforms, this method will only work if your device has Monitor V2.00 or higher. Contact Tibbo Support for a free Monitor upgrader application.

A warning note icon.BE VERY CAREFUL! Using this method on incorrect data will "incapacitate" your device and further remote upgrades will become impossible. You will need to visit your device's site and upload correct firmware and/or application, possibly through its serial port. Scary, huh?

.copyfirmwarefromfilelzo Method (Selected Platforms Only)