STMicroelectronics Demo Images

We’ve made it easy for you and have pre-built images in Storyboard for different scenarios for the most popular STMicroelectronics hardware platforms. Simply select your STM hardware and download the demo images. Follow the instructions below to get up and running quickly.

.

Required Hardware and Software

The STM32 demo images require the following:

  • Storyboard Evaluation

  • STM32F746G-Discovery (“target platform”) or

  • STM32F439l (“target platform”) or

  • STM32F429l (“target platform”)

  • STM32 ST-LINK Utility used to download the demo image to the platform

  • Micro SD Card (“sdcard”) with a FAT filesystem

Package Contents

This STM32 demo images contain:

  • Storyboard_STM32F746G_Discovery.bin

    • Image to be downloaded to the target platform using the STM32 ST-LINK Utility

  • Storyboard_STM324x9I__480_272_EVAL.bin

    • Image to be downloaded to the target platform using the STM32 ST-LINK Utility

  • Storyboard_STM324x9I__640x480_EVAL.bin

    • Image to be downloaded to the target platform using the STM32 ST-LINK Utility

  • demos/crank

    • Sample company information Storyboard application for the STM32F746G-Discovery or STM32F429

  • demos/fbake

    • Sample white goods Storyboard application for the STM32F746G-Discovery or STM32F429

  • demos/HomeAutomation-640

    • Sample home automation 640 x 480 Storyboard application for the STM32F439

  • demos/HomeAutomation-480

    • Sample home automation 480 x 272 Storyboard application for the STM32F746GDiscovery or STM32F429

  • demos/medical

    • Sample medical Storyboard application for the STM32F746G-Discovery or STM32F429

  • demos/SB_App.txt

    • Storyboard application definition file

STM32 ST-LINK Utility

In order to use the STM32 demo images the following steps must be performed. These steps are specific to the STM32F746G_Discovery but use the correct .bin file for the STM32 target platform being used.

Write the “Storyboard_STM32F746G_Discovery.bin” file to the target platform using the STM32 ST-LINK Utility.

  1. Connect to the target platform (STM32F746G_Discovery) Storyboard Evaluation: STM32 Storyboard

    stm32_connect.png
  2. Browse to the Storyboard_STM32F746G_Discovery.bin file

    stm32_open.png
  3. The Storyboard_STM32F746G_Discovery.bin file is now loaded in the utility

    stm32_loaded.png
  4. Program the Storyboard_STM32F746G_Discovery.bin file to the target platform

    stm32_program.png
  5. Start the programming process

    stm32_start.png

Running the Demo

Now that the STM32 board has been flashed, the Storyboard demos can be run.

  1. Mount the SD card and copy the contents of the evaluation “demos” directory to the SD card. Do not create the “demos” directory on the card, only copy the HomeAutomation-480 directory and SB_App.txt file.

  2. Unmount the SD card and place the card back into the target platform.

  3. Reboot the target platform.

At this point the demo should load and be interactive via the touchscreen.

Importing the Demo into Storyboard Designer

To import the HomeAutomation-480 demo into Storyboard Designer:

  1. Start Storyboard Designer

  2. Select “File” > “Import”

  3. From the dialog select “General” > “Existing Projects into Workspace”

  4. Browse to the “demos” directory and select “Open”

  5. The Projects area should now list the HomeAutomation demo, select Finish

  6. You now will have the HomeAutomation demo in your workspace

Creating Your Own Demo

Follow these steps to create your own demo in Storyboard Designer for the STM32 target platform:

  1. Create a new application with a screen resolution of 480x272.

  2. Add content to your application

  3. Simulate and test your application on the desktop to verify functionality

  4. Insert the SD card in your system and mount it

  5. Export your Storyboard application directly to the SD card

    1. Right click on the Application file (.gde)

    2. Select “Storyboard Export”

    3. Select “Export Storyboard Embedded Engine”

    4. Under “Select export directory” deselect the “Use same directory as selected model file” checkbox and select “Browse”

    5. Browse to the SD card and create a new directory for your application

    6. Select “Finish”

  6. Edit the “SB_App.txt” file on the SD card and change the name of the application to load to be your new application, including directory name and gapp file name.

  7. Place the SD card into the target platform and reboot

STM32F429 Demo Image

Experience multi-market demo applications built with Storyboard on your favorite platform. Crank Software demo images showcase Storyboard's design and development capabilities and the application potential of popular platforms. Download the demo image that corresponds with your hardware, which includes everything you need to get and up and running in minutes.

Link: Demo Image Download

Board: STM32429I-EVAL

Display: TFT LCD with resistive touchscreen

Rendering Technology: Chrom-ART Graphic Acceleration

Demo Resolution: 480 x 272

Operating System: FreeRTOS

This demo image includes the following demos:

  • IoT - Home Automation

  • White Goods

  • Medical

STM32F439 Demo Image

Experience multi-market demo applications built with Storyboard on your favorite platform. Crank Software demo images showcase Storyboard's design and development capabilities and the application potential of popular platforms. Download the demo image that corresponds with your hardware, which includes everything you need to get and up and running in minutes.

Link: Demo Image Download

Board: STM32439I-EVAL

Display: VGA TFT LCD with capacitive touchscreen

Rendering Technology: Chrom-ART Graphic Acceleration

Demo Resolution: 640 x 480

Operating System: FreeRTOS

This demo image includes the following demos:

  • IoT - Home Automation

STM32F7 Demo Image

Experience multi-market demo applications built with Storyboard on your favorite platform. Crank Software demo images showcase Storyboard's design and development capabilities and the application potential of popular platforms. Download the demo image that corresponds with your hardware, which includes everything you need to get and up and running in minutes.

Link: Demo Image Download

