The invention discloses a novel
system and method for remotely upgrading an FPGA program through an SOC
chip. The method comprises the steps that a
write bit stream enabling command is sent to the
FPGA chip, the preparation state of the
write bit stream enabling command is monitored, and a preset
upgrade package file is sent after erasure is confirmed to be completed. And the
system continuously monitors the
write bit stream and the check state to ensure that the data is correctly written and checked. In the upgrading process, if interruption occurs, the FPGA loads and recovers the bit stream to keep stable, and attempts to
upgrade again after the
system is restarted. In addition, after the
upgrade package file is sent, a bit stream end mark is sent to trigger the FPGA to store data. Before upgrading, the system also obtains the version number of the current FPGA program and compares the version number with the version number of the upgrade
package file, and upgrading is carried out only when the current version is low. According to the method, the upgrading process is simplified, the FPGA program upgrading efficiency and reliability are improved, and better use experience and maintenance convenience are provided for users.