Commit Graph
86 Commits
Author SHA1 Message Date
wh201906 81888e01a2 Add hw bootloader
Reboot to the bootloader mode in the client
2023-12-13 21:41:17 +08:00
merlokk ebe9d72cc2 set debug log level 2023-12-11 18:46:25 +02:00
wh201906 bb529a9077 Fix corrupted data caused by CMD_WTX
No need to wait for 2.5s (1s + FPGA_LOAD_WAIT_TIME) if the real-time
sampling stops.
Make sure the LF bitstream is loaded before real-time sampling so the
response of CMD_WTX won't appear.
2023-12-02 17:04:03 +08:00
wh201906 2d48e33a99 Some small fix 2023-11-06 18:45:10 +08:00
wh201906 85e38ddc38 Add --ms option in hw status
To specify the timeout of connection speed test
2023-11-06 16:35:43 +08:00
Jean-Michel Picod c08e26ca26 Add alternative chip ID 2023-11-01 10:40:53 +01:00
Philippe Teuwen b9ae38f888 Add timing to hw ping, reduce sleep to 1ms in WaitForResponse, no impact on CPU 2023-10-20 00:36:46 +02:00
iceman1001 34d8a41021 hw ping - fix output text 2023-10-19 11:08:53 +02:00
Self Not Found 7dbdc7cf10 Add short flag -m for timeout related commands 2023-10-18 18:47:32 +08:00
iceman1001 78e1a84515 added the timeout to preferences, so its stored in the pref file but... there need to be adaptations to the uart_p*/uart_w* files to use the the session value.. 2023-10-17 14:54:44 +02:00
iceman1001 71961501d4 text 2023-08-28 15:36:01 +02:00
Alex f47e4ed115 Move hardcoded value where it belongs
Keep FPGA parameters together in the same place
2023-08-24 18:22:50 +02:00
Alex 6947a61d98 Whitespace 2023-08-09 14:30:07 +02:00
iceman1001 123ef14667 style 2023-07-26 23:50:12 +02:00
iceman1001 fc3a518f28 There is a race condition when we go from iclass commands to mf command. Especially noticable when eload large files where we used to spam the device with usb packages.\ntry iclass eload, then mf eload, and you see the client hang. With this change we trigger a preload of the fpga image before we start uploading to the device. Current places I could trigger this bug was in eload and gsave. With this patch only the first call takes some time if fpga image must be loaded. The following goes fast.\n\n if you find that the client hangs when going between, this could be the root cause. 2023-07-26 23:47:55 +02:00
iceman1001 e43f6804a1 style 2023-07-06 22:37:34 +02:00
wh201906 b74c5db4f9 Make communication timeout configurable 2023-07-05 22:44:59 +08:00
Self Not Found d33fbf1347 Fix units 2023-04-06 20:54:00 +08:00
iceman1001 09f2bf9f02 style 2023-01-29 04:59:50 +01:00
Alejandro 474aaed4b7 Added a proper way to check if it is rdv4 fw 2023-01-24 23:01:28 +01:00
Alejandro da84eb6206 proper way 2023-01-23 20:41:00 +01:00
Philippe Teuwen b8458322e1 cppcheck fix null pointer dereference 2023-01-15 02:23:19 +01:00
iceman1001 4dfcd44edd return default value when arg is not enforced with u32_1 2022-11-20 16:43:12 +01:00
iceman1001 4fb096966e extra checks for argument parsing of ints. And some text updates. There are other int parsing but they are checked with mandatory param int1 2022-11-20 16:34:45 +01:00
iceman1001 372ab2af98 style 2022-06-12 11:51:50 +02:00
Doridian c24cf70a7b forgot default case 2022-06-11 16:56:45 -07:00
Doridian 6b951960f1 below 150 2022-06-11 12:29:27 -07:00
iceman1001 c5d12bba0f adapt hw dbg to query device before setting log level 2022-06-06 18:21:28 +02:00
iceman1001 a699c0b5dd text 2022-02-28 05:38:11 +01:00
iceman1001 9f22131dd1 alignment 2022-02-26 20:34:18 +01:00
iceman1001 652affbfb1 rework start screen to be shorter 2022-02-26 17:17:14 +01:00
Iceman 1c6abece54 Merge branch 'master' into sha 2022-02-25 11:42:20 +01:00
iceman1001 07855611e4 unify text 2022-02-24 18:03:19 +01:00
Philippe Teuwen 2a705d3a44 make style 2022-02-17 01:43:41 +01:00
Philippe Teuwen 14f62eaa88 armsrc check: skip if no src available; postpone warning 2022-02-17 01:43:41 +01:00
Philippe Teuwen bbf49ab560 Add a fingerprint of the ARM OS source files to detect when a client expects another ARM image 2022-02-17 01:43:39 +01:00
Philippe Teuwen 12695a984a typo 2022-02-14 02:05:12 +01:00
iceman1001 26f88b68de daddy got a new style 2022-02-13 12:56:05 +01:00
Philippe Teuwen 3ada10be72 Add linenoise-ng as alternative to readline 2022-01-29 15:20:32 +01:00
Philippe Teuwen fc13b6b20c Add pm3line API to hide readline, allowing easier implementation of alternatives 2022-01-11 23:13:22 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen 0749117f0b Allow hw version in offline mode, to display client info 2021-10-11 22:15:50 +02:00
Philippe Teuwen 5f6c9d8c08 client: display compilation info 2021-10-11 20:56:15 +02:00
Philippe Teuwen d240367c2a Print client info also when offline 2021-10-11 20:29:17 +02:00
Philippe Teuwen dd3b63ae32 rename global session 2021-08-21 20:31:05 +02:00
Philippe Teuwen 6a2f2b3979 rename global conn 2021-08-21 20:21:08 +02:00
Philippe Teuwen 8280fc3c07 rename global version_information and its struct type 2021-08-21 20:11:22 +02:00
iceman1001 4b2ab94b26 hw setmux - improved user feedback 2021-06-25 10:34:12 +02:00
iceman1001 03a8704e17 text 2021-05-18 09:13:00 +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