The ConnectCore 6 is shipped without a default operating system loaded. Only U-Boot is flashed in the device. This step demonstrates how to install Digi Embedded Yocto in your ConnectCore 6.

1. Establish a serial connection with your device

Open a serial connection with the device. You can use any serial terminal program such as Tera Term, Minicom, CoolTerm, or HyperTerminal.

PuTTY terminal program is not recommended due to an incompatibility with the USB/serial driver.

Open a serial connection with the following settings:

Parameter Value

Port

Serial port where the device is connected

Baud rate

115200

Data bits

8

Parity

None

Stop bits

1

Flow control

None

2. Download the firmware

To access firmware images, please fill out the following form to provide some information so we can better understand your project needs.

If the form doesn’t load after a few seconds, you may need to refresh the page. Contact Digi Support Services if you are not able to access the firmware images.

3. Program the firmware

There are multiple methods of programming the firmware to the target:

Program the firmware using UUU

These instructions assume that the target U-Boot version is v2017.03-r11.1 or higher, where the fastboot command is available.
  1. Decompress the zip file in a directory of your choice.

  2. Download the latest Universal Update Utility (UUU) tool, a software tool from NXP.

  3. Place the uuu executable in a directory in your PATH, such as /usr/bin.

  4. Install udev rules to allow any user to run the uuu for accessing the USB port:

    $ sudo sh -c "uuu -udev >> /etc/udev/rules.d/99-uuu.rules"
    $ sudo udevadm control --reload-rules
  5. Connect a micro USB cable to your development PC and the other end to the target USB OTG connector.

  6. Reset the device by pressing the reset button on the board and immediately press any key in the serial terminal to stop the auto-boot process. The U-Boot bootloader prompt displays:

    U-Boot dub-2017.03-r11.1 (Sep 29 2021 - 14:56:25 +0000)
    
    CPU:   Freescale i.MX6Q rev1.6 at 792MHz
    CPU:   Industrial temperature grade (-40C to 105C) at 38C
    Reset cause: POR
    I2C:   ready
    DRAM:  1 GiB
    MMC:   FSL_SDHC: 0, FSL_SDHC: 1
    In:    serial
    Out:   serial
    Err:   serial
    Model: Digi International ConnectCore 6 Single Board Computer.
    ConnectCore 6 SOM variant 0x02: Consumer quad-core 1.2GHz, 4GB eMMC, 1GB DDR3, -20/+70C, Wireless, Bluetooth, Kinetis
    Board: ConnectCore 6 SBC, version 3, ID 129
    Boot device: MMC4
    PMIC:  DA9063, Device: 0x61, Variant: 0x60, Customer: 0x00, Config: 0x56
    flash target is MMC:0
    Net:   FEC [PRIME]
    Fastboot: Normal
    Hit any key to stop autoboot:  0
    => 
    Information in the console log may vary.
  7. On the target, in U-Boot, execute the following command:

    => fastboot 0
  8. On your development PC, change to the directory where you extracted the ZIP file:

    $ cd <zip-folder>
  9. Run the install_linux_fw_uuu.sh script with -h parameter to check the syntax:

    $ ./install_linux_fw_uuu.sh -h
    ############################################################
    #           Linux firmware install through USB OTG         #
    ############################################################
    Usage: ./install_linux_fw_uuu.sh [options]
    
      Options:
       -h                     Show this help.
       -i <dey-image-name>    Image name that prefixes the image filenames, such as 'dey-image-qt',
                              'dey-image-webkit', 'core-image-base'...
                              Defaults to 'dey-image-qt' if not provided.
       -n                     No wait. Skips 10 seconds delay to stop script.
       -u <u-boot-filename>   U-Boot filename.
                              Auto-determined by variant if not provided.
  10. To program the default image files (dey-image-qt):

    $ ./install_linux_fw_uuu.sh
  11. Once the firmware is installed, the device boots automatically. The default username is root with no password.

