cancel
Showing results for 
Search instead for 
Did you mean: 

Example project couldn't be loaded into NUCLEO-L552ZE-Q

MQi.1
Senior II
STMicroelectronics ST-LINK GDB server. Version 5.6.0
Copyright (c) 2020, 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
        InitWhile                  : Enabled
 
Waiting for debugger connection...
Debugger connected
      -------------------------------------------------------------------
                        STM32CubeProgrammer v2.5.0-RC1                  
      -------------------------------------------------------------------
 
ST-LINK SN  : 066CFF353638425043092929
ST-LINK FW  : V2J37M26
Board       : NUCLEO-L552ZE-Q
Voltage     : 3.26V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x472
Revision ID : Rev B
Device name : STM32L5xx
Flash size  : 512 KBytes (default)
Device type : MCU
Device CPU  : Cortex-M33
 
 
 
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_bkZXrr.srec
  File          : ST-LINK_GDB_server_bkZXrr.srec
  Size          : 7336 Bytes
  Address       : 0x08000000 
 
 
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 3]
Download in Progress:
 
 
File download complete
Time elapsed during download operation: 00:00:00.275
 
 
 
Verifying ...
 
 
 
 
Error: Data mismatch found at address  0x08000000 (byte = 0xFF instead of 0x00)
 
 
Error: Download verification failed
 
 
Encountered Error when opening /home/mq/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.linux64_1.4.0.202007081208/tools/bin/STM32_Programmer_CLI
Error in STM32CubeProgrammer
Debugger connection lost.
Shutting down...

1 ACCEPTED SOLUTION

Accepted Solutions
MQi.1
Senior II

Found the solution,since it promoted the STM32CubeProgrammer CLI malfunction, so I programed the .elf file in a isolated Prog tool:

0693W000007ZeIcQAK.png

View solution in original post

2 REPLIES 2
MQi.1
Senior II

I guess it was due to I set the "TZEN" enabled, but when I unchecked it in STM32Prog, it was prompted:

 Error: Expected value for Option Byte "TZEN": 0x0, found: 0x1

MQi.1
Senior II

Found the solution,since it promoted the STM32CubeProgrammer CLI malfunction, so I programed the .elf file in a isolated Prog tool:

0693W000007ZeIcQAK.png