GPS-RTK2 firmware update

Hi,

I bough the SparkFun GPS-RTK2 board with the F9P chip. I can use it connected to a PC with an USB cable. In u-center, I can tracks and log sats, and this is good :mrgreen: .

But looking more closely, it seems that I have the 1.11 firmware version. I would like to update firmware to 1.12, in order to track beidou sats higher than 30. So, after downloading the new firmware on my computer, I tried to transfer it using u-center but it fails. There are several messages but the transfer itself never really starts.

...
0.4 Commanding Safeboot
1.2 Re-enumerating
2.2 Sending training sequence
3.2 Retry poll

It can go ahead.

In your documentation, it is indicated :

SAFE: Safeboot input pin. This is required for firmware updates to the module and generally should not be used or connected.

So I tried to connect SAFE to GND before powering. Indeed, the board is no more recognized as USB device (in accordance with [[Integration Manual](https://www.u-blox.com/en/docs/UBX-18010802) : "In this mode only UART1 and I2C communication is possible.").

So, how to perform the firmware update of the F9P on the GPS-RTK2 board?

PC : windows 7, both with normal user and admin one. At 9600, 115200 and 460800 bauds.

Screen copy attached.](https://www.u-blox.com/en/docs/UBX-18010802)

Hi Eric.

Unfortunately we can not support firmware upgrades for the ZED-F9P. It may be possible to do, but we’re not able to assist with the process.

If any other forum users know how to do this and feel like helping, please feel free to offer advice, but if you end up bricking the GPS during the firmware update, we can not replace it.

Hi Eric,

I attempted to update the firmware for my GPS-RTK2 board shortly after purchasing it, but actually ended up bricking it after the update failed. I would advise caution! Luckily, the folks over at Ardusimple have some [really detailed unbricking instructions for the ZED-F9P so I was able to recover my board.

Paul Clark has some instructions on [how to upgrade the firmware using an Arduino as a USB to UART pass-through to upgrade the firmware in u-center. I haven’t given it a try yet, but Paul knows his stuff!

Please report back with any successes (or failures) you may have. I’d be keen to hear how you make out.

Cheers,

Adam](GitHub - PaulZC/ZED-F9P_FeatherWing_USB: A GNSS FeatherWing incorporating the u-blox ZED-F9P. Provides access to the ZED-F9P's USB, I2C, UART1 and UART2 ports.)](simpleRTK2B hack#2: unbrick ZED-F9P/use UART1 via USB - ArduSimple)

Thanks both for your answers.

So, firmware upgrade is not straightforward. Thus, I’m slightly disappointed that the board I ordered in December didn’t came with the firmware released in July. :wink:

Anyhow, I’m working on the [F9P_RAWX_Logger from Paul Clark. I already have the adalogger board. Once everything is connected on the bread board, it should be reasonably easy to perform the firmware update.](GitHub - PaulZC/F9P_RAWX_Logger: A guide on how to assemble a GNSS PPK RAWX Logger from an Adafruit Feather M0 Adalogger and a SparkFun GPS-RTK2 Board which incorporates the u-blox ZED-F9P dual band (L1 + L2) GNSS receiver)

So, after connecting to the adalogger, I upload the sketch called ZED-F9P_Echo to the board. Then, in u-center (20.01), I can see the F9P and all sats although connected through USB on the feather board. But, firmware update still failed. See:

Setup pipes

Firmware update tool launched

 -p STDIO -b 9600:9600: --no-fis 1 -s 1 -t 1 -v 1 "E:\eric\Downloads\UBX_F9_100_HPG_112_ZED_F9P.a26bfd58dfd11c233f8fdba6b99adc5a.bin"



----------CMD line arguments-----------

Image file:        E:\eric\Downloads\UBX_F9_100_HPG_112_ZED_F9P.a26bfd58dfd11c233f8fdba6b99adc5a.bin

Flash:             <compiled-in>

Fis:               flash.xml

Port:              STDIO

Baudrates:         9600/9600/0

Safeboot:          1

Reset:             1

AutoBaud:          0

Verbose:           1

Erase all:         1

Erase only:        0

Training sequence: 1

Chip erase:        0

Merging FIS:       1

Update RAM:        0

Use USB alt:       0

---------------------------------------

  0.0 u-blox Firmware Update Tool version 19.03

  0.0 Updating Firmware 'E:\eric\Downloads\UBX_F9_100_HPG_112_ZED_F9P.a26bfd58dfd11c233f8fdba6b99adc5a.bin' of receiver over 'STDIO'

  0.0   - Opening and buffering image file

  0.0   - Verifying image

  0.0   - image 0 size 654812

  0.0   - image 1 size 411440

  0.0   - config size 0

  0.0   - Trying to open port STDIO

  0.0   - Setting baudrate to 9600

  0.3   - Sending training sequence

  1.3   - Retry poll

  2.3   - Retry poll

  3.3   - Retry poll

  3.3 ERROR: Version poll failed.

  3.3 Firmware Update FAILED


Firmware Update Utility has unexpectedly terminated

Exit code (2)

Of course, I forgotten to connect the SAFE pin to GND. Then, I was successful. After, I removed the SAFE connection. Now, in u-center, I can see in UBX-MON-VER that FWVER=HPG 1.12. :mrgreen:

Great to hear!

Thanks for sharing, Eric.

And I also confirm that I receive Beidou sats above 30 as you can see at the bottom of attached picture.