Program the firmware using uSD card

  1. Decompress the zip file.

  2. Place the decompressed files in the root of a FAT-formatted microSD card and insert it in the microSD socket of the board.

  3. Reset the device by pressing the reset button on the board and immediately press any key in the serial terminal to stop the auto-boot process. The U-Boot bootloader prompt displays:

    U-Boot dub-2017.03-r11.1 (Sep 29 2021 - 14:56:25 +0000)
    
    CPU:   Freescale i.MX6Q rev1.6 at 792MHz
    CPU:   Industrial temperature grade (-40C to 105C) at 38C
    Reset cause: POR
    I2C:   ready
    DRAM:  1 GiB
    MMC:   FSL_SDHC: 0, FSL_SDHC: 1
    In:    serial
    Out:   serial
    Err:   serial
    Model: Digi International ConnectCore 6 Single Board Computer.
    ConnectCore 6 SOM variant 0x02: Consumer quad-core 1.2GHz, 4GB eMMC, 1GB DDR3, -20/+70C, Wireless, Bluetooth, Kinetis
    Board: ConnectCore 6 SBC, version 3, ID 129
    Boot device: MMC4
    PMIC:  DA9063, Device: 0x61, Variant: 0x60, Customer: 0x00, Config: 0x56
    flash target is MMC:0
    Net:   FEC [PRIME]
    Fastboot: Normal
    Hit any key to stop autoboot:  0
    => 
    Information in the console log may vary.
  4. To install the default firmware images (dey-image-qt) into the internal eMMC, run the following command:

    => run install_linux_fw_sd

    To program other images, set the variable image-name to the DEY image name (such as dey-image-webkit or core-image-base) before running the script.

    => setenv image-name core-image-base
    => run install_linux_fw_sd
  5. Once the firmware is installed, the device boots automatically. The default username is root with no password.

    During installation, error messages appear when the installation process attempts to override MAC addresses. These messages are expected.

    ## Resetting to default environment
    oldval: 00:40:9D:7D:17:9A  defval: 00:04:f3:ff:ff:fa
    ## Error: Can't overwrite "ethaddr"
    himport_r: can't insert "ethaddr=00:04:f3:ff:ff:fa" into hash table
    oldval: 00:40:9D:7D:17:9B  defval: 00:04:f3:ff:ff:fb
    ## Error: Can't overwrite "eth1addr"
    himport_r: can't insert "eth1addr=00:04:f3:ff:ff:fb" into hash table
    oldval: 00:40:9D:7D:17:9C  defval: 00:04:f3:ff:ff:fc
    ## Error: Can't overwrite "wlanaddr"
    himport_r: can't insert "wlanaddr=00:04:f3:ff:ff:fc" into hash table
    oldval: 00:40:9D:7D:17:9D  defval: 00:04:f3:ff:ff:fd
    ## Error: Can't overwrite "btaddr"
    himport_r: can't insert "btaddr=00:04:f3:ff:ff:fd" into hash table

Program the firmware using USB mass storage

Follow these steps to install Yocto in the device:

  1. Decompress the zip file.

  2. Place the decompressed files in the root of a FAT-formatted USB mass storage and insert it in the USB host connector of the board.

  3. Reset the device by pressing the reset button on the board and immediately press any key in the serial terminal to stop the auto-boot process. The U-Boot bootloader prompt displays:

    U-Boot dub-2017.03-r11.1 (Sep 29 2021 - 14:56:25 +0000)
    
    CPU:   Freescale i.MX6Q rev1.6 at 792MHz
    CPU:   Industrial temperature grade (-40C to 105C) at 38C
    Reset cause: POR
    I2C:   ready
    DRAM:  1 GiB
    MMC:   FSL_SDHC: 0, FSL_SDHC: 1
    In:    serial
    Out:   serial
    Err:   serial
    Model: Digi International ConnectCore 6 Single Board Computer.
    ConnectCore 6 SOM variant 0x02: Consumer quad-core 1.2GHz, 4GB eMMC, 1GB DDR3, -20/+70C, Wireless, Bluetooth, Kinetis
    Board: ConnectCore 6 SBC, version 3, ID 129
    Boot device: MMC4
    PMIC:  DA9063, Device: 0x61, Variant: 0x60, Customer: 0x00, Config: 0x56
    flash target is MMC:0
    Net:   FEC [PRIME]
    Fastboot: Normal
    Hit any key to stop autoboot:  0
    => 
    Information in the console log may vary.
  4. To install the default firmware images (dey-image-qt) into the internal eMMC, run the following command:

    => run install_linux_fw_usb

    To program other images, set the variable image-name to the DEY image name (such as dey-image-webkit or core-image-base) before running the script.

    => setenv image-name core-image-base
    => run install_linux_fw_usb
  5. Once the firmware is installed, the device boots automatically. The default username is root with no password.

    During installation, error messages appear when the installation process attempts to override MAC addresses. These messages are expected.

    ## Resetting to default environment
    oldval: 00:40:9D:7D:17:9A  defval: 00:04:f3:ff:ff:fa
    ## Error: Can't overwrite "ethaddr"
    himport_r: can't insert "ethaddr=00:04:f3:ff:ff:fa" into hash table
    oldval: 00:40:9D:7D:17:9B  defval: 00:04:f3:ff:ff:fb
    ## Error: Can't overwrite "eth1addr"
    himport_r: can't insert "eth1addr=00:04:f3:ff:ff:fb" into hash table
    oldval: 00:40:9D:7D:17:9C  defval: 00:04:f3:ff:ff:fc
    ## Error: Can't overwrite "wlanaddr"
    himport_r: can't insert "wlanaddr=00:04:f3:ff:ff:fc" into hash table
    oldval: 00:40:9D:7D:17:9D  defval: 00:04:f3:ff:ff:fd
    ## Error: Can't overwrite "btaddr"
    himport_r: can't insert "btaddr=00:04:f3:ff:ff:fd" into hash table