Hi List, When using the command "flash write_image erase" or the automatic programming interface of GDB/Insight, the following error occurs:
Debug: 1174 28601 cfi.c:278 cfi_intel_wait_status_busy(): status: 0xa2 Error: 1175 28601 cfi.c:286 cfi_intel_wait_status_busy(): status register: 0xa2 Error: 1176 28601 cfi.c:288 cfi_intel_wait_status_busy(): Block Lock-Bit Detected, Operation Abort Error: 1177 28601 cfi.c:296 cfi_intel_wait_status_busy(): Error in Block Erasure or Clear Lock-Bits Debug: 1178 28601 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000004 Debug: 1179 28601 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000005 Debug: 1180 28601 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000004 Debug: 1181 28601 embeddedice.c:397 embeddedice_write_reg(): 0: 0x00000005 Error: 1182 28601 cfi.c:683 cfi_intel_erase(): couldn't erase block 0 of flash bank at base 0x10000000 Error: 1183 28601 flash.c:116 flash_driver_erase(): failed erasing sectors 0 to 0 (-902) Error: 1184 28601 gdb_server.c:1741 gdb_v_packet(): flash_erase returned -902 The Flash is automatically erased when programming, but the lock bits are not automatically cleared. I have to manually use "flash protect 0 0 1 off". It would be great if the Flash lock bits are cleared too. Best regards, Pieter Conradie Notice This email is intended for the addressee only and may contain legally privileged and/or confidential information. If you have received this email in error and are not the intended recipient, you are hereby informed that you are not entitled to read, broadcast, distribute or in any manner whatsoever use the contents of this email or any attachments thereto. You are requested to please notify Psitek that you have received the email and then delete it. Unless clearly stated otherwise, the content and sentiments expressed in this email or any attachments thereto are those of the sender and not of Psitek (Proprietary) Limited. Psitek does not accept liability for any damages, loss or expense of any nature whatsoever arising (a) out of or in connection with the email or any attachments thereto and/or (b) from any act or omission by the recipient relying upon the content of the email or attachments. Psitek further disclaims liability for any damages caused by computer and/or software viruses. Should this email contain the terms of a contract, no binding agreement will result until such time as a written (hardcopy) document is signed on behalf of Psitek.
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
