2025-02-18 08:48 PM - edited 2025-02-18 08:54 PM
Hi,
I'm able to build the project and generate the hex file. Out of sudden i'm not able to flash my board using STLink v2 neither i'm able to enter into debugging mode.
Using STM32CubeProgrammer i'm able to flash the board but i want to enter into debugging mode that is not working with STM32CubeIDE.
Error Message-
'''
Error: Data mismatch found at address 0x08010B94 (byte = 0x08 instead of 0x5A)
Error: Download verification failed
Encountered Error when opening /home/<user>/st/stm32cubeide_1.17.0/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.linux64_2.2.0.202409170845/tools/bin/STM32_Programmer_CLI
Error in STM32CubeProgrammer
Shutting down...
Exit.
'''
2025-02-19 12:28 AM
Hello,
welcome to ST Community.
What microcontroller and board are you using? For debug mode there have to be SWCLK and SWDIO pin free and connected to STLink. Is this connection right on your board?
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.
2025-02-19 05:29 AM
Does your program enter low-power modes or program the flash in the first second of running? If so, you will have issues connecting. Knock off programmers are also known to work poorly with STM32CubeIDE.