public class FWUpdate
extends java.lang.Object
Facilitates remote update of nodes.
Currently this is only for single nodes, but will in the future be used to support broadcasted
network wide updates.
The FW update tool actually writes images in reverse order. It does this as a safety feature.
First it clears the first block of the image. This will prevent the FPGA from recognizing the
image. Then it will write the blocks in reversed order, e.g. it will start writing the last block
first and continue downward until it writes the first page.
This scheme will ensure that the image will not be recognized by the FPGA until it has been
completely written. If power fails during writing, the FPGA will simply not load this image, and
proceed to an image which is runnable.
- Author:
- vincentb