Commit Graph
390 Commits
Author SHA1 Message Date
iceman1001 17338e2a5f style 2024-12-31 23:35:16 +01:00
Piotr Rzeszut 5261106098 Add spiffs operation checks, update changelog and documentation after moving t55xx configurations 2024-12-26 21:58:30 +01:00
Piotr Rzeszut dd17effaab Move T55XX config to spiffs file 2024-12-26 19:46:55 +01:00
Piotr Rzeszut 2fe0ba57b2 Change lf t55xx chk -m to read dictionary from spiffs file 2024-12-26 02:52:59 +01:00
ANTodorov 76aaef96cc rework addressing the review comments
Reverted 'mfr_id' to 'manufacturer_id'
Moved devices table definition to flashmem.h
Single global variable 'spi_flash_pages64k'
The local structure holding the actual device data is used in firmware.c only

difference in code:
```
   text    data     bss     dec     hex filename
 223189  138560    6067  367816   59cc8 ./armsrc/obj/fullimage.elf <-- c9e751d darkside: fix backdoor support

 223437  138624    6075  368136   59e08 ./armsrc/obj/fullimage.elf <-- this commit
 ======================================
   +248     +64      +8    +320
```
2024-11-20 14:10:02 +02:00
ANTodorov f3fa732062 refactor spi flash detection 2024-11-19 09:35:26 +02:00
ANTodorov 861c7efd26 fix missing offsets
the data was written, but it should be readable too...
2024-11-17 22:16:35 +02:00
iceman1001 c002ae9f77 style 2024-10-06 10:08:17 +02:00
iceman1001 01a191f385 style 2024-10-01 09:52:46 +02:00
douniwan5788 eca9830050 fix: lf cmdread. skip WaitMS(100) when keep signal field ON.
4 extra symbol.
avoid include SOF in crc-hitag
2024-08-20 22:50:13 +08:00
iceman1001 6bc6ec23ce fix #2346 refactored the write loop before it assumed a full t55xx memory layout. Now handles block writes to individual parts 2024-04-13 10:59:07 +02:00
iceman1001 f5e976afa6 style 2024-02-16 21:59:45 +01:00
iceman1001 c544d67d2b Thanks to the user jareckib for his solution of adding two extra blocks to t5577 in order to clone a more modern Electra tag. Find it under the extra param lf em 410x clone --electra 2024-02-16 21:21:02 +01:00
iceman1001 6597a1705a text 2024-02-04 23:20:56 +01:00
iceman1001 0c4a1066c1 text 2024-01-05 19:27:38 +01:00
iceman1001 6b9963b12a forgot to free the allocated memory 2023-12-14 23:37:37 +01:00
Henry Gabryjelski 665cf3254b more const for lfops and some commonutil 2023-08-14 23:02:09 -07:00
iceman1001 b4255eea77 simplify save files 2022-06-06 13:20:39 +02:00
iceman1001 90fcec0152 add ledcontrol 2022-05-08 09:36:56 +02:00
Philippe Teuwen 9880df8ca7 make style 2022-05-03 15:18:44 +02:00
Philippe Teuwen 7f37958144 Enable support to clone HID on EM4x05 2022-04-30 00:08:10 +02:00
Philippe Teuwen 185a45e749 Add support for cloning Viking and EM410x on EM4x05 2022-04-29 17:32:52 +02:00
Philippe Teuwen 4d264fa63c Preparing EM4100 clone to EM4305 2022-04-29 16:44:38 +02:00
Philippe Teuwen ebba11b3f5 make style 2022-01-06 20:05:26 +01:00
iceman1001 e550f8ccc8 cppcheck fixes for const 2022-01-06 15:40:11 +01:00
Philippe Teuwen bcafc5d03c some historical copyright adjustments, thanks @iceman1001! 2022-01-06 11:24:04 +01:00
Philippe Teuwen b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
iceman1001 0d38da5de2 make style 2021-12-27 19:36:42 +01:00
iceman1001 4493114f4f renamed function and exported it 2021-12-27 17:43:28 +01:00
Philippe Teuwen c3864a0ce5 lf cmdread: add -k to keep field on 2021-12-18 00:43:11 +01:00
Łukasz Jurczyk 218a4ba2ec Added ledcontrol to lf functions 2021-11-18 15:00:54 +01:00
Łukasz Jurczyk 53611b5cad Fixed ledcontrol in SimulateTagLowFrequencyEx 2021-11-17 16:15:27 +01:00
Philippe Teuwen 88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen 9f36ce1b9d cppcheck reduce variable scopes 2021-09-05 23:42:14 +02:00
merlokk ca40ee99d6 make style 2021-08-30 12:36:48 +03:00
Philippe Teuwen 2ce30201b2 Fix lf em 410x watch and standalone bug introduced with Electra changes 2021-08-28 19:10:14 +02:00
Philippe Teuwen bc76c7263e reduce some globals scope 2021-08-21 23:14:54 +02:00
Philippe Teuwen 5b54385347 rename globals 2021-08-21 23:08:26 +02:00
merlokk 09bb3f62a1 make style 2021-08-05 00:01:53 +03:00
Philippe Teuwen ee22a824ce Add support for Electra demodulation 2021-08-04 15:11:30 +02:00
iceman1001 765d2acbb0 t55xx detect/read/write/dump etc will fail if you set lf config to something. Moved the reset / restore of lf config to device side for T55XX readblock. t55xx sniff still obeys lf config since it uses lf sniff beneath. 2021-07-29 10:51:31 +02:00
iceman1001 3b7153045f fix compiler warning on arm-none-eabi 11.1.0 2021-05-13 13:28:03 +02:00
iceman1001 9873c0e4e2 enable debugging of EM4x05 hid generated data 2021-04-27 19:14:13 +02:00
iceman1001 6eb02c5f8e cppchecker fixes 2021-04-13 08:17:11 +02:00
iceman1001 f70a49e894 lf simulate - less checks 2021-03-15 01:29:48 +01:00
Philippe Teuwen e5c5629cf2 Some tunings of otptear:
- make tearoff_delay_us and tearoff_enabled globals
- use tearoff_hook and remove Dbprintf in critical tearoff timing
- move initial write from MifareU_Otp_Tearoff to CmdHF14AMfuOtpTearoff and make it optional (old behavior was writing initial 00000000 when -d was not provided)
- tearoff: compare with initial write, not with previous tearoff outcome
- rephrase some messages
- track all begin and end of erase and write phases, with quite complex logic to cover multiple cases (starting in middle of erased phase, starting with write 0, ...) and report them
- check against initial write error
- repeat same timing (up to 10x) in case of write/read errors then quit
- typos
2021-03-07 23:48:55 +01:00
iceman1001 47c27d751c lf awid/hid/io/410x watch - now works with user side abort 2021-02-02 17:55:54 +01:00
iceman1001 ed3d12724b text 2021-02-02 15:33:42 +01:00
iceman1001 aad7d4c8df text 2021-02-01 23:27:26 +01:00
iceman1001 40230532f5 text 2021-02-01 23:23:34 +01:00