-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Upgrading from an older version of INAV to the current version
This page is intended to make it easy for you to upgrade your INAV older version to the current INAV version. The process is straightforward as long as you follow the instructions detailed here.
The current version of INAV is 2.4.0 (as the time this document was been last updated).
In general, all comes to the following steps:
- Get the lastest configurator.
- Get a
diff allfrom your board - Determine the current version and the TARGET of INAV flashed to your flight controller board.
- Check which values has changed over the newer versions, and adjust as necessary
- Flash the lastest INAV firmware to your board
- Paste the adjusted settings on the CLI
- Upload your preferred font to the OSD chip
Download and install the lastest configurator
- Open the configurator program.
- Connect the flight controller board to the USB port on PC, then click connect button on the configurator.
- Go to the CLI tab and type
diff all. It should return a big text with all your settings. Save this text on the notepad.
On your settings file, just in the beginning, you should have something like this:
# version
# INAV/MATEKF405 2.2.1 Jul 3 2019 / 22:31:06 (a6d847482)
# GCC-8.2.1 20181213 (release) [gcc-8-branch revision 267074]
Take note of the TARGET which is just after the INAV/ and VERSION number which is just after the target
(In this case, TARGET is MATEKF405 and VERSION is 2.2.1)
Now it's time to change your settings file so it becomes compatible with the lastest INAV firmware. Follow your specific version instructions.
- Find
min_throttleline, and replace it bythrottle_idle, setting the percentage of the idle throttle. The default is 15.
- Find
min_throttleline, and replace it bythrottle_idle, setting the percentage of the idle throttle. The default is 15. - If you are upgrading a multi rotor, POS XY PID I and D have now specific settings, respectively
nav_mc_pos_deceleration_timeandnav_mc_pos_expo. So if you don't use defaults, when restoring, move yours to the new settings.
Arming with sticks command is not supported anymore, so if you were using sticks commands for arming, after flashing and pasting the settings, add an arming switch in the Modes tab in the configurator.
- Find
min_throttleline, and replace it bythrottle_idle, setting the percentage of the idle throttle. The default is 15. - If you armed with via sticks, add an arming switch in the Modes tab in the configurator.
- If you are upgrading a multi rotor, POS XY PID I and D have now specific settings, respectively
nav_mc_pos_deceleration_timeandnav_mc_pos_expo. So if you don't use defaults, when restoring, move yours to the new settings. - Delete all lines starting with: mixer acczero accgain magzero osd.
There was a big update from 1.9 to 2.0, there's a new mixer framework, a new OSD framework and new calibration scales for accelerometer and magnetometer. For that reason, you'll need to set this up again and the previous settings will not work. So, after flashing firmware and pasting the adjusted settings, don't forget to:
- Go to the Mixer tab and load and apply your desired mixer.
- Calibrate the accelerometer following the steps in the dedicated tab. Only first two steps need to be made in the right order.
- Calibration of the magnetometer should be done at the field. The magnetic field indoors can be distorted and led to a bad calibration.
- Restore manually your OSD layout using the screenshot and upload the font you like using the dedicated button.
- Carefully check all the configuration and check on the bench without installed propellers if everything looks good. In particular, check if the model preview behaves correctly when you are moving your model and check surfaces movements for an airplane.
- Arming with sticks command is not supported anymore, so if you were using sticks commands for arming add an arming switch in the Modes tab in the configurator.
- Find
min_throttleline, and replace it bythrottle_idle, setting the percentage of the idle throttle. The default is 15. - If you armed with via sticks, add an arming switch in the Modes tab in the configurator.
- If you are upgrading a multi rotor, POS XY PID I and D have now specific settings, respectively
nav_mc_pos_deceleration_timeandnav_mc_pos_expo. So if you don't use defaults, when restoring, move yours to the new settings. - Delete all lines starting with: mixer acczero accgain magzero osd.
- Find
vbat_scale,vbat_max_cell_voltage,vbat_warning_cell_voltageandvbat_min_cell_voltagevalues on your settings, and multiply their values by 10.
There was a big update from 1.9 to 2.0, there's a new mixer framework, a new OSD framework and new calibration scales for accelerometer and magnetometer. For that reason, you'll need to set this up again and the previous settings will not work. So, after flashing firmware and pasting the adjusted settings, don't forget to:
- Go to the Mixer tab and load and apply your desired mixer.
- Calibrate the accelerometer following the steps in the dedicated tab. Only first two steps need to be made in the right order.
- Calibration of the magnetometer should be done at the field. The magnetic field indoors can be distorted and led to a bad calibration.
- Restore manually your OSD layout using the screenshot and upload the font you like using the dedicated button.
- Carefully check all the configuration and check on the bench without installed propellers if everything looks good. In particular, check if the model preview behaves correctly when you are moving your model and check surfaces movements for an airplane.
- Arming with sticks command is not supported anymore, so if you were using sticks commands for arming add an arming switch in the Modes tab in the configurator.
- Find
min_throttleline, and replace it bythrottle_idle, setting the percentage of the idle throttle. The default is 15. - If you armed with via sticks, add an arming switch in the Modes tab in the configurator.
- If you are upgrading a multi rotor, POS XY PID I and D have now specific settings, respectively
nav_mc_pos_deceleration_timeandnav_mc_pos_expo. So if you don't use defaults, when restoring, move yours to the new settings. - Delete all lines starting with: mixer acczero accgain magzero osd.
- Find
vbat_scale,vbat_max_cell_voltage,vbat_warning_cell_voltageandvbat_min_cell_voltagevalues on your settings, and multiply their values by 10. - Find
mag_hold_rate_limitand replace byheading_hold_rate_limit(renamed parameter) - Find
nav_max_speedand replace bynav_auto_speed(renamed parameter) - Find
nav_max_climb_rateand replace bynav_auto_climb_rate(renamed parameter) - Remove
nav_fw_roll2pitchparameter (obsolete) - Find all lines starting with
servo, and remove the fifth and the sixth arguments of the parameter.
Example: servo 3 1070 1950 1500 90 90 -80 -1
Will become: servo 3 1070 1950 1500 -80 -1
There was a big update from 1.9 to 2.0, there's a new mixer framework, a new OSD framework and new calibration scales for accelerometer and magnetometer. For that reason, you'll need to set this up again and the previous settings will not work. So, after flashing firmware and pasting the adjusted settings, don't forget to:
- Go to the Mixer tab and load and apply your desired mixer.
- Calibrate the accelerometer following the steps in the dedicated tab. Only first two steps need to be made in the right order.
- Calibration of the magnetometer should be done at the field. The magnetic field indoors can be distorted and led to a bad calibration.
- Restore manually your OSD layout using the screenshot and upload the font you like using the dedicated button.
- Carefully check all the configuration and check on the bench without installed propellers if everything looks good. In particular, check if the model preview behaves correctly when you are moving your model and check surfaces movements for an airplane.
- Arming with sticks command is not supported anymore, so if you were using sticks commands for arming add an arming switch in the Modes tab in the configurator.
Now it's time to flash the lastest INAV firmware to your flight controller board.
- On INAV Configurator, go to the "Firmware Flasher" tab
- Select the proper TARGET of the flight controller board
- Make sure that the "Full Erase" option is ENABLED
- Click Load Firmware (Online), and then click "Flash Firmware"
- Wait for the completion of the process
- Click the "Connect" button on INAV configurator
- Go to the CLI tab
- Copy all the settings text from your text file and paste on the CLI input text box, then press ENTER.
- Wait for all the settings to be typed on the output text box.
- If no errors occurred, Flight controller should save the settings and reboot by itself.
The font file changes between versions! So you need to update the font stored on the OSD chip in order to OSD works properly.
- Go to the OSD Tab on the Configurator
- In the bottom right corner, there's a "Font" button. Click it.
- Select the font that best pleases you, and then click "Upload" button.
- Wait for the process to complete. Flight Controller will reboot automatically.
If you done everything right, now your aircraft should be flying ok. Enjoy!
INAV Version Release Notes
9.1.0 Release Notes
9.0.0 Release Notes
8.0.0 Release Notes
7.1.0 Release Notes
7.0.0 Release Notes
6.0.0 Release Notes
5.1 Release notes
5.0.0 Release Notes
4.1.0 Release Notes
4.0.0 Release Notes
3.0.0 Release Notes
2.6.0 Release Notes
2.5.1 Release notes
2.5.0 Release Notes
2.4.0 Release Notes
2.3.0 Release Notes
2.2.1 Release Notes
2.2.0 Release Notes
2.1.0 Release Notes
2.0.0 Release Notes
1.9.1 Release notes
1.9.0 Release notes
1.8.0 Release notes
1.7.3 Release notes
Older Release Notes
QUICK START GUIDES
Getting started with iNav
Fixed Wing Guide
Howto: CC3D flight controller, minimOSD , telemetry and GPS for fixed wing
Howto: CC3D flight controller, minimOSD, GPS and LTM telemetry for fixed wing
INAV for BetaFlight users
launch mode
Multirotor guide
YouTube video guides
DevDocs Getting Started.md
DevDocs INAV_Fixed_Wing_Setup_Guide.pdf
DevDocs Safety.md
Connecting to INAV
Bluetooth setup to configure your flight controller
DevDocs Wireless Connections (BLE, TCP and UDP).md\
Flashing and Upgrading
Boards, Targets and PWM allocations
Upgrading from an older version of INAV to the current version
DevDocs Installation.md
DevDocs USB Flashing.md
Setup Tab
Live 3D Graphic & Pre-Arming Checks
Calibration Tab
Accelerometer, Compass, & Optic Flow Calibration
Alignment Tool Tab
Adjust mount angle of FC & Compass
Ports Tab
Map Devices to UART Serial Ports
Receiver Tab
Set protocol and channel mapping
Mixer Tab
Set aircraft type and how its controlled
Outputs Tab
Set ESC Protocol and Servo Parameters
Modes Tab
Assign flight modes to transmitter switches
Standard Modes
Navigation Modes
Return to Home
Fixed Wing Autolaunch
Auto Launch
Configuration Tab
No wiki page currently
Failsafe Tab
Set expected behavior of aircraft upon failsafe
PID Tuning
Navigation PID tuning (FW)
Navigation PID tuning (MC)
EZ-Tune
PID Attenuation and scaling
Tune INAV PID-FF controller for fixedwing
DevDocs Autotune - fixedwing.md
DevDocs INAV PID Controller.md
DevDocs INAV_Wing_Tuning_Masterclass.pdf
DevDocs PID tuning.md
DevDocs Profiles.md
Rangefinder & Optic Flow
Optic Flow and Rangefinder Setup
Setup and usage for terrain following & GPS-free position hold
OSD and VTx
DevDocs Betaflight 4.3 compatible OSD.md
OSD custom messages
OSD Hud and ESP32 radars
DevDocs OSD.md
DevDocs VTx.md
LED Strip
DevDocs LedStrip.md
Programming
DevDocs Programming Framework.md
Adjustments
DevDocs Inflight Adjustments.md
Mission Control
iNavFlight Missions
DevDocs Safehomes.md
MultiWii Serial Protocol
MSP V2
MSP Messages reference guide
MSP Navigation Messages
INAV MSP frames changelog
Telemetry
INAV Remote Management, Control and Telemetry
MAVlink Control and Telemetry
Lightweight Telemetry (LTM)
Tethered Logging
Log when FC is connected via USB
Blackbox
DevDocs Blackbox.md
INAV blackbox variables
DevDocs USB_Mass_Storage_(MSC)_mode.md
CLI
iNav CLI variables
DevDocs Cli.md
DevDocs Settings.md
VTOL
DevDocs MixerProfile.md
DevDocs VTOL.md
TROUBLESHOOTING
"Something" is disabled Reasons
Blinkenlights
Sensor auto detect and hardware failure detection
Pixel OSD FAQs
TROUBLESHOOTING
Why do I have limited servo throw in my airplane
ADTL TOPICS, FEATURES, DEV INFO
AAT Automatic Antenna Tracker
Building custom firmware
Default values for different type of aircrafts
Source Enums
Features safe to add and remove to fit your needs.
Developer info
Making a new Virtualbox to make your own INAV[OrangeRX LRS RX and OMNIBUS F4](OrangeRX-LRS-RX-and-OMNIBUS-F4)
Rate Dynamics
Target and Sensor support
Ublox 3.01 firmware and Galileo
DevDocs Controls
DevDocs 1wire.md
DevDocs ADSB.md
DevDocs Battery.md
DevDocs Buzzer.md
DevDocs Channel forwarding.md
DevDocs Display.md
DevDocs Fixed Wing Landing.md
DevDocs GPS_fix_estimation.md
DevDocs LED pin PWM.md
DevDocs Lights.md
DevDocs OSD Joystick.md
DevDocs Servo Gimbal.md
DevDocs Temperature sensors.md
OLD LEGACY INFO
Supported boards
DevDocs Boards.md
Legacy Mixers
Legacy target ChebuzzF3
Legacy target Colibri RACE
Legacy target Motolab
Legacy target Omnibus F3
Legacy target Paris Air Hero 32
Legacy target Paris Air Hero 32 F3
Legacy target Sparky
Legacy target SPRacingF3
Legacy target SPRacingF3EVO
Legacy target SPRacingF3EVO_1SS
DevDocs Configuration.md
Request form new PRESET
DevDocs Introduction.md
Welcome to INAV, useful links and products
UAV Interconnect Bus
DevDocs Rangefinder.md
DevDocs Rssi.md
DevDocs Runcam device.md
DevDocs Serial.md
DevDocs Telemetry.md
DevDocs Rx.md
DevDocs Spektrum bind.md
DevDocs INAV_Autolaunch.pdf
