cancel
Showing results for 
Search instead for 
Did you mean: 

Can't program STM32H745-Disco

Durga_Prasad
Visitor

Hi,

               I'm using STM32H745-Disco kit. facing some issues while testing, Initially able to configure in STM32Cube IDE software, STm32Cube programmer and STM32CubeMX software's tool without any issues. Now working on testing an hall effect sensor with STM32H745 board, here i'm able to write code in IDE and build the code without any errors, also .elf file is generated successfully. but when i connect STM32 board and try to flash the code, getting issues, not able to flash the code correctly, not understanding what i'm missing here.

Can you please help me, how to resolve my issues and reset my STM32H45 developer board into Default settings/Configurations.

 

Note: I verified connection in STM32cube programmer tool, i can connect via ST-link and tried Full Chip erase, able to erase but my STM32 board just turns on and shows White color Display with blank Screen. Please refer attached snapshot.

3 REPLIES 3

Welcome to the forum

 


@Durga_Prasad wrote:

when i connect STM32 board and try to flash the code, getting issues, not able to flash the code correctly, .


So what, exactly, happens when you try to flash the code?

Describe your process in detail, and any error messages that you see.

 


@Durga_Prasad wrote:

I verified connection in STM32cube programmer tool, i can connect via ST-link and tried Full Chip erase, able to erase 


Were you able to program using CubeProgrammer?

Imen.D
ST Employee

Hello @Durga_Prasad ,

Checking the power configuration of your firmware and the board and ensure that the board is receiving adequate power. Maybe, insufficient power supply can cause issues with flashing the code.

How can I recover my STM32H7 board after facing a ... - STMicroelectronics Community

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

The screen doesn't magically work, you have to have code to specifically initialize it and provide a frame buffer.

If you code only manages the HALL sensor, and doesn't nothing about the screen,it will stay in this white state.

Can you use a UART and the ST-LINK VCP to get diagnostic and telemetry data out?

Can you program the original demo back on the board, or an example that actually uses the screen?

There's not a button to get back to delivered condition, you need to re-apply a firmware

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..