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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 6064 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 4 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 4 years ago +3
    Yes, got the CubeIDE and debugger integration working with the screen! www.youtube.com/watch
  • jomoenginer
    jomoenginer over 4 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 …
  • DAB
    DAB over 4 years ago

    Good detective work Jan.

     

    DAB

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

    I've posted a step-by-step to show I got i working (lcd only - I still need to write the touch screen instructions):

    STM32H7B3I - Create a TouchGFX Project with support for the Designer, CubeIDE and Debugger - Pt 1: Screen Works

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 4 years ago in reply to jomoenginer

    jomoenginer  wrote:

     

    ... I have found these vids to be helpful when working with TouchGFX and the CubeIDE.

     

    From CubeIDE to TouchGFX.

    https://www.youtube.com/watch?v=o42r4xXOnbo

     

    This one shows how to go from TouchGFX to STM32CubeIDE

    https://www.youtube.com/watch?v=eiPtQp4chG0


     

    Things are different enough in the new IDE and support packages that you don't get a working exercise with the latest toolset , when you follow the steps. But they did help me to understand certain mechanisms and locations to start looking.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 4 years ago in reply to Jan Cumps

    Well, I shan't celebrate your tribulations but wish you joy in your success image

     

    MK

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

    Yeah, I was able to get a project from TouchGFX, built with STM32CubeIDE and loaded using CubeProgrammer without fiddling with anything; outside of down grading the FW to use the CubeProgrammer and doing a full chip erase. There was an error at load time but the code does run.

     

    I did post the error from the Debug with the CubeIDE and it appears that others are seeing this with other boards.

     

    I have found these vids to be helpful when working with TouchGFX and the CubeIDE.

     

    From CubeIDE to TouchGFX.

    https://www.youtube.com/watch?v=o42r4xXOnbo

     

    This one shows how to go from TouchGFX to STM32CubeIDE

    https://www.youtube.com/watch?v=eiPtQp4chG0


     

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
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