|
Veethree D7 SDK
|
Devices running images produced using SDK version 2.1.0 and earlier cannot use updates or recovery images created using version 3.0.0 of the SDK. More information about this can be found at Upgrading from 2.1.0 to 3.0.0: Important Compatibility Information.
Update packages and recovery images created using SDK version 3.0.0 can only be applied to devices that have already been updated to version 3.0.0. The recommended method for that is flashing.
Restoring device software contains two basic concepts: flashing and recovery.
If the device hardware is in a working state, but the software needs to be restored, there are two methods available:
Both methods will overwrite all of the storage on the device, including the bootloader, and create new partitions for the A/B update scheme. See A/B update scheme and Software update validation for more information on the D7's update scheme and update validation process.
If the bootloader is not in a working state, the only available solution is to reflash the board.
Using the software recovery procedure is possible as long as the bootloader is in a working state. You can check if the bootloader is working by power cycling the device. If the first splash screen appears when the device is powered on, you can use software recovery. Otherwise, please see Board flashing instructions.
You will need an empty USB stick formatted as FAT32.
The USB port on the back of the device is USB-C, so you may need a USB-C stick or a USB-A to USB-C adapter.
Mount the USB stick to your workstation; please either reformat it or make sure there are no files on it.
Make note of the path at which the USB is mounted. On Linux, this path may look like /run/media/$USER/...; On Windows it may look like E:\ – the drive letter shown in File Explorer.
In a terminal, navigate to the D7 SDK installation directory, and then to the tools subfolder.
From there run the recovery-tool:
You can select to use a default release image or development image for recovery by using either the --develop or --release switch, respectively.
Alternatively you can create a custom recovery image using swugen and use the --image argument for the recovery-tool.
You will need to expose the USB recovery button on the D7's board. It is near the debug serial port connector, towards the center of the board.
Please refer to the first three images from Serial Port to open the cap and expose the serial port connector and the recovery button.
Then follow the steps below: