User Tools

Site Tools


howto:modp3params

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
howto:modp3params [2018/06/01 17:16]
digdat0 [Phantom 3 Steps]
howto:modp3params [2019/07/21 23:20]
digdat0 rewrote install steps
Line 21: Line 21:
   - Download your [[http://jogjasky.com/go-download|Firmware of choice]]   - Download your [[http://jogjasky.com/go-download|Firmware of choice]]
  
-Put the to PY files and the firmware bin file in same folder, such as C:\P3+Put the PY files and the firmware bin file in same folder, such as C:\P3
  
 Install Python 3, reboot if required. Make sure to SET PATH for Python. If you don't know what this means, google it.  Install Python 3, reboot if required. Make sure to SET PATH for Python. If you don't know what this means, google it. 
Line 75: Line 75:
     PRESS ENTER     PRESS ENTER
      
-This will extract the firmware and the flight controller module.  A new file " flyc_param_infos " will be created and we can edit it.+This will extract the firmware and the flight controller firmware module.  
  
  
Line 94: Line 94:
  
    dji_flyc_param_ed.py -vv -u -m P3X_FW_V01.07.0060_m0306.bin    dji_flyc_param_ed.py -vv -u -m P3X_FW_V01.07.0060_m0306.bin
 +   
 +This will recompile the modified firmware module, which will allow it to be installed onto the aircraft. You can now update the aircraft with this firmware file.
  
-  * After this command runs, it will compile the parameters back into the P3X_FW_V01.07.0060_m0306.bin file.  +To install on the aircraft:
-  * Now, you need to rename the file before loading on the aircraft. Rename it to "PMCAPPFw3.bin" (For Inspire1 rename to "INMCAPPFw1.bin" for FW 01.05->01.09 or "INMCAPPFw1.bin" for FW 01.10 -> 01.11.01.50+
  
 +1. Rename the modified file P3X_FW_V01.07.0060_m0306.bin
 +    p3 = PMCAPPFw3.bin 
 +    I1 = INMCAPPFw1.bin
 +2. Copy the file to your SD card. Put SD card into the aircraft. 
 +3. Power on the aircraft. Update will start in about 30 seconds. You will hear a distinct noise during the update process, which will change when done. It should take 3-5 minutes.
 +
 +** If the update does not start, please turn off aircraft. Press and hold the bind button, and turn back on. Hold this button for 20-30 seconds and the update will start and will make a beeping noise, then you can let go and let the update finish.
 +
 +4. When update is done, power off the aicraft. Remove the SD card from the camera and back into the computer
 +5. Remove/ Delete the "PMCAPPFw3.bin_updated" or "INMCAPPFw1.bin_updated" file from the SD card
 +  Note: If the file is "PMCAPPFw3.bin_damaged" or "INMCAPPFw1.bin_damaged" the update did not complete, retry it.
 +6. Put Sd card back in the camera 
 +
 +All done!  On your next startup, the modifications will persist on the aircraft. They will remain until you reflash the stock firmware. 
 +
 +Note: If your firmware is version 01.04 or earlier, you may need to rename the file MCAPPFw.bin instead.
 ====  4. Install the modded file on your Phantom ====  ====  4. Install the modded file on your Phantom ==== 
   * To install the file on your Phantom, copy the PMCAPPFw3.bin file to a formatted micro-SD card   * To install the file on your Phantom, copy the PMCAPPFw3.bin file to a formatted micro-SD card
Line 106: Line 123:
   * NOTE: The changes work in the simulator as well, test there first!    * NOTE: The changes work in the simulator as well, test there first! 
  
-====== Phantom 3 Important Parameters ======+====== Important Parameters ======
 These are the important parameters you may want to modify to change the flight characteristics. These may change a tad from p3s to p3a to p3p to Inpsire. The proposed below are from p3a 1.7. These are the important parameters you may want to modify to change the flight characteristics. These may change a tad from p3s to p3a to p3p to Inpsire. The proposed below are from p3a 1.7.
  
 ====== Important Parameter Descriptions ====== ====== Important Parameter Descriptions ======
-^ Parameter Name ^ Description^ +I removed the g_config from the prefix to make the table fit better :)
-g_config.advanced_function.height_limit_enabled_0|Removes height limit| +
-^ g_config.flying_limit.max_height_0|Changes GO to higher max heght| +
-^ g_config.control.horiz_vel_atti_range_0|Tilt angle makes faster| +
-^ g_config.control.atti_range_0|Max tilt angle| +
-^ g_config.control.vert_up_vel_0|Ascent Velocity Rate (Up)| +
-^ g_config.control.vert_down_vel_0|Descent Velocity Rate (Down)| +
-^ g_config.control.vert_vel_gain_0|Ascent Velocity  (Up) GAIN| +
-^ g_config.control.vert_acc_gain_0|Descent Velocity  (Down) GAIN| +
-^ g_config.airport_limit_cfg.cfg_disable_airport_fly_limit_0|Disable NFZ| +
-^ g_config.flying_limit.auto_landing_enabled_0|No landing at 65k feet from HP| +
-^ g_config.voltage2.level_1_function_0|Battery level 1 function (warn, land)| +
-^ g_config.voltage2.level_1_voltage_0|Battery level 1 %| +
-^ g_config.voltage.level_1_protect_type_0|Battery level 1 function (warn, led)| +
-^ g_config.voltage2.user_set_smart_bat_0|Battery type (DJI vs non-DJI)| +
-^ g_config.voltage2.level2_smart_battert_land_0|SmartRTH battery landing %| +
-^ g_config.voltage2.level_2_function_0|Battery level 1 function (warn, land)| +
-^ g_config.voltage2.level_2_voltage_0|Battery level 2 %| +
-^ g_config.voltage.level_2_protect_type_0|Battery level 1 function (warn, led, land)|+
  
-====== Phantom 3 Parameter Values to Change ======+^ Parameter Name ^ Description^ 
 +^ advanced_function.height_limit_enabled_0|Removes height limit| 
 +^ control.horiz_vel_atti_range_0|GPS Tilt angle makes faster| 
 +^ control.atti_range_0|ATTI Max tilt angle| 
 +^ control.atti_limit_0 | ATTI tilt angle| 
 +^ control.vert_up_vel_0|Ascent Velocity Rate (Up)| 
 +^ control.vert_down_vel_0|Descent Velocity Rate (Down)| 
 +^ airport_limit_cfg.cfg_search_radius_0 | NFZ search radius, lower is less enforcement| 
 +^ airport_limit_cfg.cfg_disable_airport_fly_limit_0|Disable NFZ| 
 +^ airport_limit_cfg.cfg_limit_data_0 | NFZ map data value| 
 +^ airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_SPECIAL]_0 | NFZ Type 2 Removal (GeoZone)| 
 +^ flying_limit.auto_landing_enabled_0|No landing at 65k feet from HP| 
 +^ voltage.level_1_protect_type_0|Battery level 1 function (warn, led)| 
 +^ voltage.level_2_protect_type_0|Battery level 1 function (warn, led, land)| 
 +^ voltage2.level_1_voltage_0|Battery level 1 %| 
 +^ voltage2.level_1_function_0|Battery level 1 function (warn, land)| 
 +^ voltage2.level_2_voltage_0|Battery level 2 %| 
 +^ voltage2.level_2_function_0|Battery level 1 function (warn, land)| 
 +^ voltage2.user_set_smart_bat_0|Battery type (DJI vs non-DJI)| 
 +^ voltage2.level2_smart_battert_land_0|SmartRTH battery landing %| 
 +====== Parameter Values to Change ======
 I removed the g_config from the prefix to make the table fit better :) I removed the g_config from the prefix to make the table fit better :)
  
