Skip to main content
Natali
Associate III
September 26, 2024
Solved

MDK Version 5.41 & 5.40 dont run touchgfx

  • September 26, 2024
  • 2 replies
  • 1676 views

hi

when i use Keil V5.39 and generate project by STM32CubeMX, program run whitout any problem but when i do same work by Keil V5.40 or V5.41 program dont run
when i debug in V5.40/5.41 step by step program dont inter main function

STM32CubeMX 6.12.1
TouchGFX 4.24.1
STM32H743ii

 

Best answer by Natali

hi 

problem solve by adding "returget.c" file
for more information refer to this link

https://developer.arm.com/documentation/ka002219/1-0/?lang=en

 

first test all 4 file in 3614.zip. one of them must solve problem

This is my final setup

nnnnnnn.jpg 

  

2 replies

ferro
Lead
September 29, 2024

Hi @Natali 


Hm, lot of unknowns here. Keil switched from AC5 to AC6 (Clang) toolchain lately. Which one are you using in V5.39 and V5.40 ?

I did try to move one of my C++ projects (not using Gfx) from 5.36 to 5.4x and after few weeks I concluded that the latest C++ (17) features I wanted to use are not worth the risk of 'upsetting' working application. Additional complication in my case was Keil's package management and uVisions's automatic handling of CMSIS versions. In parallel, Keil is gradually abandoning uVision and Dev team is focusing on porting MDK to Microsoft VS Code. To me, it is a complete, rather scary jungle.

 

What is your motivation to move to v5.4x ? Do you really need to change to the latest toolchain/MDK (c++17 features) ? I would stick with what works and wait (few years) till 5.4x is well tested.

Try Keil's forum or support, they are very responsive and helpful.

 

Tesla DeLorean
Guru
September 29, 2024

They've been using the version 6 compiler for a while.

It's probably an issue with CMSIS, I was fighting with their Packs the other day on a system that had been using 5.38a without issues.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Natali
NataliAuthorBest answer
Associate III
September 30, 2024

hi 

problem solve by adding "returget.c" file
for more information refer to this link

https://developer.arm.com/documentation/ka002219/1-0/?lang=en

 

first test all 4 file in 3614.zip. one of them must solve problem

This is my final setup

nnnnnnn.jpg 

  

Andrew Neil
Super User
September 30, 2024

@Natali wrote:

problem solve by adding "returget.c" file


Great - now please mark that solution so that people can see it's solved

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.