cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I have an issue with the demo board STM32H750B-DK and TouchGFX.

JDog.1
Associate

I use the demo board STM32H750B-DK, the CubeIDE 1.2, and TouchGFX 4.13.

I followed the following guides and set the pins as default:

https://touchgfx.zendesk.com/hc/en-us/articles/360011039799-Installing-TouchGFX

https://touchgfx.zendesk.com/hc/en-us/articles/360010921760-TouchGFX-HAL-Development

First there was a build error because of flash overflow. To solve this I edited STM32H750XBHx_FLASH.Id by using the settings of a working TouchGFX (v4.10) project.

/* Memories definition */

MEMORY

{

 DTCMRAM  (xrw)   : ORIGIN = 0x20000000,        LENGTH = 128K

 ITCMRAM  (xrw)   : ORIGIN = 0x00000000,        LENGTH = 64K

 RAM_D1   (xrw)   : ORIGIN = 0x24000000,        LENGTH = 512K

 RAM_D2   (xrw)   : ORIGIN = 0x30000000,        LENGTH = 288K

 RAM_D3   (xrw)   : ORIGIN = 0x38000000, LENGTH = 64K

/* FLASH   (rx)   : ORIGIN = 0x8000000,  LENGTH = 128K*/

 FLASH (rx)             : ORIGIN = 0x90000000,        LENGTH = 2048K

 ASSETS_FLASH (r)  : ORIGIN = 0x90200000,        LENGTH = 126M

 SDRAM (rw)                : ORIGIN = 0xD0000000, LENGTH = 8M

}

ExtFlashSection :

{

  *(ExtFlashSection ExtFlashSection.*)

  *(TextFlashSection TextFlashSection.*)

  *(FontFlashSection FontFlashSection.*)

  *(.gnu.linkonce.r.*)

  . = ALIGN(0x4);

} >ASSETS_FLASH

Now I can build without any error.

Then I flashed the board with the CubeProgrammer v2.1.0.

The gui should be a textured background with a labled button. However the display is just white.

Has anyone any ideas about this?

Thank you.

2 REPLIES 2
Martin KJELDSEN
Chief III

Is the application running?

/Martin

JDog.1
Associate

Hi Martin

Yes, it is running. I toggle an LED in the same task in which TouchGFXProcess() is called. I also tried to use another task for the LED. The LED toggles fine but the display stays white.

Other things I tried are:

I use the external SDRAM so that there is enough memory for the framebuffer. That only works with the ExtMem_Boot of a TouchGFX-Designer project, not with the bootloader of the firmware package.

Increase the stack and heap.

Store TouchGFX-data into the external flash 0x90200000.

Deactivate Ethernet in CubeMX for the application.

Deactivate QSPI in CubeMX for the application because it has already be done in the bootloader.