2020-06-15 12:03 PM
Hi Team
I have tried flashing the Menu launcher code
I see that the device is not doing anything after flashing It gets halted while flashing
I have attached the screen shot
Follwing is the procedure that i followed
Downloaded the code from the
STM32Cube_FW_H7_V1.7.0
In this project i have used use MENU launcher
C:\Users\Deepak\Downloads\en.stm32cubeh7_v1-7-0\STM32Cube_FW_H7_V1.7.0\Projects\STM32H7B3I-DK\Demonstrations\MenuLauncher\STM32CubeIDE
when i try flashing the code i get the follwing error as addtached in the screen shot
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
Debugger connection lost.
Shutting down...
I used stcubeprogrammer as well for the programming and i am not able to to flash it
I have selected the
MX25LM51245G_STM32H7B3I_DISCO and then in external programming option i selected the Start programming I see that
18:58:52 : STM32CubeProgrammer API v2.4.0
18:58:55 : ST-LINK SN : 001700373038510234333935
18:58:55 : ST-LINK FW : V3J6M2
18:58:55 : Voltage : 3.29V
18:58:55 : SWD freq : 24000 KHz
18:58:55 : Connect mode: Normal
18:58:55 : Reset mode : Software reset
18:58:55 : Device ID : 0x480
18:58:56 : UPLOADING OPTION BYTES DATA ...
18:58:56 : Bank : 0x00
18:58:56 : Address : 0x5200201c
18:58:56 : Size : 308 Bytes
18:58:56 : UPLOADING ...
18:58:56 : Size : 1024 Bytes
18:58:56 : Address : 0x8000000
18:58:56 : Read progress:
18:58:56 : Data read successfully
18:58:56 : Time elapsed during the read operation is: 00:00:00.002
19:00:32 : Memory Programming ...
19:00:32 : Opening and parsing file: MenuLauncher-STM32H7B3I-DK_V1.0.0.hex
19:00:32 : File : MenuLauncher-STM32H7B3I-DK_V1.0.0.hex
19:00:32 : Size : 1696395 Bytes
19:00:32 : Address : 0x08000000
19:00:32 : Erasing memory corresponding to segment 0:
19:00:32 : Erasing internal memory sectors [0 10]
19:00:32 : Erasing memory corresponding to segment 1:
19:00:32 : Erasing external memory sectors [0 24]
19:00:37 : Error: failed to erase memory
19:00:37 : Error: failed to erase memory
I am not sure what options to select and how to overcome the GDB SEVER error or the
ERROR IN PROGRAMMING using the STCUBEPROGRAMMER
Note: My switch postion id in FLASH memory on board