.Copyfirmware Method |
Top Previous Next |
Function: |
Copies the specified number of sectors (starting from logical sector 0) from the data area, and into the firmware/application area (starting from physical sector 0) of the flash memory, then reboots the device to make it run the new firmware/application. |
Syntax: |
fd.copyfirmware(numsectors as word) |
Returns: |
--- |
See Also: |
Upgrading the Firmware/Application, Direct Sector Access fd.buffernum, fd.getbuffer, fd.setbuffer, fd.getsector, fd.setsector, fd.checksum, fd.copyfirmwarelzo |
Part |
Description |
numsectors |
Number of sectors to copy. |
Details
Certain platforms do not support this method. Refer to your platform documentation for details.
|
BE VERY CAREFUL! Using the fd.copyfirmware on incorrect data will "incapacitate" your device and further remote upgrades will become impossible. You will need to physically go to your device and upload correct firmware and/or application, possibly through its serial port. Scary, huh? |