Philippe Teuwen
65bd945b54
style
2019-05-05 22:04:35 +02:00
Philippe Teuwen
6b5a0f8319
Rename and unguard CMD_DOWNLOAD_RAW_ADC_SAMPLES_125K ans it's used more generally than LF
2019-05-04 23:56:59 +02:00
Philippe Teuwen
3176684f4a
Add usart dev cmds & dynamic flash support capability
2019-05-03 22:30:17 +02:00
iceman1001
8e2d5370f9
fix: seems the mutex messed up on ubuntu but there it works without.
2019-05-03 21:58:47 +02:00
iceman1001
a49ae2d0ce
FIX: slow reconfigure on mingw of serial port
2019-05-03 21:33:00 +02:00
iceman1001
ed1950a0f5
fix: cross thread communictions of timeout variable
2019-05-03 17:53:32 +02:00
Philippe Teuwen
4f11ef048f
style
2019-05-01 01:38:52 +02:00
Philippe Teuwen
820a6d99a9
better offline mode
2019-04-30 23:52:40 +02:00
iceman1001
f8f39d6196
fix: passing a struct.
2019-04-30 22:03:20 +02:00
Philippe Teuwen
63cd4a9fbb
Merge branch 'better_color_handling'
...
* better_color_handling:
Remove cmd_debug from flasher, we've COMMS_DEBUG_RAW if needed
Use PrintAndLogEx in flasher
Simplify color & banner logic
Smart color handling:
2019-04-30 21:37:19 +02:00
Philippe Teuwen
27f7057961
Rename few USB -> PM3 to avoid misleading interpretations
2019-04-30 21:10:11 +02:00
Philippe Teuwen
5c9c38ff71
Use PrintAndLogEx in flasher
2019-04-30 20:19:29 +02:00
iceman1001
cddc25994c
fix: by reference
2019-04-30 16:16:17 +02:00
Philippe Teuwen
0a4b90ac20
Simplify color & banner logic
2019-04-30 13:02:27 +02:00
iceman1001
e1063e2836
chg: reconfigure uart timeouts when compiled for FPC and connecting over USB.
2019-04-30 12:57:44 +02:00
Philippe Teuwen
a91d0a7b19
Smart color handling:
...
* if on Windows, no color, as usual
* if on Linux, color only on real term
* no color when > foo
* no color in the logfile
2019-04-30 00:41:52 +02:00
Philippe Teuwen
f4d62eec09
Fix COMMS_DEBUG_RAW
2019-04-29 23:02:49 +02:00
Philippe Teuwen
32a512b13e
Support break_after_ACK for MIX frames
2019-04-29 22:39:18 +02:00
Philippe Teuwen
ac9f3b29f6
better COMMS_DEBUG_RAW
2019-04-29 22:38:54 +02:00
Philippe Teuwen
fc6be9fea4
Define USB_CMD_DATA_SIZE_MIX
2019-04-29 22:38:26 +02:00
Philippe Teuwen
5e8fc73527
Debug hexdumps of comm
2019-04-29 01:20:03 +02:00
iceman1001
9779868753
style
2019-04-28 11:09:46 +02:00
iceman1001
c5c364d994
fix: compilation on mingw
2019-04-27 11:57:11 +02:00
Philippe Teuwen
e2e0b704c5
Several changes in the initial connection, see details:
...
* TestProxmark uses pingng
* New command CMD_CAPABILITIES to transmit capabilities from pm3 to host
* Use TestProxmark to retrieve capabilities with that new command
* CloseProxmark if TestProxmark fails
* Hide baudrate for USB and retrieve real baudrate from pm3 for BT
2019-04-27 02:46:20 +02:00
Philippe Teuwen
7d1161d7d8
First packet is in TestProxmark, not pm3_version
2019-04-27 01:16:43 +02:00
Philippe Teuwen
12937884f6
move uart_speed to conn struct and display baudrate only for real UART
2019-04-27 01:15:52 +02:00
Philippe Teuwen
3b6a249646
move global connection flags to cnn struct
2019-04-26 23:16:24 +02:00
Philippe Teuwen
01b31c742b
Use block_after_ACK in flashmem too
2019-04-26 13:53:11 +02:00
Philippe Teuwen
b12be75a5b
Remove block_after_ACK mechanism on NG frames, flashing uses OLD and NG won't use ACK anymore
2019-04-26 12:02:34 +02:00
Philippe Teuwen
a14b3d8b87
Merge branch 'master' into experimental_varlen
...
* master:
missing bracket
text
CHG: remove WITH_EMV since its not used at all.
2019-04-26 10:54:12 +02:00
iceman1001
4ad9f57939
missing bracket
2019-04-26 10:49:30 +02:00
Philippe Teuwen
1c136c8fc6
Merge branch 'master' into experimental_varlen
...
* master:
rework Dbprintf & add color support
use color macros
doc magic
archive and fix hid-flasher
update standalone readme
2019-04-26 10:48:28 +02:00
Philippe Teuwen
cb452c98ba
rework Dbprintf & add color support
2019-04-26 10:36:06 +02:00
iceman1001
df96b58fcc
style
2019-04-25 17:06:40 +02:00
Philippe Teuwen
4b5800d78f
remove name
2019-04-24 15:57:24 +02:00
Philippe Teuwen
e453aff88c
First adjustments for FPC BT link
2019-04-23 23:36:36 +02:00
Philippe Teuwen
d6892136ac
Add communication_delay also to dl_it timeout
2019-04-22 02:44:06 +02:00
Philippe Teuwen
3e402797c1
dl_it uses also global start_time reset by packets reception as this can take ages (50s at 9600 baud for LF samples)
2019-04-22 02:11:46 +02:00
Philippe Teuwen
eebea8c088
DbpStringEx using reply_ng
2019-04-22 01:33:32 +02:00
Philippe Teuwen
913c03d3c4
Reset WaitForResponse timeout every time we get a packet
...
as cmds sending a lot of Dbprintf msgs can take ages on slow links
e.g. "hw status" on 9600 baud link takes 26.5s with "reply_old" Dbprintf
2019-04-21 23:56:08 +02:00
Philippe Teuwen
75ee60f267
WaitForResponseTimeoutW: fix, no communication_delay when timeout=-1
2019-04-21 23:26:51 +02:00
Philippe Teuwen
4aa1b49493
fix uart_posix: bytecound must be 32b
2019-04-21 01:05:02 +02:00
Philippe Teuwen
6e744043f5
usart working... when debugged...
2019-04-21 00:44:19 +02:00
Philippe Teuwen
a7773b3395
Introduce reply_mix, to still get some varlen on old API
2019-04-20 03:17:19 +02:00
Philippe Teuwen
3bcf80bb34
Introduce SendCommandMIX, to still get some varlen on old API
2019-04-20 02:41:40 +02:00
Philippe Teuwen
95822d8360
minor
2019-04-20 01:49:37 +02:00
Philippe Teuwen
b68ccfa7b8
SendCommandOLD : comms & flash
2019-04-19 02:01:47 +02:00
Philippe Teuwen
7dbd12ad27
SendCommandOLD: cmdhw
2019-04-18 22:42:15 +02:00
Philippe Teuwen
9bd59a8d40
Add SendCommandOLD
2019-04-18 22:19:28 +02:00
Philippe Teuwen
b860cc6eaf
Rename MAGIC defines
2019-04-18 21:49:37 +02:00