cancel
Showing results for 
Search instead for 
Did you mean: 

"Data mismatch" Error while Downloading to STM32U535 using STM32CubeIDE v1.17.0.

Badrinathan
Associate II

Respected Sir / Madam

I am encountering an issue while debugging an STM32U535 microcontroller using STM32CubeIDE v1.17.0. The details of the environment and error are provided below for your kind reference.

Environment Details

Microcontroller: STM32U535
Debugger: ST-LINK/V2
Software Versions:
STM32CubeIDE: v1.17.0
Operating System: Windows

Error: Data mismatch found at address  0x08010000 (byte = 0x00 instead of 0x08)  
Error: Download verification failed  

Encountered Error when opening C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.2.0.202409170845\tools\bin\STM32_Programmer_CLI.exe  

Error in STM32CubeProgrammer  
Shutting down...  
Exit.

Final Launch Sequence Error:
Error in final launch sequence:  
Failed to execute MI command:  
Error message from debugger back end:  
Error finishing flash operation  

How to fix this issue. Kindly assist me in this regards.

Badrinathan_0-1733825900365.jpeg

 

6 REPLIES 6
Mahmoud Ben Romdhane
ST Employee

Hello @Badrinathan,

First let me thank you for posting and welcome to the ST Community.

For more investigation, I recommend please that you provide your Project File.

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Mahmoud Ben Romdhane 

I would like to share the project file for further analysis as suggested. However, I prefer to share it through a private channel instead of publicly.

Could you please let me know the preferred private method to share the file securely?

Thank You

Badrinathan J

Hello @Badrinathan ,

I suggest that you share your project through a private message.

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Badrinathan
Associate II

Hi @Mahmoud Ben Romdhane 

We have shared our project file as you mentioned through your email ID dated 16-12-2024. Kindly assist us in resolving this issue.

Regards
Badrinathan J

Hello @Badrinathan ,

I suggest that you upgrade your Debugger ST-LINK to V3 version.

Before programming, I recommend also that you do a full chip erase with STM32CubeProgrammer.

Thanks.

Mahmoud.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Mahmoud Ben Romdhane @stforum 

Thank you for your response.

I have performed a full chip erase using STM32CubeProgrammer, and I have also upgraded my debugger from ST-LINK V2 to ST-LINK V3. Currently, I am using ST-LINK V3 for debugging.

After this upgrade, the "No target found" error is not appearing consistently anymore. However, it still occurs intermittently. When the error appears, I perform a full chip erase again, and the issue temporarily disappears. But after some time, it reoccurs.

Could you please guide me on how to resolve this issue permanently?

Also, I would appreciate it if you could explain the main differences between ST-LINK V2 and ST-LINK V3.

Environment Details

  1. Microcontroller: STM32U535CBTX
  2. Debugger: ST-LINK V3
  3. STM32CubeIDE: v1.17.0
  4. Operating System: Windows

Thank you,
Badrinathan