106 Commits
Author SHA1 Message Date
iceman1001 8b6d8cbb79 Release v4.18218 - DEFCON is Cancelled 2024-02-18 20:53:52 +01:00
iceman1001 8d0b41a911 this commit fixes #2244 #2246 #1596 #2101. Its kind of a big refactoring and I most likely broke something. With that said. Now: HF 15 commands now uses NG packets, hf 15 raw support -k keepfield on and -s select, hf 15 dump/rdbl/rdmulti should handle blocksizes of 4 or 8, the error messages are unified and error handling the same. Some understanding how add_option impacts response message from card. A more clear separation between PM3 flags and ISO15693 protocol flags. 2024-01-14 14:23:51 +01:00
iceman1001 0d5e76a9ca text 2024-01-04 23:30:48 +01:00
iceman1001 b1a1ca8827 Revert "Release v4.17768 - Steamboat Willie"
This reverts commit 57eeb712fd.
2024-01-03 01:59:39 +01:00
iceman1001 57eeb712fd Release v4.17768 - Steamboat Willie 2024-01-03 01:59:39 +01:00
iceman1001 f8f135a3b7 style 2023-12-18 10:11:11 +01:00
iceman1001 fe4c5792fc make sure its initialised 2023-12-14 23:43:30 +01:00
iceman1001 79213b169a style 2023-12-14 00:37:06 +01:00
wh201906 8fc3130a9f Add smartcard definition in PLATFORM_EXTRAS 2023-12-09 15:33:59 +08:00
wh201906 3ee13c9ba6 Apply suggestions from @henrygab
Check if memory allocation fails
Fix memory leak
Initialize struct in declaration
Add/Fix some notes
Remove unlikely() in favor of readability
Remove a hard-coded magic number
2023-11-15 18:04:52 +08:00
wh201906 e1dc17df1a Add async_usb_write_XX() 2023-11-14 01:12:21 +08:00
wh201906 a0af1fa085 Use ping-pong mode from the start of usb_write()
Before:
708608,708608,707584,707584,708608->708198.4 bytes/s
After:
722944,733184,732160,731136,733184->730521.6 bytes/s

Added some note for ping-pong mode and non ping-pong mode
2023-10-24 12:31:41 +08:00
wh201906 72da0c9623 Fix some wrong synchronization waits in usb_write()
To make the full use of the ping-pong endpoint
Transfer speed before this fix:
616448,618496,618496,615424,615424->616857.6 bytes/s
Transfer speed after this fix:
707584,709632,707584,709632,710656->709017.6 bytes/s (+14.9%)
Tested by running hw status
2023-10-24 00:46:28 +08:00
iceman1001 f9877f79de Revert "Release v4.17140 - Raccoon"
This reverts commit 6ca0ce704a.
2023-09-09 11:00:00 +02:00
iceman1001 6ca0ce704a Release v4.17140 - Raccoon 2023-09-09 11:00:00 +02:00
iceman1001 d9e867fa28 string formatters 2023-07-27 22:56:41 +02:00
iceman1001 7558846e76 text 2023-07-23 23:47:22 +02:00
d18c7db c59bdec4f2 Unified fpga folders 2023-05-30 19:47:27 +02:00
iceman1001 8f20eed914 fix CID #405232 2023-03-04 20:10:46 +01:00
iceman1001 475bbe183d some generic devices has other sizes of flash 2023-02-18 22:02:20 +01:00
Henry Gabryjelski c531bd0f65 make style updates 2023-02-18 12:20:43 -08:00
Henry Gabryjelski 229454963b standardize flash uniqueID to big-endian 2023-02-18 12:16:50 -08:00
Henry Gabryjelski 48ca513a96 updates from make style 2023-02-17 17:27:07 -08:00
Henry Gabryjelski 44676bde72 Bootrom: Enable serial number from flash
* Add `.ramfunc` section to bootrom loader script
* exclude spiffs functionality from flashmem.h/flashmem.c
   (allows bootrom to use flashmem)
* hide unused tick.h / flashmem.h functions from bootrom
   (not technically necessary; see comments)
* bootrom: add source files, include path, and defines when
  `PLATFORM_DEFS` defines `WITH_FLASH`
* Define `AS_BOOTROM` to indicate code is building for bootrom
2023-02-17 17:07:13 -08:00
Henry Gabryjelski 5784c8de77 Update USB Serial Number from SPI flash's uniqueID
Also allow flash to be separately enabled via PLATFORM_EXTRAS.

NOTE: this does *NOT* enable the serial number
in the bootrom.  Still investigating options there.
2023-02-17 17:07:13 -08:00