Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dataflash_log_download [2021/05/28 21:39] wf68spef |
dataflash_log_download [2022/05/31 18:11] (current) wf68spef |
||
---|---|---|---|
Line 4: | Line 4: | ||
Therefore a wireless method need to be found to get the data from the pixracer. | Therefore a wireless method need to be found to get the data from the pixracer. | ||
+ | |||
+ | If not other noted, the baudrate is set to 115200. | ||
=== Method1: Download via MavEsp WIFI === | === Method1: Download via MavEsp WIFI === | ||
Line 36: | Line 38: | ||
- Speed about 18kB/sec | - Speed about 18kB/sec | ||
- | === Method2: Download via UART-MAVProxy to PiZero === | + | === Method2: Download via UART-MAVProxy to Raspberry === |
Idea is to download the dataflashlog via Serial Telemetry Link from the Pi from the Pixracer | Idea is to download the dataflashlog via Serial Telemetry Link from the Pi from the Pixracer | ||
Line 50: | Line 52: | ||
- ''log download 1 1.bin'' | - ''log download 1 1.bin'' | ||
- => RTL> Finished downloading 1.bin (473553 bytes 48 seconds, 9.8 kbyte/sec 143 retries) | - => RTL> Finished downloading 1.bin (473553 bytes 48 seconds, 9.8 kbyte/sec 143 retries) | ||
+ | |||
+ | Test 20210529 CM4 | ||
+ | - ''mavproxy.py --master=/dev/ttyAMA0,1500000'' | ||
+ | - Baudrate 1500000 | ||
+ | - Finished downloading log1.bin (232633 bytes 10 seconds, 21.7 kbyte/sec 0 retries) | ||
+ | |||
+ | Test 20210617 Pi0: | ||
+ | - ''mavproxy.py --master=/dev/ttyS0,115200 --default-modules log'' | ||
+ | - Baudrate 115200: Finished downloading log1.bin (232633 bytes 29 seconds, 7.9 kbyte/sec 0 retries) | ||
+ | - Baudrate 500000: Finished downloading log1.bin (232633 bytes 17 seconds, 13.7 kbyte/sec 0 retries) | ||
+ | - Baudrate 921600: Finished downloading log1.bin (232633 bytes 13 seconds, 16.8 kbyte/sec 0 retries) | ||
+ | - Baudrate 1500000: Downloading log1.bin - 232560/232633 bytes 100.0% 10.1 kbyte/s (100 retries 57 missing) | ||
+ | |||
+ | Test 20220531 CM4: | ||
+ | |||
+ | **Baudrates** | ||
+ | |||
+ | **115200** | ||
+ | * Unordered List ItemFinished downloading log1.bin (55289 bytes 6 seconds, 8.7 kbyte/sec 0 retries) | ||
+ | |||
+ | |||
+ | **500000** | ||
+ | |||
+ | * Finished downloading log1.bin (55289 bytes 3 seconds, 16.3 kbyte/sec 0 retries) | ||
+ | |||
+ | |||
+ | |||
+ | **921600** | ||
+ | - log download 1 | ||
+ | - | ||
+ | - Finished downloading log1.bin (55289 bytes 3 seconds, 16.1 kbyte/sec 0 retries) | ||
+ | - Finished downloading log1.bin (55289 bytes 3 seconds, 16.2 kbyte/sec 0 retries) | ||
+ | - Finished downloading log1.bin (55289 bytes 3 seconds, 15.8 kbyte/sec 0 retries) | ||
+ | - Finished downloading log1.bin (55289 bytes 3 seconds, 16.1 kbyte/sec 0 retries) | ||
+ | - Finished downloading log1.bin (55289 bytes 3 seconds, 16.5 kbyte/sec 0 retries) | ||
+ | |||
+ | |||
+ | |||
+ | **1500000** | ||
+ | * Finished downloading log1.bin (55289 bytes 3 seconds, 16.9 kbyte/sec 0 retries) | ||
+ | * Finished downloading log1.bin (55289 bytes 3 seconds, 17.0 kbyte/sec 0 retries) | ||
+ | * Finished downloading log1.bin (55289 bytes 3 seconds, 16.9 kbyte/sec 0 retries) | ||
+ | * Finished downloading log1.bin (55289 bytes 3 seconds, 17.0 kbyte/sec 0 retries) | ||
+ | * | ||
Line 56: | Line 102: | ||
Test 27.5.2021: CM4/Pi4 | Test 27.5.2021: CM4/Pi4 | ||
- Finished downloading log3.bin (13292972 bytes 60 seconds, 219.2 kbyte/sec 0 retries) | - Finished downloading log3.bin (13292972 bytes 60 seconds, 219.2 kbyte/sec 0 retries) | ||
- | |||
Test 28.5.2021: Pi Zero | Test 28.5.2021: Pi Zero | ||
Line 62: | Line 107: | ||
- Added usb connector as described in [[https://www.instructables.com/Raspberry-Pi-Zero-OTG-Hack-Add-a-Fullsize-Connecto/|HERE]] | - Added usb connector as described in [[https://www.instructables.com/Raspberry-Pi-Zero-OTG-Hack-Add-a-Fullsize-Connecto/|HERE]] | ||
{{ ::signal-2021-05-28-170257.jpeg?400 |}} | {{ ::signal-2021-05-28-170257.jpeg?400 |}} | ||
+ | |||
+ | ''mavproxy.py --master=/dev/ttyACM0,115200'' | ||
+ | - loads all modules of mavproxy => 100% idle cpu | ||
- Finished downloading log2.bin (462481 bytes 35 seconds, 13.1 kbyte/sec 0 retries) | - Finished downloading log2.bin (462481 bytes 35 seconds, 13.1 kbyte/sec 0 retries) | ||
- Finished downloading log2.bin (462481 bytes 46 seconds, 10.0 kbyte/sec 0 retries) | - Finished downloading log2.bin (462481 bytes 46 seconds, 10.0 kbyte/sec 0 retries) | ||
- Finished downloading log2.bin (462481 bytes 64 seconds, 7.1 kbyte/sec 0 retries) | - Finished downloading log2.bin (462481 bytes 64 seconds, 7.1 kbyte/sec 0 retries) | ||
+ | |||
+ | ''mavproxy.py --master=/dev/ttyACM0,115200 --default-modules log'' | ||
+ | - loads only log module of mavproxy => 60% idle cpu | ||
+ | - Finished downloading log1.bin (232633 bytes 8 seconds, 26.9 kbyte/sec 0 retries) | ||
+ | - Finished downloading log1.bin (232633 bytes 8 seconds, 26.9 kbyte/sec 0 retries) | ||
+ | - Finished downloading log2.bin (462481 bytes 17 seconds, 26.9 kbyte/sec 0 retries) | ||
+ | |||
+ | Test 20210529: Pixracer @ Laptop | ||
+ | ''mavproxy.py --master=/dev/ttyACM0,1500000 --default-modules log'' | ||
+ | - Finished downloading log3.bin (13292972 bytes 50 seconds, 264.3 kbyte/sec 0 retries) | ||
+ | - Finished downloading log3.bin (13292972 bytes 49 seconds, 270.3 kbyte/sec 0 retries) | ||
+ | |||
+ | |||
+ | Test 20210529: Pixracer @ CM4 | ||
+ | ''mavproxy.py --master=/dev/ttyACM0,1500000 --default-modules log'' | ||
+ | - Finished downloading log3.bin (13292972 bytes 53 seconds, 249.2 kbyte/sec 0 retries) | ||
+ | - Finished downloading log3.bin (13292972 bytes 53 seconds, 249.3 kbyte/sec 0 retries) | ||
+ | |||
+ | === Method4: Download via QGC === | ||
Test 28.5.2021: QGC @ Laptop | Test 28.5.2021: QGC @ Laptop |