Commit Graph
22539 Commits
Author SHA1 Message Date
iceman1001 8cef2d5822 fix reinitialization of sim module 2026-08-27 09:37:18 +02:00
iceman1001 aeb5347b87 next sim module firmware sim017.bin, 2026-08-27 09:26:08 +02:00
Philippe Teuwen 18c7e69295 rework pm5 doc 2026-08-27 09:15:37 +02:00
Philippe Teuwen 60a61fc343 rework pm5 doc 2026-08-27 09:11:07 +02:00
iceman1001 dabc7d645b shaving off some time with ATR. Revert back the timings for i2c bus. still a very slow bus 2026-08-27 02:47:45 +02:00
iceman1001 62b7f49089 add some more smart card tests for T=1 etc. Thanks Claude 2026-08-27 02:01:55 +02:00
iceman1001 7488b5bb79 fix to work with different SAMs. Fixed some overflow bugs and better asn1 decoding. Also enjoys the speed up from i2c sim module. Thanks Claude 2026-08-27 01:59:33 +02:00
iceman1001 84ad2fb8d4 new sim module firmware, shorter delays for T=0 transfers 2026-08-27 01:38:46 +02:00
iceman1001 a76399c030 unify --t0 --t1 selection of T=0, T=1 parameters 2026-08-26 23:58:48 +02:00
iceman1001 35d1cb4fa7 fixed timings, T=1 <> T=0 swaps when emv card doesn't support T=0, 2026-08-26 23:57:47 +02:00
Iceman c5ffec1305 Merge pull request #3533 from kormax/felica-idi-issuer-information-parsing
Enable `hf felica info` to determine card issuer, serial, issuance date based on extracted IDi
2026-08-27 01:49:02 +07:00
iceman1001 6b7678edeb added some tests of etc annotations 2026-08-26 20:47:55 +02:00
iceman1001 5f05cbf576 the annotations for 7816 handles contact vs contactless situations better now. Thanks Claude 2026-08-26 20:44:34 +02:00
iceman1001 dcb474a963 added ISO 7816-3 protocol and parameter selection exchange command. wired up T=1 in device side and fixed timing issues too. Thanks Claude 2026-08-26 20:42:39 +02:00
iceman1001 6a3ab99611 added updated sim module firmware v4.53, it now supports T=0 and T=1. T=0 got some bug fixes too. Look at https://github.com/gentilkiwi/kproxmark3_sim for all details 2026-08-26 20:34:43 +02:00
Niel Nielsen fa156e4ba0 Update BWM framing constants and functions
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 20:22:05 +02:00
Niel Nielsen d2bd743542 Refactor bwm_forward.c for improved clarity and structure
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 20:22:05 +02:00
Philippe Teuwen 7fb8927523 Fix streaming bug affecting mostly the pm5
Bug triggered with:
lf read -s 50000
hw ping

ReadLF_realtime() in lfsampling.c never knew how many samples the client wanted — for the realtime path, lf_sample_payload_t.samples was never populated on the client side, and the ARM handler in appmain.c (CMD_LF_ACQ_RAW_ADC/CMD_LF_SNIFF_RAW_ADC) ignored it anyway. So the device just streamed samples indefinitely, only checking for a stop request roughly once per 64-sample USB burst, and even after noticing it, flushed one more trailing partial burst via async_usb_write_stop().

Meanwhile the client (WaitForRawDataTimeout in comms.c) stops listening in raw mode the instant it has collected exactly the number of bytes it asked for (e.g. 50000), then switches back to normal framed-packet parsing. Since the device kept sending more bytes past that point, those extra bytes sat unread in the pipe and got misinterpreted as a PacketResponseNGPreamble/OLD-frame header, corrupting every subsequent USB exchange (hw ping, etc.) — reproducible even with a plain lf read -s 50000, no trigger/COTAG needed.

Moreover, we make sure the client doesn't stop listening, even briefly, during stream reception.
2026-08-26 20:16:46 +02:00
kormax 3451febfc4 Enable 'hf felica info' to determine card issuer, serial, issuance date based on extracted IDi 2026-08-26 20:40:05 +03:00
kormax 727a7c879f Optimize FeliCa command execution behavior based on pre-existing IC code knowledge 2026-08-26 17:35:22 +02:00
Philippe Teuwen 18bc735822 ARM: err on more warnings 2026-08-26 17:19:13 +02:00
quantum-x 9d2598aecb Update README.md
Added clarity to PR

Signed-off-by: quantum-x <simon.yorkston@gmail.com>
2026-08-26 16:28:48 +02:00
quantum-x 8fd64488e2 Update README.md / Clarify iCopy-X
Tweaked README.md to reflect the updated iCopy-X situation. 
Devices running the Open Source firmware are 100% compatible with latest iceman firmware / no DRM / etc. 

Signed-off-by: quantum-x <simon.yorkston@gmail.com>
2026-08-26 16:28:48 +02:00
Philippe Teuwen 0c8005b9c1 Remove inline keyword to fix compiler warning about it not being fulfilled anyway 2026-08-26 16:26:48 +02:00
Philippe Teuwen d6c28f7c90 minor 2026-08-26 16:26:05 +02:00
Philippe Teuwen 9c6ca6be4a Add missing prototype 2026-08-26 16:24:44 +02:00
Niel Nielsen e71f37ef32 Remove WITH_BWM_FORWARD from PLATFORM_DEFS
Removed the conditional definition for WITH_BWM_FORWARD in PLATFORM_DEFS.

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 3156f0bfd7 Add ble_posix.c to CMakeLists.txt
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen c5c53d444f Increase RX buffer size and improve comments
Enlarged the kernel RX buffer and updated comments for clarity.

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 46ab575247 Implement BLE support in uart_posix.c
Added BLE support to serial port handling for Unix systems, including connection and data transmission methods.

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen d573ebc624 Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 93434d0ee6 Delete client/src/ble_posix.h
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 47574c2e02 Delete client/src/ble_posix.c
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 3c8b9db0b8 Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 6e741fa9e9 Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen d0fc4336be Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen ec6f468f36 Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 5560b2dbbe Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 7f9619eb7d Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen fc2fcc890c Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen a82c6e4fe9 Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Niel Nielsen 3553836b7c Add files via upload
Signed-off-by: Niel Nielsen <nieldk@gmail.com>
2026-08-26 16:07:37 +02:00
Iceman 48458b6ba7 Merge pull request #3527 from kormax/felica-info-auth-idi-pmi
Determine IDi and PMi in `hf felica info` for cards with known keys
2026-08-26 18:15:00 +07:00
kormax f3bca6c291 Determine IDi and PMi in 'hf felica info' for cards with known keys 2026-08-26 11:34:57 +03:00
Iceman 1c9ade5a95 Merge pull request #3526 from xianglin1998/fpgac-cfg-check-size
Check the file size when configuring the fpga.
2026-08-26 13:42:40 +07:00
Iceman 775c16c716 Merge pull request #3525 from xianglin1998/remove-swap-clocks
Remove swap_clocks()
2026-08-26 13:42:11 +07:00
dxl 1c9c84c6d7 Check the file size when configuring the fpga. 2026-08-26 13:17:22 +08:00
dxl 390b267a94 Remove swap_clocks(). 2026-08-26 11:50:06 +08:00
dxl 16f622d907 Update comment for StopTicks() 2026-08-26 11:45:05 +08:00
Iceman c966a54755 Merge pull request #3524 from nieldk/battery-health
hw status: add battery health (BWM)
2026-08-26 05:02:54 +07:00