cancel
Showing results for 
Search instead for 
Did you mean: 

Verify Failed when programming stm32f103c8 blue pill

Ssawa
Associate

Trying to program stm32f103c8 blue pill using st link v2 adapter on ac6 eclipse platform.

but showing following error.embedded:startup.tcl:476: Error: ** Verify Failed **

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

This thread relates to a so-called Blue Pill, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.

This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

Thank you for your understanding.

Regards
/Peter

In order 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.

View solution in original post

4 REPLIES 4

You seem to have omitted to show the error?

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.

Info : Target voltage: 3.237393

Info : Stlink adapter speed set to 4000 kHz

Info : STM32F103C8Tx.cpu: hardware has 6 breakpoints, 4 watchpoints

Info : Listening on port 3333 for gdb connections

target halted due to debug-request, current mode: Thread 

xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc

Info : Stlink adapter speed set to 4000 kHz

adapter speed: 4000 kHz

** Programming Started **

auto erase enabled

Info : device id = 0x20036410

Info : flash size = 64kbytes

Warn : no flash bank found for address 0

wrote 0 bytes from file Release/RFID_test.elf in 0.006000s (0.000 KiB/s)

** Programming Finished **

** Verify Started **

Error: checksum mismatch - attempting binary compare

diff 0 address 0x00000000. Was 0xff instead of 0xf8

diff 1 address 0x00000001. Was 0xff instead of 0xb5

diff 2 address 0x00000002. Was 0xff instead of 0x00

diff 3 address 0x00000003. Was 0xff instead of 0xbf

diff 4 address 0x00000004. Was 0xff instead of 0xf8

diff 5 address 0x00000005. Was 0xff instead of 0xb5

diff 6 address 0x00000006. Was 0xff instead of 0x00

diff 7 address 0x00000007. Was 0xff instead of 0xbf

No more differences found.

embedded:startup.tcl:476: Error: ** Verify Failed **

in procedure 'program' 

in procedure 'program_error' called at file "embedded:startup.tcl", line 521

at file "embedded:startup.tcl", line 476

Well, the problem is clearly here:

Warn : no flash bank found for address 0

wrote 0 bytes from file Release/RFID_test.elf in 0.006000s (0.000 KiB/s)

It's telling you that it wrote nothing - so clearly the verification is going to fail!

I don't have AC6, so can't help with that.

Have you asked on their forum?

Have you ever had it working before?

Can you program using the ST-Link Utility?

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.
Peter BENSCH
ST Employee

This thread relates to a so-called Blue Pill, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.

This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

Thank you for your understanding.

Regards
/Peter

In order 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.