-Last edit: digdat0 025/05/2018. use the tilt and vert up/down as guidelines.+Last edit: digdat0 11/06/2018. use the tilt and vert up/down as guidelines.
  
 +**Height Limit Removal**
 ^ Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^ ^ Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^
 ^ advanced_function.height_limit_enabled_0 | 1 | 2 | 1 | 2 | 2 | 2 | ^ advanced_function.height_limit_enabled_0 | 1 | 2 | 1 | 2 | 2 | 2 |
 ^ flying_limit.max_height_0 | 20 | 500 | 120 | 10000 | 10000 | 10000 | ^ flying_limit.max_height_0 | 20 | 500 | 120 | 10000 | 10000 | 10000 |
-^ control.horiz_vel_atti_range_0 | 10 | 60 | 23 | 35 | 60 | 35 |+**GPS Mode Speed Change** 
 +^ Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^ 
 +^ control.horiz_vel_atti_range_0 | 10 | 60 | 23 | 30 | 60 | 30 | 
 +**ATTI Mode Speed Change** 
 +^ Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^
 ^ control.atti_limit_0 | 10 | 60 | 30 | 50 | 60 | 50 | ^ control.atti_limit_0 | 10 | 60 | 30 | 50 | 60 | 50 |
-^ control.atti_range_0 | 10 | 60 | 30 | 35 | 60 | 35 |+^ control.atti_range_0 | 10 | 60 | 30 | 50 | 60 | 50 | 
 +**Vertical Ascent/Descent** 
 +^ Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^
 ^ control.vert_up_vel_0 | 1 | 10 | 5 | 10 | 12 | 10 | ^ control.vert_up_vel_0 | 1 | 10 | 5 | 10 | 12 | 10 |
 ^ control.vert_down_vel_0 | 1 | 10 | 3 | 8 | 10 | 8 | ^ control.vert_down_vel_0 | 1 | 10 | 3 | 8 | 10 | 8 |
 +**NoFlyZone Removal**
 +^ Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^
 ^ airport_limit_cfg.cfg_disable_airport_fly_limit_0 | 0 | 255 | 0 | 1 | 1 | 1 | ^ airport_limit_cfg.cfg_disable_airport_fly_limit_0 | 0 | 255 | 0 | 1 | 1 | 1 |
