This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Issue programming with openOCD

Hi,

I try to program hex file with openOCD. The flash part is written without any problem. OpenOcd only fail to write the UICR registers beyond 0x10001200.

However it can write in UICR customer registers..

Before programming, a mass erase instruction is launched  and I verified, the job was done in the flash and uicr register

Message  I get is "no flash bank found for address 0x10001200 or no flash at 0x10001200..." and the following errors

** Verify Started **
Error: checksum mismatch - attempting binary compare
diff 0 address 0x10001200. Was 0xff instead of 0x15
diff 1 address 0x10001201. Was 0xff instead of 0x00
diff 2 address 0x10001202. Was 0xff instead of 0x00
diff 3 address 0x10001203. Was 0xff instead of 0x00
diff 4 address 0x10001204. Was 0xff instead of 0x15
diff 5 address 0x10001205. Was 0xff instead of 0x00
diff 6 address 0x10001206. Was 0xff instead of 0x00
diff 7 address 0x10001207. Was 0xff instead of 0x00
No more differences found.

Could you help me ?

Regards

Related