Skip to main content
RCast.5
Associate
September 11, 2024
Question

STM32 cube programmer - Checksum in automatic mode

  • September 11, 2024
  • 1 reply
  • 1342 views

Hi everyone,

In automatic mode, does STM32cubeprogrammer do a "Full Flash memory checksum"?

It does in STM32 ST-Link utility. Of course, the "Full Flash memory checksum" box is checked.

Thank you in advance for your answer

In the log window

STM32 cube programmer

In automatic mode

12:37:22 : Waiting for device n:2...
12:37:29 : Memory Programming ...
12:37:29 : Opening and parsing file: XXXX
12:37:29 : File : XXXX
12:37:29 : Size : 21.56 KB
12:37:29 : Address : 0x08000000
12:37:29 : Erasing memory corresponding to segment 0:
12:37:29 : Erasing internal memory sectors [0 10]
12:37:30 : Download in Progress:
12:37:30 : File download complete
12:37:30 : Time elapsed during download operation: 00:00:00.833
12:37:30 : Verifying ...
12:37:30 : Read progress:
12:37:30 : Download verified successfully
12:37:30 : Please disconnect device n:2 and connect the next...

 

Manualy

12:48:12 : UR connection mode is defined with the HWrst reset mode
12:48:12 : ST-LINK SN : XXX
12:48:12 : ST-LINK FW : XXX
12:48:12 : Board : --
12:48:12 : Voltage : 3.27V
12:48:12 : SWD freq : 4000 KHz
12:48:12 : Connect mode: Hot Plug
12:48:12 : Reset mode : Hardware reset
12:48:12 : Device ID : XXX
12:48:12 : Revision ID : Rev Z
12:48:12 : Debug in Low Power mode is not supported for this device.
12:48:12 : UPLOADING OPTION BYTES DATA ...
12:48:12 : Bank : 0x00
12:48:12 : Address : 0x40022020
12:48:12 : Size : 20 Bytes
12:48:12 : UPLOADING ...
12:48:12 : Size : 1024 Bytes
12:48:12 : Address : 0x8000000
12:48:12 : Read progress:
12:48:12 : Data read successfully
12:48:12 : Time elapsed during the read operation is: 00:00:00.007

12:48:17 : Memory Programming ...
12:48:17 : Opening and parsing file: XXX
12:48:17 : File : XXX
12:48:17 : Size : 21.56 KB
12:48:17 : Address : 0x08000000
12:48:17 : Erasing memory corresponding to segment 0:
12:48:17 : Erasing internal memory sectors [0 10]
12:48:18 : Download in Progress:
12:48:18 : File download complete
12:48:18 : Time elapsed during download operation: 00:00:00.679
12:48:18 : Verifying ...
12:48:18 : Read progress:
12:48:18 : Download verified successfully
12:48:18 : Memory [0x08000000 : 0x08040000] - Checksum : 0x03C012EA

 

STM32 ST Link Utility

In automatic mode

13:02:36 : Starting Automatic Mode...
13:02:36 : Waiting for device N° 1...
13:02:41 : ST-LINK SN : 54FF76067871515408251467
13:02:41 : V2J45S7
13:02:41 : Connected via SWD.
13:02:41 : SWD Frequency = 4,0 MHz.
13:02:41 : Connection mode : Normal.
13:02:41 : Debug in Low Power mode enabled.
13:02:41 : Device ID:0x435
13:02:41 : Device flash Size : 256KBytes
13:02:41 : Device family :STM32L4x3
13:02:41 : Flash programming:
13:02:42 : Memory programmed in 1s and 78ms.
13:02:43 : Full memory checksum calculation..
13:02:43 : Flash memory [0x08000000:0x08040000] Checksum: 0x03BF8556
13:02:43 : Please disconnect device N° 1...

1 reply

Maryem
Technical Moderator
September 19, 2024

Hello @RCast.5 ,

 

I apologize for the delayed response, 

Currently, STM32CubeProgrammer does not support the "Full Flash memory checksum" feature in automatic mode. This request has already been raised to our development team. I will keep you updated about any progress.

Internal ticket number: 191520 (This is an internal tracking number and is not accessible or usable by customers)

 

Maryem.

RCast.5
RCast.5Author
Associate
September 19, 2024

Hello @Maryem,

I have taken your response into account.

Thank you for your answer, and have a nice day!