Maker.io main logo

How to Upgrade Firmware of a u-blox GNSS Receiver

2021-08-10 | By SparkFun Electronics

License: See Original Project

Courtesy of SparkFun

Guide by NATE

Introduction

For GNSS positioning, u-blox has some of the most incredible receivers available. Over time they will release new versions of the firmware running on those receivers. This tutorial will demonstrate how to upgrade the firmware on the ZED-F9P but can be used for nearly all u-blox receivers including:

Connecting

If you have not already installed u-center, do so now. If this is your first time using u-center, you should be fine, but just now we have a Getting started with u-center tutorial that can be helpful.

connect_1

Connecting the RTK Surveyor over USB

For many modules like the ZED-F9P (shown inside the RTK Surveyor above) or NEO-M8P, a USB connection is as simple as plugging in a USB cable.

plug_2

A USB adapter providing the serial connection

For modules that do not have USB built in, you will need to use a serial to USB adapter and solder in a 6-pin right angle header. Note how the GRN and BLK labels align on both the serial adapter and the SAM-M8Q evaluation board.

adapter_3

Open u-center and connect to the appropriate COM port. Not sure what COM port to use? The easiest method is to view the listed COM ports, then unplug your device from USB. Now re-open the list. Which COM disappeared? That’s the one you want.

Alternatively, you can Open Device Manager (press the Windows button then type ‘device’).

manager_4

In the image above COM3 is a COM port on my computer that never goes away. COM11 disappears when I unplug my ZED-F9P so COM11 is the port I need to connect to from u-center.

Backup Device Settings

Updating the firmware will overwrite the device configuration. If you use stock settings or tweak just a few features, then you can skip this step. If you have a highly configured receiver that you don’t want to manually configure again, read on.

update_5

Open the Receiver Configuration window. It’s under Tools.

tools_6

We want to transfer from the receiver to a file. Give the configuration file an easy to remember name. Once complete, the receiver’s settings will be committed to the file.

transfer_7

And just as easily, you can load a configuration file back onto the receiver. This is a handy tool for having a handful of different configurations or if you have a batch of receivers that all need to have the same settings applied.

Identifying Current Firmware Version

This is perhaps the most difficult step of the process! Click on the Messages window button.

version_8

Within the Messages window, you will see a tremendous number of subtrees. Close them all so you only see NMEA, RTCM3, and UBX.

window_9

Now expand UBX. We need to locate and expand MON, and finally locate VER.

UBX_10

Your device’s firmware will be listed in the right window pane. In this example the Firmware Version is 1.13 and the module is the ZED-F9P.

Getting Latest Firmware

Now that you know your current firmware, it’s time to find out if there is anything more recent. SparkFun will generally not host the binary files that u-blox releases. This is because we want you to have the latest and greatest version directly from u-blox. You can usually find the firmware for a given product under the ‘Documents and resources’ tab for that given product. Here’s the ZED-F9P as an example.

firmware_11

Scroll or search this page for ‘firmware’.

scroll_12

Download this binary to a folder where you can easily find it.

Upgrading Firmware

upgrade_13

Select Firmware Update from the Tools menu. Note that while the menu says that Ctrl+U is the shortcut, it is not! Ctrl+U will open the legacy firmware update tool. Be careful and use your mouse.

Update_14

Press the button with three dots '...' and locate the firmware image you just downloaded. When you’re ready, press the green dot button labeled ‘GO’ in the lower left corner.

GO_15

Sit back and wait. This upgrade took about 60s, but your mileage may vary.

sit_16

Upon completion, you should see the ‘Firmware Update Success’ message. The GNSS receiver will reset and re-enumerate over USB (if it has USB built-in). On the ZED-F9P all device settings and configurations were overwritten so if you previously saved your device’s configuration now is a good time to reload them.

Further Reading

Thanks for reading! We hope this makes the firmware upgrade process a bit less daunting. If you're unsure about the changes and advantages to each firmware release, be sure to checkout the 'Release Notes' listed on a given u-blox receiver's documents page.

制造商零件编号 GPS-16481
GPS-RTK-SMA ZED-F9P BREAKOUT
SparkFun Electronics
¥2,246.01
Details
制造商零件编号 GPS-16344
GPS-RTK DEAD RECKONING BREAKOUT
SparkFun Electronics
¥2,360.22
Details
制造商零件编号 GPS-16329
NEO-M8U GPS DEAD RECKONING BRD
SparkFun Electronics
¥610.10
Details
制造商零件编号 GPS-15712
GPS BREAKOUT NEO-M9N QWIIC U.FL
SparkFun Electronics
¥569.40
Details
制造商零件编号 GPS-15210
SPARKFUN GPS BREAKOUT - CHIP ANT
SparkFun Electronics
¥349.62
Details
制造商零件编号 GPS-15193
SPARKFUN GPS BREAKOUT - ZOE-M8Q
SparkFun Electronics
¥406.60
Details
制造商零件编号 DEV-15096
SPARKFUN SERIAL BASIC BREAKOUT -
SparkFun Electronics
¥80.99
Details
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum