cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to run the code into stm32h757i-eval board

Aarra.1
Senior

Hello,

I'm working with stm32h757i-eval board.

I have generated a code using the example code for keypad from touchGFX.

During the debug the below is the message i received.

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

            STM32CubeProgrammer v2.8.0          

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

ST-Link Server is running on port : 7184

ST-LINK SN : 003600263137510F33333639

ST-LINK FW : V3J8M3

Board    : STM32H757I-EVAL

Voltage   : 3.27V

SWD freq  : 24000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID  : 0x450

Revision ID : Rev V

Device name : STM32H7xx

Flash size : 2 MBytes

Device type : MCU

Device CPU : Cortex-M7/M4

BL Version : 0x90

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a00324.srec

 File     : ST-LINK_GDB_server_a00324.srec

 Size     : 377216 Bytes

 Address    : 0x08000000 

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 2]

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:04.057

Verifying ...

Download verified successfully 

But when I run my code There is nothing being shown on the display.

And after I run the code

These are the messages received.

STMicroelectronics ST-LINK GDB server. Version 5.9.1

Copyright (c) 2021, 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

Waiting for debugger connection...

Debugger connected

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

            STM32CubeProgrammer v2.8.0          

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

ST-Link Server is running on port : 7184

ST-LINK SN : 003600263137510F33333639

ST-LINK FW : V3J8M3

Board    : STM32H757I-EVAL

Voltage   : 3.27V

SWD freq  : 24000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID  : 0x450

Revision ID : Rev V

Device name : STM32H7xx

Flash size : 2 MBytes

Device type : MCU

Device CPU : Cortex-M7/M4

BL Version : 0x90

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a09984.srec

 File     : ST-LINK_GDB_server_a09984.srec

 Size     : 377216 Bytes

 Address    : 0x08000000 

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 2]

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:04.066

Verifying ...

Download verified successfully 

Debugger connection lost.

Shutting down...

But nothing is being displayed in the board.

I have attached the .ioc file for your reference

I have been working on this issue from a couple of days but there is no solution.

4 REPLIES 4
MM..1
Chief III

When you place breakpoint to main in both cortex for example to line gpio init , your code stop here or debuger lost connection soon?

As i write on other your Q better is start with example in TouchGFX without use IDE .

And too if you are beginner better is choice single core board.

Aarra.1
Senior

Thank you for your response.

I started with the example code from the TouchGFX designer software and it has worked fine.

I want to customize my display configuration for which I have coded and has compiled successfully but I'm not able to display any content on the stm32h757i-eval board.

Sorry , but you need here write code and not what you do. We arnt Avengers...

Hi,

Were you able to write to your display before setting TouchGFX ?

If yes, can you check if the framebuffer is updated and sent to the display ?

/Romain