Next revision
|
Previous revision
Next revision
Both sides next revision
|
howto:p3fcchardmod [2019/07/28 19:42] digdat0 created |
howto:p3fcchardmod [2019/07/28 19:54] digdat0 [Misc] |
Steps to get to extract | Steps to get to extract |
| |
dji_xv4_fwcon.py -vvv -x -p <firmwarename.bin> | * dji_xv4_fwcon.py -vvv -x -p <firmwarename.bin> |
arm_bin2elf.py -vv -e -b 0x000a000 --section .ARM.exidx@0x019300:0 --section .bss@0x1ff6000:0x4000 \ | * arm_bin2elf.py -vv -e -b 0x000a000 --section .ARM.exidx@0x019300:0 --section .bss@0x1ff6000:0x4000 \ |
--section .bss2@0x1ffe000:0x1000 --section .bss3@0x1bff6000:0x2400 --section .bss4@0x1c01a000:0x2400 \ | --section .bss2@0x1ffe000:0x1000 --section .bss3@0x1bff6000:0x2400 --section .bss4@0x1c01a000:0x2400 \ |
--section .bss5@0x40022000:0x50000 --section .bss6@0x400ee000:0x200 --section .bss7@0xe0004000:0x1200 \ | --section .bss5@0x40022000:0x50000 --section .bss6@0x400ee000:0x200 --section .bss7@0xe0004000:0x1200 \ |
-p <firmwarename_m1401.bin> | -p <firmwarename_m1401.bin> |
lightbridge_stm32_hardcoder.py -vvv -x -e <firmwarename__m1401.elf> | * lightbridge_stm32_hardcoder.py -vvv -x -e <firmwarename__m1401.elf> |
| |
| |
| |
==== Direct commands comm_mkdupc.py ===== | ==== Direct commands comm_mkdupc.py ===== |
| These are commands to the RC plugged in via USB to PC using comm_mkdupc.py. This tool is a DUML Packet Builder with hex string output. https://github.com/o-gs/dji-firmware-tools |
| |
To set CE: | |
| |
| * To set CE: |
./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=6 --seq_num=5552 --payload_hex="F7 FF 00" | ./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=6 --seq_num=5552 --payload_hex="F7 FF 00" |
| |
| |
To set FCC: | * To set FCC: |
./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=6 --seq_num=5553 --payload_hex="F7 FF 01" | ./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=6 --seq_num=5553 --payload_hex="F7 FF 01" |
| |
| |
To disallow the RC to reset the value by itself: | * To disallow the RC to reset the value by itself: |
./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=6 --seq_num=5554 --payload_hex="F9 FF 01" | ./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=6 --seq_num=5554 --payload_hex="F9 FF 01" |
| |
To check (query) currently set zone: | * To check (query) currently set zone: |
./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=7 --seq_num=5555 --payload_hex="F7 FF" | ./comm_mkdupc.py -vv --sender_type=PC --sender_index=1 --receiver_type=OFDM_Ground --ack_type=ACK_After_Exec --cmd_set=OFDM --cmd_id=7 --seq_num=5555 --payload_hex="F7 FF" |
| |
| |
==== Misc ==== | ==== Misc ==== |
P1765Fw3.bin means something, service file name? | P1765Fw3.bin means something, service file name? gs_ofdm.bin? |
| |
| |
m1400 is probably used only by GL300a/b; the c version likely uses m1401 | m1400 is probably used only by GL300a/b; the c version likely uses m1401 |