iceman1001
6d1c996251
chg: flashing - test messages
2019-07-30 19:22:24 +02:00
Philippe Teuwen
9beabaabf5
make style
2019-07-23 21:33:52 +02:00
Philippe Teuwen
daae890667
Bootrom & flasher changes:
...
* use macros for versions
* activate UNDERSTANDS_VERSION in bootrom
* fix missing break; bug in bootrom
* force flash_load to reject images > 256k if bootloader not up to date
* move logic from flasher to flash
2019-07-20 10:48:40 +02:00
slurdge
68aa9d631d
Flasher support for versionning
...
Only bootrom with version > 1.0.0 will allow 512K writes
2019-07-20 10:47:24 +02:00
Philippe Teuwen
44278272a4
typo
2019-07-19 12:39:23 +02:00
slurdge
7bf3255a6c
Flasher support for 512K flash
...
A better way would be to cut the connecting function and flashing function and to move the whole mem computation to flash.c
Working flasher
2019-07-19 12:35:04 +02:00
Philippe Teuwen
bb3c5e364e
remove perror
2019-07-14 00:30:57 +02:00
Philippe Teuwen
b0dbbd3683
make style
2019-07-13 00:38:30 +02:00
slurdge
4727ab96d7
Dynamic report of the chipID for flashing purposes
2019-07-10 21:11:20 +02:00
slurdge
248b109c9a
Check if bootloader segment is within bounds
2019-07-09 22:12:39 +02:00
Philippe Teuwen
4fd520c6d4
Introduce SendCommandBL
2019-05-08 13:31:58 +02:00
Philippe Teuwen
c190ac0955
Hide conn error when hw reset, as suggested by @iceman
2019-05-08 11:14:29 +02:00
Philippe Teuwen
bf0ab55833
text
2019-05-07 20:47:05 +02:00
Philippe Teuwen
061321c353
flash still need old cmds
2019-05-07 20:13:01 +02:00
Philippe Teuwen
290f2b625b
Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX
2019-05-07 19:51:33 +02:00
iceman1001
5ab9716e77
textual
2019-05-01 06:04:33 +02:00
Philippe Teuwen
4f11ef048f
style
2019-05-01 01:38:52 +02:00
Philippe Teuwen
5c9c38ff71
Use PrintAndLogEx in flasher
2019-04-30 20:19:29 +02:00
Philippe Teuwen
238fc10c9a
style
2019-04-20 01:08:07 +02:00
Philippe Teuwen
b68ccfa7b8
SendCommandOLD : comms & flash
2019-04-19 02:01:47 +02:00
Philippe Teuwen
482db05741
Rename few stuff for consistency
2019-04-18 12:49:51 +02:00
Philippe Teuwen
533667ea6d
Better Reply structs
2019-04-17 23:44:48 +02:00
Philippe Teuwen
be15ad7fec
Viva la revolucion
2019-04-17 21:30:01 +02:00
iceman1001
436910605b
unified Proxmark3 text
2019-04-16 20:00:25 +02:00
iceman1001
678293913c
ccc
2019-04-08 14:22:50 +02:00
iceman1001
726e02b900
color
2019-04-08 14:22:04 +02:00
Philippe Teuwen
21be6d4400
FPC: got RX working, got client over usart somehow working..., see detailed commit msg
...
* using WITH_FPC:
* activate basic usart
* no double buffer for now, no interrupt
* usart_dataavailable/usart_readbuffer/usart_writebuffer, to demo it:
* pm3 client over USB, minicom over usart
* analyse a d 414243
* using WITH_FPC_HOST:
* it implies WITH_FPC as it's based on it
* control pm3 with client over usart
* EXPERIMENTAL! still some frame desync issues
* you can connect both from usart & USB with two pm3 clients
* actually you *have* to connect USB for the moment because
it's used to send debug messages about buggy usart... See Dbprintf_usb below
* "sessions": msgs are directed to the latest client to have sent a cmd
* Dbprintf_usb macro to send msgs to USB client to help debugging usart...
* We now have an option to run client at different speed as usart is 115200:
client/proxmark3 /dev/ttyUSB0 -b 115200
* Consequently, argc,argv handling is a bit revamped, it was so messy...
* USB and flashing are still at 460800, don't try flashing over usart yet ^^
2019-04-02 22:06:10 +02:00
Philippe Teuwen
43ca641939
Flasher: Avoid race condition when flasher finds the not yet closed pm3 port
2019-03-31 12:15:49 +02:00
iceman1001
26804cb85f
style
2019-03-18 23:48:40 +01:00
Philippe Teuwen
961d929f4d
changing {} style to match majority of previous style
2019-03-10 11:20:22 +01:00
Philippe Teuwen
da6cdf014b
Keep string syntax in color macros
2019-03-10 00:56:00 +01:00
Philippe Teuwen
0373696662
make style
2019-03-10 00:00:59 +01:00
Philippe Teuwen
0d9223a547
client: fix mix of spaces & tabs
2019-03-09 23:35:06 +01:00
iceman1001
5c231e772c
chg: use calloc
2019-01-30 21:53:10 +01:00
Chris
24eaac8681
CHG: the thread comms refactoring from offical pm3 repo
...
chg: FPC com speed limited to 115200 when compiled with FPC
chg: USART remake (@drandreas)
2018-09-06 21:43:20 +02:00
Chris
3fd1854b8a
chg: from offical
2018-06-17 12:55:09 +02:00
iceman1001
2e6699273e
chg: cleanup from offical repo
2018-04-18 20:17:00 +02:00
iceman1001
24482211ad
chg: the dot progress is not logged anymore. Force fflush afterwards.
2018-03-05 20:07:29 +01:00
iceman1001
d1566728e2
more fflushes.
2017-10-30 15:10:32 +01:00
iceman1001
92858d39d4
fix: flushing some output..
2017-10-30 15:08:20 +01:00
iceman1001
f6d2d508b4
rem: removed old references to google code.
2017-10-29 19:25:34 +01:00
iceman1001
b99b2dd30f
FIX: stderr -> stdout
2017-10-19 13:41:55 +02:00
iceman1001
16028f7d33
CHG: appmain now calls cmd_recieve as it should
...
CHG: flasher - removed unneeded parameter to function
CHG: flasher - increased limit to fpga-files that can be loaded
FIX: main client, wrong windows define fixed.
CHG: device side - recieve usb command does not always get 544 bytes. usb packages can be incomplete.
CHG: usb_cdc.c also got piwi's changes.
CHG: uart_posix.c removed a debug value
CHG: uart_win32.c clean up.
2017-10-17 20:58:17 +02:00
iceman1001
19a2c05de0
FIX: ubuntu complains about sleep...
2017-07-30 09:30:42 +02:00
iceman1001
f28da2da6e
monster merge...
...
all those changes marshmellow did.. and more...
2017-07-30 09:17:48 +02:00
iceman1001
83adc96d81
some missing include inttypes..
2017-07-28 01:37:55 +02:00
iceman1001
9c624f67b3
chg: @piwi's code cleanup and some more.
...
ref: 43534cbad2
2017-02-23 00:03:10 +01:00
iceman1001
5ebba500dc
CHG: prints if command is NACK,
2017-02-19 01:34:21 +01:00
iceman1001
5a08545794
ADD: added a compiling flag -DHAS_512_FLASH i common/Makefile.common, to be used for PM3 devices with 512KB. Original commit from @hewitt
2016-10-07 00:12:09 +02:00
iceman1001
f62b5e1204
added @piwi 's usb speed test.
...
.. found out that my usb speed is really slow. Started to look for reasons. Have a win7 64 env, running on a vmware image.
2015-07-31 10:37:24 +02:00