2019-08-13 3:44 AM - last edited on 2025-04-25 12:28 AM by Andrew Neil
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 **
Solved! Go to Solution.
2025-04-25
12:19 AM
- last edited on
2025-04-25
7:33 AM
by
Maxime_MARCHETT
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
2019-08-13 4:10 AM
You seem to have omitted to show the error?
2019-08-13 4:18 AM
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
2019-08-13 4:32 AM
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?
2025-04-25
12:19 AM
- last edited on
2025-04-25
7:33 AM
by
Maxime_MARCHETT
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