我在手册里找到了如下的描述,短接的方法是可以的
4.5.2 Recovering from a Failed Upgrade
If the upgrade process fails while uploading the application code file,
(for example, your FTP/TFTP connection is lost during the process),
or if for any reason the new application code fails to boot after
loading, the device may boot to a special TFTP mode that enables
you to continue the upgrade. This procedure enables you avoid
having to re-flash the device with an entire image using a serial
connection to the flash header.
This TFTP server mode is invoked automatically when the
application checksum test fails during boot-up. If you have a serial
connection to the board, the following message will display on the
terminal:
Testing Application Checksum ... Failed
TFTP Server Started ... Please upload flash image to 192.168.1.1
In addition, all the software controlled test LEDs will blink at about
twice per second. This indicates that the application code has not
been loaded and all subsequent routine boot processes were
aborted. The unit’s built-in TFTP server is invoked and an IPenabled
Ethernet interface is set up with the following properties:
IP Address: 192.168.1.1
Mask: 255.255.255.0
To continue the image upgrade via TFTP, verify that the IP
properties on the PC assign it to the same subnet as this Ethernet
interface. Then, upload the new application code file via TFTP (FTP
is not supported in this mode). The LEDs will blink rapidly as the
image is uploaded.
You can also access this mode as a shortcut if you want to boot a
board solely to perform an image upgrade via TFTP. To force a unit
into this mode, begin booting the board and monitor the boot
messages on your PC. Before “Testing Application Checksum.....”
displays (or during), type “tao” and press <Backspace>. The
ordinary boot process will be aborted and the board will boot in the
TFTP mode as described above. |