-^ airport_limit_cfg.cfg_limit_data_0 | 0 | 4294967295 | 20150910 | 10| 20250910 | 20250910 |+^ airport_limit_cfg.cfg_limit_data_0 | 0 | 4294967295 | 20150910 | 20250910 | 20250910 | 20250910 |
 ^ airport_limit_cfg.cfg_search_radius_0 | 65535 | 50000 | 0 | 1 | 1 | 1 | ^ airport_limit_cfg.cfg_search_radius_0 | 65535 | 50000 | 0 | 1 | 1 | 1 |
-g_config.airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_SPECIAL]_0 | 0 | 1 | 0 | 1 | 1 | 1 |+^ airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_SPECIAL]_0 | 0 | 1 | 0 | 1 | 1 | 1 | 
 +**Disable distance limit landing** 
 +^ Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^
 ^ flying_limit.auto_landing_enabled_0 | 0 | 1 | 0 | 1 | 1 | 1 | ^ flying_limit.auto_landing_enabled_0 | 0 | 1 | 0 | 1 | 1 | 1 |
-^ voltage2.level_1_function_0 | 0 | 10 | 0 | 0 | 0 | 0 | +**Disable smart battery functions / auto landings at low battery and high altitude** 
-voltage2.level_1_voltage_0 | 10 | 100 | 30 | 0 | 0 | 0 |+Parameter Name ^ Stock minValue ^ Stock MaxValue ^ Stock defaultValue ^ New MinValue ^ new Maxvalue ^ New defaultValue ^
 ^ voltage.level_1_protect_type_0 | 0 | 1 | 0 | 0 | 0 | 0 | ^ voltage.level_1_protect_type_0 | 0 | 1 | 0 | 0 | 0 | 0 |
 +^ voltage.level_2_protect_type_0 | 0 | 2 | 2 | 0 | 0 | 0 |
 +^ voltage2.level_1_voltage_0 | 10 | 100 | 30 | 0 | 0 | 0 |
 +^ voltage2.level_1_function_0 | 0 | 10 | 0 | 0 | 0 | 0 |
 +^ voltage2.level_2_voltage_0 | 10 | 100 | 10 | 0 | 0 | 0 |
 +^ voltage2.level_2_function_0 | 0 | 10 | 1 | 0 | 0 | 0 |
 ^ voltage2.user_set_smart_bat_0 | 0 | 10 | 2 | 0 | 0 | 0 | ^ voltage2.user_set_smart_bat_0 | 0 | 10 | 2 | 0 | 0 | 0 |
 ^ voltage2.level2_smart_battert_land_0 | 0 | 100 | 10 | 0 | 0 | 0 | ^ voltage2.level2_smart_battert_land_0 | 0 | 100 | 10 | 0 | 0 | 0 |
-^ voltage2.level_2_function_0 | 0 | 10 | 1 | 0 | 0 | 0 | 
-^ voltage2.level_2_voltage_0 | 10 | 100 | 10 | 0 | 0 | 0 | 
-^ voltage.level_2_protect_type_0 | 0 | 2 | 2 | 0 | 0 | 0 | 
-^ voltage2.level2_smart_battert_land_0 | 0 | 100 | 10 | 0 | 0 | 0 | 
- 
 ===== All Parameters Lists ===== ===== All Parameters Lists =====
   * [[howto:P3C|Phantom 3 Standard - All Parameters]]   * [[howto:P3C|Phantom 3 Standard - All Parameters]]
howto/modp3params.txt · Last modified: 2019/07/21 23:35 by digdat0