Hello, I am trying to follow the guide posted here:
https://doc.embedded-wizard.de/getting-started-stm32f769-discovery?v=10.00
However, each time I start the programming process, I got these errors (first with the FlashMasterDemo.bat and then also with `make install` step on the Hello World example)
*******************************************************************************
* Welcome to Embedded Wizard Build Environment for STM32F769-Discovery V10.00
*******************************************************************************
STM-CubeProgrammer: "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer"
ext. FLASH loader: "MX25L512G_STM32F769I-DISCO.stldr"
All checks are passed!
*******************************************************************************
*
* Getting started with Embedded Wizard and STM32F769-Discovery board:
*
* https://doc.embedded-wizard.de/getting-started-stm32f769-discovery
*
*******************************************************************************
Entering Embedded Wizard template project
*******************************************************************************
*
* Flashing Embedded Wizard Master Demo for target STM32F769-Discovery
*
*******************************************************************************
-------------------------------------------------------------------
STM32CubeProgrammer v2.6.0
-------------------------------------------------------------------
Error: External loader C:\Program cannot be loaded.
Error: External loader Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer/bin/ExternalLoader/MX25L512G_STM32F769I-DISCO.stldr cannot be loaded.
ST-LINK SN : 066BFF544856846687081250
ST-LINK FW : V2J35M26
Board : STM32F769I-DK
Voltage : 3.24V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x451
Revision ID : Rev Z
Device name : STM32F76x/STM32F77x
Flash size : 2 MBytes
Device type : MCU
Device CPU : Cortex-M7
Memory Programming ...
Opening and parsing file: EmbeddedWizard-STM32F769-Discovery.hex
File : EmbeddedWizard-STM32F769-Discovery.hex
Size : 5411896 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 7]
Erasing memory corresponding to segment 1:
Download in Progress:
█████████▒ 19% << Progress got stuck here when flashing the Master Demo.
When flashing the Hello World example, the process actually completes (as shown), but the screen remains black even when power cycled.
Memory Programming ...
Opening and parsing file: EmbeddedWizard-STM32F769-Discovery.hex
File : EmbeddedWizard-STM32F769-Discovery.hex
Size : 292648 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 4]
Erasing memory corresponding to segment 1:
Download in Progress: ██████████████████████████████████████████████████ 100%██
File download complete
Time elapsed during download operation: 00:00:07.469
RUNNING Program ...
Address: : 0x8000000
Application is running
Start operation achieved successfully
EmbeddedWizard-STM32F769-Discovery successfully flashed !!
In either case I observed that the COM LED on the ST-Link connection does blink between green/red which means communication is going.
If I launch STM32CubeProgrammer, I am able to connect to the discovery board.
The Environment path to the STM32CubeProgrammer is:
set STM32CubeProgrammer_Path=C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer
And the file MX25L512G_STM32F769I-DISCO.stldr does exist in
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\ExternalLoader
My STM32CubeProgrammer is version 2.6.0
What am I missing?