Flash Images

Note: The development kit does not have a system image that is pre-installed, so the LED's on the board will not turn on until you go through the build and flash process as shown below.

As outlined in the previous step, you used the SDK Manager to download the system image and selected the option to flash the image on the development kit. Once you see the "Waiting for EDL device" message in the SDK Manager, follow these steps to start the flash process:

  1. Turn off the Qualcomm Robotics RB5 development kit.

  2. Press the F_DL button and connect the power source

  3. Keeping F_DL button pressed, connect the USB Type-C to Qualcomm Robotics RB5 development kit and the other end to the Ubuntu machine.

  4. Once this is correctly done, the flash will begin automatically.

    Note: The images will not flash if the device is not in download mode.
    ...
    Waiting for EDL device
    chenzy dev_node /dev/bus/usb/002/018
    usb found
    usb open succeed
    HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
    ...
    Update Primary Header with CRC of Primary Header.
    LOG: INFO: Calling handler for patch
    Zero Out Header CRC in Backup Header.
    LOG: INFO: Calling handler for patch
    Update Backup Header with CRC of Backup Header.
    LOG: INFO: Calling handler for patch
    Update last partition 10 'last_parti' with actual size in Primary Header.
    LOG: INFO: Calling handler for patch
    Update last partition 10 'last_parti' with actual size in Backup Header.
    LOG: INFO: Calling handler for patch
    Update Primary Header with LastUseableLBA.
    LOG: INFO: Calling handler for patch
    Update Backup Header with LastUseableLBA.
    LOG: INFO: Calling handler for patch
    Update Primary Header with BackupGPT Header Location.
    LOG: INFO: Calling handler for patch
    Update Backup Header with CurrentLBA.
    LOG: INFO: Calling handler for patch
    Update Backup Header with Partition Array Location.
    LOG: INFO: Calling handler for patch
    Update Primary Header with CRC of Partition Array.
    LOG: INFO: Calling handler for patch
    Update Backup Header with CRC of Partition Array.
    LOG: INFO: Calling handler for patch
    Zero Out Header CRC in Primary Header.
    LOG: INFO: Calling handler for patch
    Update Primary Header with CRC of Primary Header.
    LOG: INFO: Calling handler for patch
    Zero Out Header CRC in Backup Header.
    LOG: INFO: Calling handler for patch
    Update Backup Header with CRC of Backup Header.
    LOG: INFO: Calling handler for patch
    LOG: INFO: Calling handler for setbootablestoragedrive
    LOG: INFO: Using scheme of value= 1
    partition 1 is now bootable
    LOG: INFO: Calling handler for power
    LOG: INFO: Will issue reset/power off 100 useconds, if this hangs check if watchdog is enabled
    LOG: INFO: bsp_target_reset() 1
    >
    After the flashing is successful, adb should come up. If not, please power cycle the development kit. Since the system images are flashed, there is no need to press the F_DL key to force the device to enter the Emergency Download Mode. $ adb devices
    List of devices attached
    d8fbbdb4 device
  5. Once the flashing process is complete, adb should be available. Proceed to Qualcomm's SDKs (Qualcomm FastCV, Hexagon DSP SDK, SNPE) using SDKManager. These SDKs are available on the Qualcomm Developer Network. Next, you can proceed to Network Setup.