cancel
Showing results for 
Search instead for 
Did you mean: 

MDK Version 5.41 & 5.40 dont run touchgfx

Natali
Associate III

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
Natali
Associate III

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 

  

View solution in original post

4 REPLIES 4
ferro
Senior II

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.

 

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
Natali
Associate III

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 

  


@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