Board: STM32F7 Discovery Kit (32F746GDiscovery)

Display: TFT LCD with capacitive touchscreen

Rendering Technology: Chrom-ART Graphic Acceleration

Demo Resolution: 480 x 272

Operating System: FreeRTOS

This demo image includes the following demos:

  • IoT - Home Automation

  • White Goods

  • Medical

STM32MP157C-DK2 Demo Image

Experience multi-market demo applications built with Storyboard on your favorite platform. Crank Software demo images showcase Storyboard's design and development capabilities and the application potential of popular platforms. Download the demo image that corresponds with your hardware, which includes everything you need to get and up and running in minutes.

Demo Details

Link: Demo Image

Image Name: CrankSoftware_demo_STM32MP157C-DK2-v6.0.0.sdcard

Rendering Technology: OpenGL ES 2.0

Demo Resolution: 480 x 800

Operating System: Linux

This demo image includes the following demos:

  • Smart Home

  • Washing Machine

  • Medical

Copying Image to an SD Card - Linux

To copy the demo image to an SD card under Linux you first need to find the name of the attached SD card located under /dev/. You can then use the dd utility to copy the demo image to a 32Gb (or greater) SD card.

dd if="CrankSoftware_demo_boardname.sdcard" of="/dev/sdX" bs=1M
Copying Image to an SD Card - Windows

To copy the demo image to an SD card under Windows you can use the Win32 Disk Imager utility.

  1. Specify the image file to copy

  2. Specify the SD card device

  3. Click the Write button

creating-an-image.png
Running the Image

Each demo image contains all of the software needed to boot and run the card on the supported devices. Simply place the card in the appropriate SD card slot and power on the board. The cards will auto boot into the Crank Software Demo Launcher.

SCP for Target Application Deployment

You can export a Storyboard application directly to a target from within Storyboard Designer.

When your application is ready to export, click on the Storyboard Application Export button.

360034083111-mceclip0.png

Choose SCP Transfer as the transfer method.

360034083151-mceclip1.png

Enter the export directory information for the application target. For this demo image we created a /usr/crank/scp directory.

360034083171-mceclip2.png

You can also execute your Storyboard application after it has been transferred to the target. Check the Execute after transfer checkbox and type the path to the script that will execute the application. For this demo image we created a /usr/crank/storyboard_scp.sh script for you.

360034083191-mceclip3.png

Storyboard Demo Images - STM32H745i-Discovery Board

Learn how to flash the pre-built CoffeeApp.hex demo to the CM7 core of the STM32H745i-Discovery board, and how to programm the CM4 core of STM32H745.

Demo Details

Link:Demo Image

Image Name: CoffeeApp.hex

Rendering Technology: Chrom-ART Graphic Acceleration

Demo Resolution: 480 x 272

Operating System: FreeRTOS

Hardware:

  • STM32H745-Discovery board

  • USB cable

This demo image includes the following demos:

  • Coffee Application

Please ensure that JP8 pins 1 & 2 are jumper-ed, in order for the STLink USB cable to supply power to the STM32H745i-Discovery board.

The location of where this archive is located is referred to as:

<STM32F_DEMO_IMAGE>

Install the ST-Link Application

The ST-Link application provides high level support for STM processors and board components. If a board lockup or additional Flash tools are required Install the ST-Link application from the ST-Micro website.

https://www.st.com/en/development-tools/stsw-link004.html

STM32 ST-Link Utilities include:

  • STM32 ST-Link Utiltity v4.4.0.0 (or higher)

  • STLinkUSBDriver.dll v5.1.1.0 (or higher)

  • ST-Link_CLI.exe v3. 4.0.0 (or higher)

  • Follow installation instructions provided with this application.

Flashing the Prebuilt Demo

The package comes with a prebuilt CoffeeApp.hex demo image that can be flashed to the STM32h745i-Discovery board. It is located in the directory:

<STM32F_DEMO_IMAGE>/CoffeeApp.hex

To flash the CoffeeApp.hex demo image to the board:

  1. Plug the STM32H745i-Discovery board into your host machine using the USB cable. The host machine should recognize the USB Device as an ST-Link 3.0 USB debugger.

  2. Start the ST-Link application.

  3. From the main menu, Click “External Loader” -> “Add External Loader”. Select Checkbox for MX25L512G_STM32H745i-Disco”, and click the Validate button.

  4. From the Main Menu, Click “Target”->”Program…”, this will open a Download dialog box. Click “Browse” and select the <STM32F_DEMO_IMAGE>/CoffeeApp.hex file. Once loaded, Click “Start” to program the target with the pre-built image.

Flashing the CM4 Core

The STM32H745 contains two ARM Cores. The second CM4 Core is typically a Slave Core of the CM7 and needs to be placed in a known state in order to not interfere with the CM7. Programming of the CM4 is only required once, and should not need to be repeated if other CM7-only images are flashed.

The package comes with a prebuilt CM4.hex image that can be flashed to the

STM32h745i-Discovery board. It is located in the directory:

<STM32F_DEMO_IMAGE>/CM4.hex

To flash the CM4.hex demo image to the board:

  1. Plug the STM32H745i-Discovery board into your host machine using the USB cable. The host machine should recognize the USB Device as an ST-Link 3.0 USB debugger.

  2. Start the ST-Link application.

  3. From the Main Menu, Click “Target”->”Program…”, this will open a Download dialog box. Click “Browse” and select the <STM32F_DEMO_IMAGE>/CM4.hex file. Once loaded, Click “Start” to program the target with the pre-built image.

Conclusion

The STM32H745-Discovery board should be up and running the CoffeeApp.hex running on the CM7 with the CM4.hex. If you require further assistance please contact support@cranksoftware.com or visit https://support.cranksoftware.com.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.