mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-09-12 08:04:31 +08:00
adding information about error protection on flash
parent
570b70d609
commit
07acc85baf
1 changed files with 23 additions and 1 deletions
|
@ -99,4 +99,26 @@ and you will get OpenOCD prompt
|
|||
####Write the new firmware
|
||||
Assuming your in the root of the Proxmark source code repository, and have already compiled the firmware issuing the make command.
|
||||
* `flash write_image ./armsrc/obj/fullimage.elf`
|
||||
* `flash write_image ./bootrom/obj/bootrom.elf`
|
||||
* `flash write_image ./bootrom/obj/bootrom.elf`
|
||||
|
||||
####Troubleshooting
|
||||
I can't overwrite my flash and get the error "Lock Error Bit Detected":
|
||||
```
|
||||
> flash erase_sector 0 0 15
|
||||
status register: 0x1048b205
|
||||
Lock Error Bit Detected, Operation Abort
|
||||
failed erasing sectors 0 to 15
|
||||
```
|
||||
|
||||
In this case you need to clear the protection on that bank (or banks). This can be done as follows:
|
||||
|
||||
```
|
||||
flash protect 0 0 15 off
|
||||
flash protect 1 0 15 off
|
||||
```
|
||||
|
||||
When successful, you should see a message as follows:
|
||||
```
|
||||
> flash protect 0 0 15 off
|
||||
cleared protection for sectors 0 through 15 on flash bank 0
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue