cancel
Showing results for 
Search instead for 
Did you mean: 

"Error: Data mismatch found at address..." while debugging

RakeshGajjar
Associate II

Hello ST Team,

 

I am using STM32CubeIDE and working on STM32F072R8T6 MCU. I am not able to debug my code. Same code was working fine till few days.  But now it give  me follow error

Error: Data mismatch found at address 0x08001D99 (byte = 0x60 instead of 0x68)

 

Error: Download verification failed

 

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

Error in STM32CubeProgrammer

Shutting down...

Exit.

 

Please help me for the same. The error screen shot is as attached.

 

Best Regards,

Rakesh Gajjar

1 ACCEPTED SOLUTION

Accepted Solutions

Hello Andrew

Tried the same code on another PC and it works fine. Now suggest me what should i do. Should i unistall the STM32CubeIDE and reinstall it again on problematic PC or any other suggestion ?

Best Regards,
Rakesh Gajjar

 

View solution in original post

4 REPLIES 4
Andrew Neil
Super User

Welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results; in particular, please give full details of your target hardware, what programmer you're using, etc.

 


@RakeshGajjar wrote:

Error: Data mismatch found at address 0x08001D99 (byte = 0x60 instead of 0x68)

 

Error: Download verification failed


"Verification" is where the programmer reads-back the data from the MCU, and checks that it matches the file that was down loaded.

The message tells you that this check failed: it found the byte value 0x60 at address 0x08001D99, but that address should contain the value 0x68.

 


@RakeshGajjar wrote:

Same code was working fine till few days. 


Something must have changed ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Thanks Andrew for prompt response.

I am using STM32F072R8T6 MCU with inhouse develop board for UPS Display application. 

I am using SWD debugging Interface and ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

The source code is same and no changes has been done.

It was working before and now i am not able to debug the same.

Please guide me.

Best Regards,

Rakesh Gajjar


@RakeshGajjar wrote:

STM32F072R8T6 MCU with inhouse develop board


So you need to show the schematic; again, please see: How to write your question to maximize your chances to find a solution 

 


@RakeshGajjar wrote:

 ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32


Is it genuine ?

Can it still program other targets?

 


@RakeshGajjar wrote:

UPS Display application. 


possibilities for noise & damage?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hello Andrew

Tried the same code on another PC and it works fine. Now suggest me what should i do. Should i unistall the STM32CubeIDE and reinstall it again on problematic PC or any other suggestion ?

Best Regards,
Rakesh Gajjar