|
| 1 | +## Hardware Assembly |
| 2 | +The simplest method to update the firmware on the ZED-X20P GNSS receiver, is through its `UART1` interface with the u-center 2 software application. Users can either utilize the [GNSS Flex breakout board](../SparkFun_GNSS_Flex_Breakout/index.md) or a [USB-to-serial adapter](https://www.sparkfun.com/sparkfun-serial-basic-breakout-ch340c-and-usb-c.html) to access the `UART1` interface of the ZED-X20P GNSS receiver. |
| 3 | + |
| 4 | + |
| 5 | +!!! warning "HPG v2.00 Firmware" |
| 6 | + As of HPG v2.02, firmware updates can be performed with either the `UART1`, I^2^C, or SPI interfaces of the ZED-X20P. However, with the original HPG v2.00 firmware, firmware updates could only be performed through the `UART1` interface. |
| 7 | + |
| 8 | + |
| 9 | +<div class="grid" markdown> |
| 10 | + |
| 11 | +<div markdown> |
| 12 | + |
| 13 | +<figure markdown> |
| 14 | +[{ width="400" }](./assets/img/hookup_guide/assembly-firmware_update.jpg "Click to enlarge") |
| 15 | +<figcaption markdown>Connecting to the `UART1` interface with the Flex breakout board.</figcaption> |
| 16 | +</figure> |
| 17 | + |
| 18 | +</div> |
| 19 | + |
| 20 | + |
| 21 | +<div markdown> |
| 22 | + |
| 23 | +<figure markdown> |
| 24 | +[{ width="400" }](./assets/img/hookup_guide/assembly-firmware_update-alt.jpg "Click to enlarge") |
| 25 | +<figcaption markdown>Connecting to the `UART1` interface through the GNSS Flex headers, using a [USB-to-serial adapter](https://www.sparkfun.com/sparkfun-serial-basic-breakout-ch340c-and-usb-c.html).</figcaption> |
| 26 | +</figure> |
| 27 | + |
| 28 | +</div> |
| 29 | + |
| 30 | +</div> |
| 31 | + |
| 32 | + |
| 33 | +??? tip "GNSS Flex Headers" |
| 34 | + Below, is a table of the pin connections between the `UART1` interface of the GNSS Flex headers and a [USB-to-serial adapter](https://www.sparkfun.com/sparkfun-serial-basic-breakout-ch340c-and-usb-c.html). Additionally, we have provided a diagram of the pin locations on the GNSS Flex header. |
| 35 | + |
| 36 | + |
| 37 | + <div class="grid" markdown> |
| 38 | + |
| 39 | + <div style="text-align: center;" markdown> |
| 40 | + |
| 41 | + | GNSS Flex Header Pins | USB-to-Serial Adapter | |
| 42 | + | :----: | :---: | |
| 43 | + | `3V3` | `3V3` | |
| 44 | + | `GND` | `GND` | |
| 45 | + | `TXD1` | `RXI` | |
| 46 | + | `RXD1` | `TXO` | |
| 47 | + |
| 48 | + </div> |
| 49 | + |
| 50 | + |
| 51 | + <div markdown> |
| 52 | + |
| 53 | + <figure markdown> |
| 54 | + [{ width="400" }](./assets/img/hookup_guide/headers-firmware_update.png "Click to enlarge") |
| 55 | + <figcaption markdown>The GNSS Flex header pins for the `UART1` interface of the ZED-X20P GNSS Flex module.</figcaption> |
| 56 | + </figure> |
| 57 | + |
| 58 | + </div> |
| 59 | + |
| 60 | + </div> |
| 61 | + |
| 62 | + |
| 63 | + !!! note |
| 64 | + The ZED-X20P GNSS receiver requires 3.3V to power the module. |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | +!!! info |
| 69 | + For more information, please reference the [user manual](https://www.u-blox.com/en/info/u-center-2-user-guide#93-updating-firmware). |
| 70 | + |
| 71 | + |
| 72 | +!!! example "Example - I^2^C Interface" |
| 73 | + For those curious, we have found that it is possible to [update the firmware through the I^2^C interface](https://community.sparkfun.com/t/how-to-update-gnss-flex-phat-zed-x20p-firmware-with-u-center-2/67090/9) of the ZED-X20P GNSS receiver. |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | +## u-center 2 Application |
| 78 | +Users will need to [connect to the ZED-X20P GNSS Flex module](https://www.u-blox.com/en/info/u-center-2-user-guide#32-connecting-a-device) in the u-center 2 application. Once connected, select the **Firmware update** tool from the **Tools and Services** panel; then, follow the instructions outlined in the [user manual](https://www.u-blox.com/en/info/u-center-2-user-guide#93-updating-firmware). Otherwise, users can also follow this instructional video from u-blox. |
| 79 | + |
| 80 | + |
| 81 | +<div class="video" style="text-align: center; margin: auto;" markdown> |
| 82 | +<iframe src="https://www.youtube.com/embed/RonjsBTdW3A" title="Firmware update on u-center 2 (ver. 23.03.)" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |
| 83 | +{ .qr width="85" } |
| 84 | +</div> |
| 85 | + |
| 86 | + |
| 87 | +!!! info |
| 88 | + For the latest firmware, please check the [u-blox ZED-X20P product page](https://www.u-blox.com/en/product/zed-x20p-module?legacy=Current#Documentation-&-resources). |
| 89 | + |
| 90 | + |
| 91 | +!!! tip |
| 92 | + If the ZED-X20P is in the safe boot mode, it requires a training sequence to be enabled during the firmware update process. |
0 commit comments