iceman1001
df49565c04
style
2022-03-23 17:49:09 +01:00
Philippe Teuwen
b703bb746b
Adapting license headers, WIP
2022-01-06 02:20:38 +01:00
Philippe Teuwen
8a85702662
hitags: don't record SOF in trace and demodulate AC frame
2021-12-30 01:11:12 +01:00
Philippe Teuwen
323f70ff7a
Add partial byte annotation in Hitag traces
...
Example:
[usb] pm3 --> trace load -f traces/lf_HitagS256_dump.trace
[+] loaded 287 bytes from binary file traces/lf_HitagS256_dump.trace
[+] Recorded Activity (TraceLen = 287 bytes)
[?] try `trace list -1 -t ...` to view trace. Remember the `-1` param
[usb] pm3 --> trace list -1 -t hitags -c
[+] Recorded activity (trace len = 287 bytes)
[=] start = start of start frame end = end of frame. src = source of transfer
[=] Hitag1 / Hitag2 / HitagS - Timings in ETU (8us)
Start | End | Src | Data (! denotes parity error)
------------+------------+-----+-----------------------------------------
0 | 0 | Rdr |18(5)
117 | 117 | Tag |0f(4) 2c ab cc b3 cf 32 bf [2f]
0 | 0 | Rdr |00(5) 21 a5 b4 73 [8c]
117 | 117 | Tag |0f(4) c9 00 00 aa [75]
0 | 0 | Rdr |0c(4) 00 [ab]
117 | 117 | Tag |0f(4) 21 a5 b4 73 [53]
0 | 0 | Rdr |0c(4) 01 [b6]
117 | 117 | Tag |0f(4) c9 00 00 aa [75]
0 | 0 | Rdr |0c(4) 02 [91]
117 | 117 | Tag |0f(4) 48 54 4f 4e [2c]
0 | 0 | Rdr |0c(4) 03 [8c]
117 | 117 | Tag |0f(4) 4d 49 4b 52 [1e]
0 | 0 | Rdr |0c(4) 04 [df]
117 | 117 | Tag |0f(4) 00 00 00 00 [a6]
0 | 0 | Rdr |0c(4) 05 [c2]
117 | 117 | Tag |0f(4) 00 00 00 00 [a6]
0 | 0 | Rdr |0c(4) 06 [e5]
117 | 117 | Tag |0f(4) 00 00 00 00 [a6]
0 | 0 | Rdr |0c(4) 07 [f8]
117 | 117 | Tag |0f(4) 57 5f 4f 4b [88]
0 | 0 | Rdr |0c(4) 08 [43]
2021-12-29 23:48:16 +01:00
Philippe Teuwen
88308ea727
typos
2021-10-10 01:35:45 +02:00
Philippe Teuwen
5b54385347
rename globals
2021-08-21 23:08:26 +02:00
Philippe Teuwen
a330401769
change strategy for refs to linker symbols to get compatible again with old GCC (6.3), tested on GCC 11 too
2021-05-25 16:47:13 +02:00
Philippe Teuwen
13a9afa36d
Uniformize source code ref and fix gcc 11.1 warning
...
Using "extern char linker_symbol[]" notation
cf https://sourceware.org/binutils/docs/ld/Source-Code-Reference.html
2021-05-13 23:12:15 +02:00
iceman1001
a6712295c7
textual - hw status on device side
2021-05-11 16:11:33 +02:00
Philippe Teuwen
e62dfa3bcd
typos
2021-04-16 01:53:07 +02:00
Philippe Teuwen
f63cf02178
make style
2020-11-07 01:32:43 +01:00
iceman1001
cd20b208d0
bigbuf calloc ftc where the memory is set to zero before
2020-11-02 19:07:03 +01:00
Philippe Teuwen
c3c59e35cb
make style
2020-09-30 14:27:19 +02:00
iceman1001
566d6dc4b7
boundry check for tosend buffer
2020-09-28 17:46:12 +02:00
iceman1001
730a233149
clear bigbuff also should reset tracelen
2020-08-17 09:12:28 +02:00
Philippe Teuwen
4ed57c7c4d
make style
2020-08-13 12:25:04 +02:00
iceman1001
3b90f5389a
larger
2020-08-03 17:36:39 +02:00
iceman1001
df404a652a
duration isnt 15bits, its 16. length is 15bits.
2020-07-21 10:49:29 +02:00
iceman1001
3354f0d9d3
unified static dma buffer as bigbuf_malloc, less pressure on stack size
2020-07-15 15:16:35 +02:00
iceman1001
d2a66cecba
style
2020-07-14 15:44:38 +02:00
iceman1001
830ecd6e13
debugs
2020-07-13 22:05:11 +02:00
iceman1001
a6c240fe3b
tosend into bigbuff
2020-07-13 17:56:19 +02:00
iceman1001
e7127514db
change debug
2020-07-13 12:26:26 +02:00
iceman1001
27c4d994ac
remove some debugstatments, use hdr.frame instead
2020-07-13 12:20:12 +02:00
iceman1001
a25a5322dd
fpga: added iCLASS on deviceside
2020-07-10 16:37:56 +02:00
iceman1001
ed5471a895
fpga
2020-07-09 19:40:54 +02:00
Philippe Teuwen
f69739da79
make style
2020-06-19 18:34:47 +02:00
iceman1001
3832cf26fd
color
2020-06-11 19:20:59 +02:00
slurdge
c89fc81fcf
Make BigBuf take dynamically the available space with a fixed (4K) stack
2020-06-10 12:41:18 +02:00
Philippe Teuwen
be42995f8a
Less fantasy in the LogTrace usages regarding timestamps
2020-05-19 20:19:44 +02:00
Philippe Teuwen
37ae102e38
LogTrace error msg
2020-05-19 19:09:25 +02:00
Philippe Teuwen
23d754c85f
fix max duration in LogTrace
2020-05-19 02:48:03 +02:00
Philippe Teuwen
a999243a45
use tracelog struct in arm too
2020-05-19 02:39:39 +02:00
iceman1001
27f7dd6dec
some function def (hitag)
2020-01-01 20:47:39 +01:00
Philippe Teuwen
d19754567d
summer restructuring:
...
* .h include only the strict minimum for their own parsing
* this forces all files to include explicitment their needs and not count on far streched dependencies
* this helps Makefile to rebuild only the minimum
* according to this rule, most standalone .h are now gone
* big app.h is gone
* remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
* bring zlib to common/
* bring stuff not really/not yet used in common back to armsrc/ or client/
* bring liblua into client/
* bring uart into client/
* move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
* treat deps in armsrc/ as in client/
* client: stop on warning (-Werror), same as for armsrc/
Tested on:
* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen
0a4b90ac20
Simplify color & banner logic
2019-04-30 13:02:27 +02:00
iceman1001
ab6870c573
style
2019-04-28 11:08:41 +02:00
Philippe Teuwen
cb452c98ba
rework Dbprintf & add color support
2019-04-26 10:36:06 +02:00
iceman1001
5608df9771
chg: refactored away hitag logtrace.
2019-03-13 22:48:51 +01:00
Philippe Teuwen
961d929f4d
changing {} style to match majority of previous style
2019-03-10 11:20:22 +01:00
Philippe Teuwen
0373696662
make style
2019-03-10 00:00:59 +01:00
Philippe Teuwen
8a7c6825b5
armsrc: fix mix of spaces & tabs
2019-03-09 20:34:41 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
iceman1001
2612cd006a
CHG: bigbuf adaptations
2019-01-09 12:00:06 +01:00
Chris
307063474d
CHG: cleanup
2018-09-04 20:36:25 +02:00
iceman1001
4bfc3ca8c9
CHG: part of @piwi changes
2017-10-23 21:17:59 +02:00
iceman1001
674db8d5ac
fix: 'hf snoop' - buffer overflow (@satuoni)
2017-10-08 14:56:04 +02:00
iceman1001
4406f4ee2a
CHG: removed some #DEFINE TRUE/FALSE
2017-07-07 12:52:51 +02:00
iceman1001
5f18400cbe
FIX: 'hf iclass reader' marshmellows fixes.
...
CHG: removing some #define TRUE
2017-07-07 12:38:49 +02:00
iceman1001
c71c5ee156
ADD: started to add tracelog in legic
...
ADD: remake of legic codebase.
ADD: started with a annotation for LEGIC in 'hf list'
2016-09-02 16:25:54 +02:00