The present invention discloses a method of automatically downloading and
testing binary code for a customer premises telecommunications hub. When
a new binary file is received by the hub, it is loaded into flash memory,
but is not locked or designated as the currently active binary file. A
trial run message is then written into SDRAM identifying the new file.
The system if rebooted and starts up with the new file. A verification
process is run to determine if the new file functions properly. If it
does, the trial run message is deleted and the new file is locked into
flash memory as the current binary. If the trial fails, the trial run
message is deleted and the system is rebooted with the previous binary
file.