cancel
Showing results for 
Search instead for 
Did you mean: 

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 **

Ssawa
Associate
 
3 REPLIES 3

You seem to have omitted to show the error?

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?