cancel
Showing results for 
Search instead for 
Did you mean: 

STMF469I DISCO TouchGFX demo problem

olivier.scalbert
Associate III

Hi,

I have compiled and load the demo to the board with STMCubeIDE 1.4.0 on Linux.

When I start the board, it seems that the display is correct during a quarter of second or less.

Then the colors are getting weird, like if there is a palette problem.

Does anyone have the same problem?

Thanks,

Olivier

13 REPLIES 13
Martin KJELDSEN
Chief III

Hi,

Please provide more details. Images, videos would be great.

Thanks!

/Martin

olivier.scalbert
Associate III

Here is a video where I reset the board several times.

Sorry for the bad quality !

Martin KJELDSEN
Chief III

Looks like, among other things, the external flash hasn't been programmed with any images. Can you verify?

olivier.scalbert
Associate III

First thanks for your help !

I am more a vim/emacs makefile guy, so I am not comfortable with ide ...

After the "build", I press "run". I get this on the console:

STMicroelectronics ST-LINK GDB server. Version 5.6.0

Copyright (c) 2020, STMicroelectronics. All rights reserved.

Starting server with the following options:

       Persistent Mode           : Disabled

       Logging Level             : 1

       Listen Port Number        : 61234

       Status Refresh Delay      : 15s

       Verbose Mode              : Disabled

       SWD Debug                 : Enabled

       InitWhile                 : Enabled

Waiting for debugger connection...

Debugger connected

     -------------------------------------------------------------------

                       STM32CubeProgrammer v2.5.0-RC1                 

     -------------------------------------------------------------------

ST-LINK SN : 066FFF303435554157031815

ST-LINK FW : V2J37M26

Board      : 32F469IDISCOVERY

Voltage    : 3.25V

SWD freq   : 4000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID  : 0x434

Revision ID : Rev A

Device name : STM32F469xx/F467xx

Flash size : 2 MBytes

Device type : MCU

Device CPU : Cortex-M4

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_OQR02D.srec

 File         : ST-LINK_GDB_server_OQR02D.srec

 Size         : 234112 Bytes

 Address      : 0x08000000

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 5]

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:04.820

Verifying ...

Download verified successfully

Debugger connection lost.

Shutting down...

Should I do something else ?

Martin KJELDSEN
Chief III

Nothing in there says anything about programming the external flash (starts at 0x90000000)

Can you try choosing the right flash loader in CubeProgrammer? Try using the stand alone CubeProgrammer application.

olivier.scalbert
Associate III

Ok, I have installed CubeProgrammer, select the External loader.

Things are better but not fully ok. Here are the logs and a photo of the main menu.

Note: it is compiled in debug mode.

olivier.scalbert
Associate III
 
olivier.scalbert
Associate III

For your info, I have done the same thing with the TouchGFX demo for the STM32F769I Disco and it works well !

So my setup seems ok.

Alexandre RENOUX
Principal

Hello,

Can you send your project ? It will be easier if we test on our side.

Please remove all unnecessary folders like the build folder in TouchGFX/ folder and touchgfx middleware folder so that your project is not too large.

/Alexandre