Skip to main content

Flash the Image

This section details the steps for flashing your device. Make sure you complete the Flash Prerequisites section before proceeding.

note

To obtain the latest prebuilt image, please refer to the Prebuilt Images section.

If you prefer to build the image yourself, first go to the Build Prerequisites, then follow the instructions in the Build the Image section.

Connect the Board

Before flashing, make sure the board is connected as follows:

  • Connect the POWER port to a power source.
  • Connect the DEBUG port to the host PC.
  • If you plan to use serial output, connect the SERIAL port to the host PC.
note

Some boards provide serial access through the DEBUG port. Others require an external USB-to-UART converter. Check your board documentation for details.

Consult the image below for the location of these ports on the Grinn AstraOneSBC-1680.

Grinn AstraOneSBC-1680 PCBPowerDebug

Flashing

Open the directory containing the flashing tool, as previously prepared in the Flash Prerequisites section.

Prior to running the flashing tool, determine the correct path to the image.

Run the flashing tool with the following command:

./bin/linux/x86_64/astra-update -f ./path/to/SYNAIMG

Once the tool is running, put the device into download mode as described in the Download Mode section.

caution

Do not disconnect your device or interrupt the process until it completes successfully.

Download Mode

The Grinn AstraOneSBC-1680 can be placed into download mode manually using its physical buttons.

Consult the image below for the location of the buttons on the Grinn AstraOneSBC-1680.

Follow the sequence below to put the board into download mode:

  1. Locate the RESET and DOWNLOAD buttons on your device.
  2. Press and hold the DOWNLOAD button.
  3. Click the RESET button while still holding the DOWNLOAD button.
  4. After a brief pause, release the DOWNLOAD button.
  5. The flashing tool should now detect the board and start the flashing process.
Grinn AstraOneSBC-1680 PCBResetDownload