This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:pyduml [2017/07/29 19:25] paoloone [4. Identify the port for the USB link to your aircraft] |
howto:pyduml [2017/08/21 17:52] nils [4. Identify the port for the USB link to your aircraft] |
||
---|---|---|---|
Line 23: | Line 23: | ||
If you are planning to flash new firmware, you obviously need some firmware files. The primary source is http:// | If you are planning to flash new firmware, you obviously need some firmware files. The primary source is http:// | ||
+ | **NOTE for Spark RC**: Firmware for Spark RC have the ending " | ||
===== 4. Identify the port for the USB link to your aircraft ===== | ===== 4. Identify the port for the USB link to your aircraft ===== | ||
This step will find the TTY for connectivity to your aircraft, and store it in a file / | This step will find the TTY for connectivity to your aircraft, and store it in a file / | ||
Line 44: | Line 45: | ||
cat / | cat / | ||
</ | </ | ||
+ | |||
+ | **NOTE for Spark RC**: Please skip above and just switch on RC and connect your Mac/PC to its WiFi network as a preparation. Also see notes for Spark RC in section (5.) | ||
===== 5. Flashing ===== | ===== 5. Flashing ===== | ||
FULLY CHARGE A BATTERY!!! do not try to flash with a depleted battery - itʼll only end in tears and a dead aircraft. If you aren't interested in changing firmware and you just want to get root access, skip ahead to the next step. | FULLY CHARGE A BATTERY!!! do not try to flash with a depleted battery - itʼll only end in tears and a dead aircraft. If you aren't interested in changing firmware and you just want to get root access, skip ahead to the next step. | ||
Line 57: | Line 60: | ||
< | < | ||
cp < | cp < | ||
+ | </ | ||
+ | **NOTE for Spark RC**: | ||
+ | < | ||
+ | #ONLY do this if flashing a Spark RC | ||
+ | cp < | ||
</ | </ | ||
* For example... | * For example... | ||
< | < | ||
- | cp V01.03.0700_Mavic_dji_system dji_system.bin | + | cp V01.03.0700_Mavic_dji_system.bin dji_system.bin |
</ | </ | ||
If your on windows substitute ' | If your on windows substitute ' | ||
< | < | ||
- | copy V01.03.0700_Mavic_dji_system dji_system.bin | + | copy V01.03.0700_Mavic_dji_system.bin dji_system.bin |
</ | </ | ||
* Deliver the package | * Deliver the package | ||
< | < | ||
python pyduml.py /dev/`cat / | python pyduml.py /dev/`cat / | ||
+ | </ | ||
+ | **NOTE for Spark RC**: No additional Parameters needed, just choose the Spark RC as device when prompted... | ||
+ | < | ||
+ | #ONLY do this if flashing a Spark RC | ||
+ | python pyduml.py | ||
</ | </ | ||
For windows users: | For windows users: | ||
Line 92: | Line 105: | ||
del dji_system.bin | del dji_system.bin | ||
</ | </ | ||
+ | |||
+ | The optional batteries then can upgraded/ | ||
===== 6. Rooting ===== | ===== 6. Rooting ===== | ||
* Prepare our package for delivery | * Prepare our package for delivery |