Skip to main content
olivier.scalbert
Associate III
October 30, 2020
Question

STMF469I DISCO TouchGFX demo problem

  • October 30, 2020
  • 11 replies
  • 2590 views

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

This topic has been closed for replies.

11 replies

Martin KJELDSEN
Principal III
October 30, 2020

Hi,

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

Thanks!

/Martin

olivier.scalbert
Associate III
October 30, 2020

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

Sorry for the bad quality !

Martin KJELDSEN
Principal III
October 30, 2020

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

olivier.scalbert
Associate III
October 30, 2020

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
Principal III
October 30, 2020

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
November 1, 2020

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
November 1, 2020

..

olivier.scalbert
Associate III
November 1, 2020

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
Visitor II
November 3, 2020

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

olivier.scalbert
Associate III
November 8, 2020

Here t is ...

Sorry for my late reply ...

Alexandre RENOUX
Visitor II
November 9, 2020

I can see that you didn't use the Application Template for F469-DISCO board available in TouchGFX Designer.

We create these Application Templates to help users start off with a working project. Please try with the Application Template and check if it works.

/Alexandre