Skip to main content
FTrom
Associate III
June 30, 2021
Question

STM32F446RE with X-Nucleo-GFX01M1

  • June 30, 2021
  • 1 reply
  • 1682 views

Hi

I have STM32F446RE and X-Nucleo-GFX01M1.

When flash my nucleo I get:

File download complete

Time elapsed during download operation: 00:00:03.366

Verifying ...

Download verified successfully 

Debugger connection lost.

Shutting down...

But I cannot see anything on my screen.

Probably because when I generate the code, the SW does not modify the SPI configuration and not initialize it.

0693W00000BcSduQAF.pngreading the following document https://www.st.com/resource/en/user_manual/dm00720406-.pdf

for me, it is not clear how should I do it. Ex: mode: full/half duplex? CPL/CPA ? CRC calculation? LED? FMARK? etc.

Thanks

Fausto

This topic has been closed for replies.

1 reply

MM..1
Chief III
June 30, 2021

Debug conection lost exist when in code you use GPIO pin SWDIO SWDCLK or sleep stop standby mode and dont setup debuger for it, or when your MCU start app and this result to error for example hardfault...

FTrom
FTromAuthor
Associate III
June 30, 2021

ok, but the display is still white :)

Tesla DeLorean
Guru
June 30, 2021

Then some other issue, then.

Perhaps try some other code, and port that, perhaps looking at the settings/configuration used there.

https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-display.html

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