This section helps you set up your ConnectCore device to see Storyboard in action.
The goal of this section is to have a Storyboard demo application running in your device. This application includes three different demos:
-
Electrical vehicle charger demo
-
Robot arm demo
-
Medical demo
Follow these steps to get started using the Crank Storyboard demo with your ConnectCore 8X SBC Pro.
Requirements
-
A ConnectCore 8X SBC Pro
-
The Crank prebuilt images
-
LVDS or HDMI display for the graphical user interface
-
A mouse to work in the graphical user interface
Due to a Weston issue on
wl_shell
applications, mouse input stops working after a few seconds. The mouse becomes unresponsive and the pointer turns into an hourglass or "loading" icon. See Left mouse click only possible a few seconds after application startup.You can read more about this issue at https://gitlab.freedesktop.org/wayland/weston/-/issues/82.
This occurs with anything considered a mouse input device. Any other input device (touch screen, keyboard, etc.) works as expected.
1. Download the firmware
Download the firmware images from the following location: https://ftp1.digi.com/support/digiembeddedyocto/4.0/r6/images/ccimx8x-sbc-pro/ccimx8x-sbc-pro-crank-installer.zip
The Crank demo image includes:
-
Storyboard Engine. The target-specific executable that loads the model generated by Designer and starts the execution of the state machine. See What is Storyboard?.
-
A Storyboard application created and exported with Storyboard Designer. This application is configured to be launch at startup.
2. Program the Crank demo image
Digi recommends you use the Universal Update Utility (UUU) through a USB connection to your development PC to program the images.
-
Decompress the zip file in a directory of your choice.
-
Set up your computer.
-
Download the latest Universal Update Utility (UUU), a software tool from NXP.
UUU version should be 1.5.11 or higher. -
Place the
uuu
executable in a directory in your PATH, such as/usr/bin
. -
Install
udev
rules to allow any user to runuuu
to access the USB port:$ sudo sh -c "uuu -udev >> /etc/udev/rules.d/70-uuu.rules" $ sudo udevadm control --reload
-
-
Connect a USB type-C cable to your development PC and the other end to the target USB type-C connector.
-
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 SPL dub-2020.04-r6.1 (Sep 19 2023 - 07:15:55 +0000) Normal Boot Trying to boot from MMC1 Primary set selected Load image from MMC/SD 0x59c00 U-Boot dub-2020.04-r6.1 (Sep 19 2023 - 07:15:55 +0000) CPU: NXP i.MX8QXP RevC A35 at 1200 MHz at 33C DRAM: 2 GiB MCA: HW_VER=1 FW_VER=1.01 MMC: FSL_SDHC: 0, FSL_SDHC: 1 In: serial Out: serial Err: serial Model: Digi International ConnectCore 8X SBC Pro Board. ConnectCore 8X SOM variant 0x02: 2 GiB LPDDR4, Wi-Fi, Bluetooth, MCA, Crypto-auth Board version 3, ID 135 Boot: MMC0 BuildInfo: - SCFW 6638c032, SECO-FW c9de51c0, IMX-MKIMAGE 3bfcfccb, ATF e4b2dbf - U-Boot dub-2020.04-r6.1 flash target is MMC:0 Net: eth0: ethernet@5b040000 [PRIME], eth1: ethernet@5b050000 Fastboot: Normal Normal Boot Hit any key to stop autoboot: 0 =>
Information in the console log may vary. -
On the target, in U-Boot, execute the following command:
=> fastboot 1
-
On your development PC, change to the directory where you extracted the ZIP file:
$ cd <zip-folder>
-
To program the demo image, run:
$ ./install_linux_fw_uuu.sh -i dey-image-crank
-
Once the firmware is installed, the device boots automatically. The default username is root with no password.
3. Test the Crank Storyboard demo
The Storyboard demo is automatically launched on boot.
Select any of the three different demos and interact with it:
-
Electrical vehicle charger demo
-
Robot arm demo
-
Medical demo
You can develop your own applications with Storyboard Designer, see Getting started with Storyboard.
To build your image with Storyboard Engine and applications, see Create a Crank image. |