element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog STM32H7B3I - First Experience with CubeIDE
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 2 Aug 2020 11:59 AM Date Created
  • Views 6924 views
  • Likes 5 likes
  • Comments 22 comments
  • stm32h7b3i
  • rt
  • stm32h7b3i-dk
Related
Recommended

STM32H7B3I - First Experience with CubeIDE

Jan Cumps
Jan Cumps
2 Aug 2020

I'm selected for the STM32H7B3I-DK -  DISCOVERY KIT.

I have just set up a clean CubeIDE install, and also installed the resource packages for this kit.

Additional I installed TouchGFX and the standalone Cube Programmer.

Versions:

  • STM32CubeIDE Version: 1.4.1
  • GNU for STM32, 7-2018 -q2 update
  • TouchGFX Designer 4.14.0
  • STMCubeProgrammer  2.5.0

 

The kit has arrived, and the first results have been mostly successful, except for graphic projects using TouchGFX.

 

image

 

What works for me:
image A graphical STemWin project. I imported the example in CubeIDE, built it, loaded via STLink and debugged it.

image Out of Box binary downloaded from product page and then upload it via STLink using the STMCube Programmer.

 

image

 

 

image what I can't get to work yet: Compile a ToughGFX (example import or a self-made project) and load it on the board from CubeIDE.

The compilation / build succeeds. The STLink debug session starts but then the firmware load fails.

 

Error in final launch sequence:

Failed to execute MI command:
load D:\\users\\jancu\\STM32CubeIDE\\workspace_1.4.0\\TouchGFX\\STM32CubeIDE\\TouchGFX-STM32H7B3I-DK_OoB-Release\\TouchGFX.elf 

Error message from debugger back end:
Load failed
Failed to execute MI command:
load D:\\users\\jancu\\STM32CubeIDE\\workspace_1.4.0\\TouchGFX\\STM32CubeIDE\\TouchGFX-STM32H7B3I-DK_OoB-Release\\TouchGFX.elf 

Error message from debugger back end:
Load failed
Failed to execute MI command:
load D:\\users\\jancu\\STM32CubeIDE\\workspace_1.4.0\\TouchGFX\\STM32CubeIDE\\TouchGFX-STM32H7B3I-DK_OoB-Release\\TouchGFX.elf 

Error message from debugger back end:
Load failed
Load failed

 

Some investigation to do ...

(solved, see comment below)

 

Related Posts
First Experience with CubeIDE
Create a TouchGFX Project with support for the Designer, CubeIDE and Debugger - Pt 1: Screen Works
Create a TouchGFX Project with support for the Designer, CubeIDE and Debugger - Pt 2: Touch Works
TouchGFX Simple Example: react on a button click
USB, freeRTOS ,Task Notifications and Interrupts
the Development Kit STMod+ Connector and Using UART2
TouchGFX Application Framework: Model, View, Presentation, Message Queue
TouchGFX Application Framework: A Mock GUI - Show Statuses, Switch Screens
TouchGFX Application Framework: MVP and the ModelListener
Write a CubeIDE MX application: Hardware Cryptography with DMA
Attachments:
STM32H7B3I-DK-TGFX-eload.zip
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 5 years ago in reply to Jan Cumps +3
    I have it working on the CubeIDE too now. I reused a .ioc file from a TouchGFX generated project for this board, and created a new CubeIDE project based on that. Then used the generated hyperlink to load…
  • Jan Cumps
    Jan Cumps over 5 years ago +3
    Yes, got the CubeIDE and debugger integration working with the screen! www.youtube.com/watch
  • jomoenginer
    jomoenginer over 5 years ago +3
    There must be a config file somewhere in TouchGFX to allow for setting the path to STM32CubeProgrammer and such. One option would be to set it in the gcc/Makefile for the project: stm32cubeProgrammer …
Parents
  • Jan Cumps
    Jan Cumps over 5 years ago

    Some of the STM tools (TouchGFX Designer, batch files) expect that the Programmer is installed in your %ProgramFiles(x86)% folder.

    I installed it somewhere else, and used windows symlink to fake it's installed there:

     

    Open CMD as admin

    cd %ProgramFiles(x86)%
    mklink /D STMicroelectronics "D:\Program Files\STMicroelectronics"
    dir

     

    output:

    02-08-2020  16:37    <SYMLINKD>     STMicroelectronics [D:\Program Files\STMicroelectronics]

     

    From that point on, you can directly build and load examples from TouchGFX Designer

     

     

    image

    (a new little success. Not yet from the CubeIDE, but a little first Hello, world!)

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to Jan Cumps

    I have it working on the CubeIDE too now.

    I reused a .ioc file from a TouchGFX generated project for this board, and created a new CubeIDE project based on that.

    Then used the generated hyperlink to load the project in TouchGFX and generated the full coed.

    It seems to use older versions of the firmware for the device (STM32Cube_FW_H7_V1.6.0 instead of STM32Cube_FW_H7_V1.8.0), but it works.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to Jan Cumps

    I have it working on the CubeIDE too now.

    I reused a .ioc file from a TouchGFX generated project for this board, and created a new CubeIDE project based on that.

    Then used the generated hyperlink to load the project in TouchGFX and generated the full coed.

    It seems to use older versions of the firmware for the device (STM32Cube_FW_H7_V1.6.0 instead of STM32Cube_FW_H7_V1.8.0), but it works.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube