Commit 345eff5
committed
#436 - Add --nopwd option for T55xx em410x write
Add a --nopwd flag to `lf em410x write` that leaves the written T55xx tag
password-free instead of applying the default password.
- Firmware: clear the T5577 PWD config bit in block 0 when the key is zero,
so the tag is left unprotected.
- Client: add a no_pwd parameter to em410x_write_to_t55xx and a --nopwd flag.
- Include the default password in the unlock key list so a tag previously
locked by this tool can be freed by a --nopwd write.1 parent f349dbe commit 345eff5
3 files changed
Lines changed: 18 additions & 7 deletions
File tree
- firmware/application/src/rfid/reader/lf
- software/script
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5797 | 5797 | | |
5798 | 5798 | | |
5799 | 5799 | | |
5800 | | - | |
| 5800 | + | |
| 5801 | + | |
| 5802 | + | |
| 5803 | + | |
5801 | 5804 | | |
5802 | 5805 | | |
5803 | 5806 | | |
| |||
5806 | 5809 | | |
5807 | 5810 | | |
5808 | 5811 | | |
5809 | | - | |
5810 | | - | |
| 5812 | + | |
| 5813 | + | |
5811 | 5814 | | |
5812 | 5815 | | |
5813 | 5816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
615 | 616 | | |
616 | 617 | | |
617 | 618 | | |
618 | | - | |
| 619 | + | |
619 | 620 | | |
620 | 621 | | |
621 | 622 | | |
622 | 623 | | |
| 624 | + | |
623 | 625 | | |
624 | 626 | | |
| 627 | + | |
625 | 628 | | |
626 | | - | |
| 629 | + | |
627 | 630 | | |
628 | 631 | | |
629 | | - | |
| 632 | + | |
630 | 633 | | |
631 | 634 | | |
632 | 635 | | |
| |||
0 commit comments