MavPorter firmware update

Check actual firmware #

Check with MissionPlanner

  1. Power up and connect your drone via USB to the PC with MissionPlanner installed
  2. Reboot MavPorter and wait few seconds for MavPorter boot
  3. Check MissionPlanner tab “Messages” for MavPorter’s boot Status Message

Updater download #

  • SmartRouting feature
    • MavPorter has new parameter (enabled by default) SMART_ROUTING.
    • This feature search for MavLink packets which supports routing and sends them only to ports where heartbeats with targer component ID is detected. This may simplify problems with overload of ports in some usage scenarios
  • Support for statistics reporting for MissionPlanner
    • Use our new MissionPlanner plugin to discover data received / transmitted in each port of MavPorter
  • Correction of transmission error for some usage cases

Firmware update #

Firmware update is done via MavLink. There is no need to disconnect device from the drone, you can leave all connections as they are, however we suggest to power up only flight controller and MavPorter.

STEP 1

Download our update application from the link above. Application is not installation, feel free to trash it once update is done.

STEP 2

Unzip all application files to new folder and run .EXE file

STEP 3

Connect your drone via USB cable, same way as when you connect MissionPlanner / QGC directly via USB from your computer.

STEP 4

In updater application select COM port of your drone (same COM port number as you choose for MissionPlanner.

STEP 5

Once correct COM port is selected, clikc to “Connect” button.

  • Label “Mavlink” should get “Online!” almost immediately. “Online” status means, that application see any Mavlink data (does not matter what device generates them).
  • Label “Device” should switch to “MavPorter” when MavPorter is detected in the system.

STEP 6

If MavPorter is recognized properly, click to UPDATE button. Update is done even firmware in the device is the same (works as recovery).

If MavPorter has not been detected, your MavPorter is most probably not connected properly to flight controller -> check baudrates, check power for MavPorter.

Recovery procedure #

World is not perfect and trouble may happen. Heads up – MavPorter has MavLink compatible bootloader which will allow you to recover firmware in all cases.

STEP 1

If your MavPorter stuck in boot, it uses PRT1 with baudrate of 115200.

For connection in the boot period, you have to reconfigure SERIALx_BAUD parameter in your CUBE to 115, for proper timing of port data connection.

Rememeber to reboot Cube after serial port baudrate change.

STEP 2

Now launch firmware update application again, select COM port of the drone and use baudrate of your drone (this may not be the same as MavPorter baudrate setting, do not mismatch).

STEP 3

  • At this point you should see “MavLink” online, but device will not be recognized (“…searching…”).

STEP 4

  • Now disconnect and reconnect MavPorter from flight controller. Make sure that MavPorter rebooted (power has been disconnected from all ports).
  • In a second you will see MavPorter recognized and you have only 2 seconds to press “UPDATE” button in the application.
  • Firmware update will now proceed the same as regular procedure.

STEP 5

  • Once update is done, MavPorter will switch back to default 921600 baudrate at PRT1, please reconfigure Serial port baudrate in your Cube back to 921600.

Check actual firmware

Check with MissionPlanner

  1. Power up and connect your drone via USB to the PC with MissionPlanner installed
  2. Reboot MavPorter and wait few seconds for MavPorter boot
  3. Check MissionPlanner tab “Messages” for MavPorter’s boot Status Message

Updater download

  • SmartRouting feature
    • MavPorter has new parameter (enabled by default) SMART_ROUTING.
    • This feature search for MavLink packets which supports routing and sends them only to ports where heartbeats with targer component ID is detected. This may simplify problems with overload of ports in some usage scenarios
  • Support for statistics reporting for MissionPlanner
    • Use our new MissionPlanner plugin to discover data received / transmitted in each port of MavPorter
  • Correction of transmission error for some usage cases

Firmware update

Firmware update is done via MavLink. There is no need to disconnect device from the drone, you can leave all connections as they are, however we suggest to power up only flight controller and MavPorter.

STEP 1

Download our update application from the link above. Application is not installation, feel free to trash it once update is done.

STEP 2

Unzip all application files to new folder and run .EXE file

STEP 3

Connect your drone via USB cable, same way as when you connect MissionPlanner / QGC directly via USB from your computer.

STEP 4

In updater application select COM port of your drone (same COM port number as you choose for MissionPlanner.

STEP 5

Once correct COM port is selected, clikc to “Connect” button.

  • Label “Mavlink” should get “Online!” almost immediately. “Online” status means, that application see any Mavlink data (does not matter what device generates them).
  • Label “Device” should switch to “MavPorter” when MavPorter is detected in the system.

STEP 6

If MavPorter is recognized properly, click to UPDATE button. Update is done even firmware in the device is the same (works as recovery).

If MavPorter has not been detected, your MavPorter is most probably not connected properly to flight controller -> check baudrates, check power for MavPorter.

Recovery procedure

World is not perfect and trouble may happen. Heads up – MavPorter has MavLink compatible bootloader which will allow you to recover firmware in all cases.

STEP 1

If your MavPorter stuck in boot, it uses PRT1 with baudrate of 115200.

For connection in the boot period, you have to reconfigure SERIALx_BAUD parameter in your CUBE to 115, for proper timing of port data connection.

Rememeber to reboot Cube after serial port baudrate change.

STEP 2

Now launch firmware update application again, select COM port of the drone and use baudrate of your drone (this may not be the same as MavPorter baudrate setting, do not mismatch).

STEP 3

  • At this point you should see “MavLink” online, but device will not be recognized (“…searching…”).

STEP 4

  • Now disconnect and reconnect MavPorter from flight controller. Make sure that MavPorter rebooted (power has been disconnected from all ports).
  • In a second you will see MavPorter recognized and you have only 2 seconds to press “UPDATE” button in the application.
  • Firmware update will now proceed the same as regular procedure.

STEP 5

  • Once update is done, MavPorter will switch back to default 921600 baudrate at PRT1, please reconfigure Serial port baudrate in your Cube back to 921600.