Commit graph

105 commits

Author SHA1 Message Date
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
iceman1001 2bd404b496 Revert "Release v4.16191 - Nitride"
This reverts commit bec61e9185.
2023-01-29 20:35:17 +01:00
iceman1001 bec61e9185 Release v4.16191 - Nitride 2023-01-29 20:35:17 +01:00
Alejandro 474aaed4b7
Added a proper way to check if it is rdv4 fw 2023-01-24 23:01:28 +01:00
iceman1001 063e2da49d Revert "Release v4.15864 - Radium"
This reverts commit 93ca7b4f6e.
2022-10-29 01:34:05 +02:00
iceman1001 93ca7b4f6e Release v4.15864 - Radium 2022-10-29 01:34:05 +02:00
merlokk 541c060a5d hf read adc low level command 2022-06-25 00:36:42 +03:00
iceman1001 1731695483 Revert "Release v4.14831 - Frostbit"
This reverts commit 0b65f2bc9e.
2022-01-11 19:17:19 +01:00
iceman1001 0b65f2bc9e Release v4.14831 - Frostbit 2022-01-11 19:17:19 +01:00
Philippe Teuwen be18b9478d fix ldscript 2022-01-08 01:12:37 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 49ee82be19 zx now builds after fixing corrent header. 2021-12-24 15:24:32 +01:00
iceman1001 69ea599fee skeleton for ZX8211 2021-12-24 13:32:28 +01:00
Philippe Teuwen 4d46c1907f Added CROSS_CC and similar args for maintainers, see Maintainers.md 2021-09-21 13:50:15 +02:00
iceman1001 d3696ee2c3 Revert "Release v4.14434 - crimson"
This reverts commit 2c4c676db2.
2021-09-18 21:44:56 +02:00
iceman1001 2c4c676db2 Release v4.14434 - crimson 2021-09-18 21:44:55 +02:00
Philippe Teuwen 0ed190936d Show source version in the makefile logs 2021-09-05 01:18:42 +02:00
Philippe Teuwen e79fb92074 Add fpga-xc3s100e and icopyx support 2021-08-21 23:45:46 +02:00
Philippe Teuwen bc76c7263e reduce some globals scope 2021-08-21 23:14:54 +02:00
iceman1001 f0c1665427 Revert "Release v4.13441 - midsummer"
This reverts commit 55e1b6714b.
2021-06-25 23:39:10 +02:00
iceman1001 55e1b6714b Release v4.13441 - midsummer 2021-06-25 23:39:10 +02:00
Philippe Teuwen 49e32a12ec Add warning for deprecated PM3OTHER 2021-01-14 14:41:08 +01:00
iceman1001 d7baee2f0c swapped PM3OTHER -> PM3GENERIC, while keeping PM3OTHER functionalitwise for backwards compat. 2021-01-14 14:23:00 +01:00
gator96100 f4c632bd31 Added DEBUG_ARM flag 2020-12-30 00:19:21 +01:00
gator96100 8c29c4231b Allow generation of debug information when using no compression 2020-12-29 03:30:57 +01:00
gator96100 11567dc2e3 Added option for running with uncompressed .data section. Thanks @doegox 2020-12-28 22:48:41 +01:00
Christian Molson 614ab55809 Initial commit for em4x70 support.
Initially I only have an em4x70 variant used for car transponders.
Also known as the ID48.
2020-12-05 17:47:03 -05:00