Skip to main content
Charlie CHEN
Associate III
March 18, 2021
Question

CubeMX with X-Cube TouchGFX Not Working

  • March 18, 2021
  • 7 replies
  • 1643 views

Hi all,

​

I`m trying to demo TouchGFX animation from my own board from CubeMX, and I have searched many method & document but less help,

​

/* My Tool Version */

TouchGFX 4.15

STM32CubeMX 6.1.1

Package: STM32Cube_FW_H7_V1.8.0

/********************************/

​

I debug code and find out that stuck in FontManager::setFontProvider(&fontProvider);​

Is there something I have to notice or setting before work on?

Thanks for Helping!

This topic has been closed for replies.

7 replies

Charlie CHEN
Associate III
March 18, 2021

Hi @Martin KJELDSEN​ ​

​

Can you help with TouchGFX Problem?

Really Appreciate!

Martin KJELDSEN
Principal III
March 18, 2021

Yes, i can. What have you tried so far? I need to know how you got into this situation

/Martin

Charlie CHEN
Associate III
March 18, 2021

Hi @Martin KJELDSEN​ ,

​

Thanks for your reply!

​

1st, I build code from CubeMX and use the software​ package X-Cube-TOUCHGFX.

2nd, Import a example view in TouchGFX then Generate Code, and look back to my project and compiler Success!

3rd, My project can normally UART Transmit & Draw shape & RTOS working fine after I disable this two line, but if enable it will go HardFault.

FrontendHeap& heap = FrontendHeap::getInstance();
 /*
 * we need to obtain the reference above to initialize the frontend heap.
 */
 (void)heap;

​So on this is my issue!

Thanks againe!

Martin KJELDSEN
Principal III
March 18, 2021

Can you check your stack/heap configuration? These two lines are very important to the functionality of touchgfx.

/Martin