cancel
Showing results for 
Search instead for 
Did you mean: 

please fix the compatibility bug in new Touch GFX 4.14 and CubeMX 6.0 and Cube IDE1.4

MNapi
Senior III

this is the error I am getting once I migrate or click continue when I open project in CubeMX 6.0 or CubeIDE 1.4 created in TouchGFX 4.14

then screen created in TouchGFX will not longer display, it just dark.

those 3, the newest were supposed to be compatible. 0693W000003C5lwQAC.jpg

19 REPLIES 19

It's normal you do not have all the peripherals set up because they are not necessary for running TouchGFX.

If you want to have more peripherals, you can set them in the CubeMX configuration and regenerate code.

/Alexandre

Alexandre RENOUX
Principal

Hello @MNapi​ ,

After some investigation, your problem might be due to NVIC priorities being reset.

Indeed, when updating to CubeMX 6.0.0, the NVIC priorities are reset because the CubeMX team made some changes regarding the priorities linked to FreeRTOS. This is a bug that is only noticeable when using FreeRTOS. If the priorities are at 0 the interrupts won't be triggered. So set the priorities of interrupts that are enabled such as LTDC or DMA to 5.

Tell me if it solves your issue.

/Alexandre

ARago.1
Associate II

Funny , its not related to my previous question, but i was trying to setup quadrature encoder this morning , and couldnt hit some interrupt handler, i found out priority=0 was the problem

I spent some time trying to do what you suggested and I still cannot get it working 32F469 in CubeIDE 1.4

For now use CubeMX 6 to intialiaze the baord and I finish the code in Keil using BSP files to do graphics. It always worked fine.

I see that you are working on graph widget in TouchGFX, what about if you simplify the code to pass data from main.c ( the for(;;){} loop ) to the display.

you have to get first to model.cpp then to modellistener.cpp, to screenview.cpp etc. create the wildcard, it is really hard to get it working and I cannot.

I wrote the code in Keil using BSP to display graph coming from ADC, it is so simple and streight forward

But on other hand TouchGFX it is so easy to to graphics but you want to display some incoming data and you cannot get it working.

Could you enclose the project that does not work ? So that I can try and see what's the problem using a F469-DISCO board.

/Alexandre

I do not know how you want me to do it. Zip the whole folder with all the files and upload ?

I would have to reinstall CubeIDE 1.4 , I removed all and reverted to older version to get it working again.

Yes a zip file is perfect.

To reduce the size of it, remove all the unnecessary files like binaries, the TouchGFX Middleware (automatically regenerated by TouchGFX Designer) and all the generated files from Designer like /TouchGFX/generated or /simulator, etc.

You do not need to upgrade to CubeIDE 1.4, I will try myself

/Alexandre

get the whole project

http://216.187.93.89/32F469.rar

it worked fine until I opened in CubeIDE 1.4 and clicked on the .ioc file and clicked migrate, black screen. it will not work anymore even from TouchGFX 1.4 (run target)

0693W000003PvUUQA0.jpg

Hello @MNapi​ 

I downloaded your project and it was working correctly with no issue. I tried on a F469-DISCO board.

Let me explain what I did.

First here are the software versions I used:

  • TouchGFX 4.14
  • CubeMX 6.0.1
  • CubeIDE 1.4.1
  • Keil 5.31
  • CubeProgrammer 2.4.0

Now here are the steps :

  • Open STM32F469I-DISCO.ioc file in CubeMX
  • Change the NVIC priorities (see below)
  • Generate code in CubeMX
  • Open application.touchgfx in TouchGFX Designer
  • Generate code
  • Run Target : it worked
  • Then opened the .project inside the folder STM32CubeIDE/ in CubeIDE
  • Build and download using STM32CubeProgrammer : it worked
  • Change IDE in CubeMX from CubeIDE to MDK-ARM
  • Generate code with CubeMX
  • Generate code with Designer
  • Open project in Keil
  • Build and download using STM32CubeProgrammer : it worked

0693W000003Q5eKQAS.png

I don't understand where you found a problem.

/Alexandre

I have the interrupts like you show me. But it shouldn't ask you to migrate whne you open in CubeIDE 1.4 after you created in TouchGFX 4.14

The screen is black after I migrate. I have to reload and try again.