Commit Graph
96 Commits
Author SHA1 Message Date
Christian Zietz c1b23a761c Use struct for parameter passing in CMD_HF_ISO14443A_SET_THRESHOLDS 2024-02-03 12:09:08 +01:00
Christian Zietz 404d0a8c7b Fix 'make style' findings 2024-02-02 20:51:56 +01:00
Christian Zietz 43b257ddb4 Make demodulation threshold for Legic configurable
This adds a new parameter to the "hw sethfthresh" command.
2024-02-02 20:51:49 +01:00
Christian Zietz dbfd8b7a6d Make detection threshold for ISO14443A configurable
This adds a new command "hw sethfthresh" to configure the thresholds
used inside the FPGA while demodulating ISO14443A. The thresholds
need to be increased on particularly noisy hardware, such as certain
Chinese PM3 Easy clones.
2024-02-02 20:51:05 +01:00
iceman1001 efc8c0b8ab added a interactive flag for hf14asniff, and unified text across the project 2024-01-25 10:21:36 +01:00
iceman1001 081ff216eb style 2024-01-23 15:28:50 +01:00
Martijn Plak 6524c7ada7 readmem: remove superfluous printing of filename 2024-01-23 08:39:50 +01:00
Martijn Plak 2f324918b3 readmem: fix entry of numbers and allow hexadecimal 2024-01-23 08:36:53 +01:00
Martijn Plak e35385fde1 Adding processor flash memory reading, viewing and writing to file.
Works when the device is running either osimage or bootloader.

- New memory reading command in osimage and bootloader.
- Extended 'hw readmem' command with length parameter, file writing and hex viewer.
- Introduced '--dumpmem' option to proxmark3 executable to support dumping from bootloader.

Simple interactive examples:
  hw readmem -f flashdump
  hw readmem -l 1024
CLI example:
  ./pm3 --dumpmem flashdump.bin

Reading from arbitrary memory ranges can be unlocked using the 'raw' option.
2024-01-22 16:40:05 +01:00
iceman1001 f8f135a3b7 style 2023-12-18 10:11:11 +01:00
wh201906 81888e01a2 Add hw bootloader
Reboot to the bootloader mode in the client
2023-12-13 21:41:17 +08:00
merlokk ebe9d72cc2 set debug log level 2023-12-11 18:46:25 +02:00
wh201906 bb529a9077 Fix corrupted data caused by CMD_WTX
No need to wait for 2.5s (1s + FPGA_LOAD_WAIT_TIME) if the real-time
sampling stops.
Make sure the LF bitstream is loaded before real-time sampling so the
response of CMD_WTX won't appear.
2023-12-02 17:04:03 +08:00
wh201906 2d48e33a99 Some small fix 2023-11-06 18:45:10 +08:00
wh201906 85e38ddc38 Add --ms option in hw status
To specify the timeout of connection speed test
2023-11-06 16:35:43 +08:00
Jean-Michel Picod c08e26ca26 Add alternative chip ID 2023-11-01 10:40:53 +01:00
Philippe Teuwen b9ae38f888 Add timing to hw ping, reduce sleep to 1ms in WaitForResponse, no impact on CPU 2023-10-20 00:36:46 +02:00
iceman1001 34d8a41021 hw ping - fix output text 2023-10-19 11:08:53 +02:00
Self Not Found 7dbdc7cf10 Add short flag -m for timeout related commands 2023-10-18 18:47:32 +08:00
iceman1001 78e1a84515 added the timeout to preferences, so its stored in the pref file but... there need to be adaptations to the uart_p*/uart_w* files to use the the session value.. 2023-10-17 14:54:44 +02:00
iceman1001 71961501d4 text 2023-08-28 15:36:01 +02:00
Alex f47e4ed115 Move hardcoded value where it belongs
Keep FPGA parameters together in the same place
2023-08-24 18:22:50 +02:00
Alex 6947a61d98 Whitespace 2023-08-09 14:30:07 +02:00
iceman1001 123ef14667 style 2023-07-26 23:50:12 +02:00
iceman1001 fc3a518f28 There is a race condition when we go from iclass commands to mf command. Especially noticable when eload large files where we used to spam the device with usb packages.\ntry iclass eload, then mf eload, and you see the client hang. With this change we trigger a preload of the fpga image before we start uploading to the device. Current places I could trigger this bug was in eload and gsave. With this patch only the first call takes some time if fpga image must be loaded. The following goes fast.\n\n if you find that the client hangs when going between, this could be the root cause. 2023-07-26 23:47:55 +02:00
iceman1001 e43f6804a1 style 2023-07-06 22:37:34 +02:00
wh201906 b74c5db4f9 Make communication timeout configurable 2023-07-05 22:44:59 +08:00
Self Not Found d33fbf1347 Fix units 2023-04-06 20:54:00 +08:00
iceman1001 09f2bf9f02 style 2023-01-29 04:59:50 +01:00
Alejandro 474aaed4b7 Added a proper way to check if it is rdv4 fw 2023-01-24 23:01:28 +01:00
Alejandro da84eb6206 proper way 2023-01-23 20:41:00 +01:00
Philippe Teuwen b8458322e1 cppcheck fix null pointer dereference 2023-01-15 02:23:19 +01:00
iceman1001 4dfcd44edd return default value when arg is not enforced with u32_1 2022-11-20 16:43:12 +01:00
iceman1001 4fb096966e extra checks for argument parsing of ints. And some text updates. There are other int parsing but they are checked with mandatory param int1 2022-11-20 16:34:45 +01:00
iceman1001 372ab2af98 style 2022-06-12 11:51:50 +02:00
Doridian c24cf70a7b forgot default case 2022-06-11 16:56:45 -07:00
Doridian 6b951960f1 below 150 2022-06-11 12:29:27 -07:00
iceman1001 c5d12bba0f adapt hw dbg to query device before setting log level 2022-06-06 18:21:28 +02:00
iceman1001 a699c0b5dd text 2022-02-28 05:38:11 +01:00
iceman1001 9f22131dd1 alignment 2022-02-26 20:34:18 +01:00
iceman1001 652affbfb1 rework start screen to be shorter 2022-02-26 17:17:14 +01:00
Iceman 1c6abece54 Merge branch 'master' into sha 2022-02-25 11:42:20 +01:00
iceman1001 07855611e4 unify text 2022-02-24 18:03:19 +01:00
Philippe Teuwen 2a705d3a44 make style 2022-02-17 01:43:41 +01:00
Philippe Teuwen 14f62eaa88 armsrc check: skip if no src available; postpone warning 2022-02-17 01:43:41 +01:00
Philippe Teuwen bbf49ab560 Add a fingerprint of the ARM OS source files to detect when a client expects another ARM image 2022-02-17 01:43:39 +01:00
Philippe Teuwen 12695a984a typo 2022-02-14 02:05:12 +01:00
iceman1001 26f88b68de daddy got a new style 2022-02-13 12:56:05 +01:00
Philippe Teuwen 3ada10be72 Add linenoise-ng as alternative to readline 2022-01-29 15:20:32 +01:00
Philippe Teuwen fc13b6b20c Add pm3line API to hide readline, allowing easier implementation of alternatives 2022-01-11 23:13:22 +01:00