# SparkFun RTK Mosaic - X5 - Setting Lat/Long to match output format

**URL:** <https://community.sparkfun.com/t/sparkfun-rtk-mosaic-x5-setting-lat-long-to-match-output-format/65228>\
**Category:** SparkPNT / Consumer Products\
**Created:** [May 22, 2025, 4:59pm UTC](https://community.sparkfun.com/t/sparkfun-rtk-mosaic-x5-setting-lat-long-to-match-output-format/65228 "2025-05-22T16:59:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![PaulZC](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/paulzc/32/67_2.png) [@PaulZC](https://community.sparkfun.com/u/PaulZC)\
**Post date:** [May 25, 2025, 3:13pm UTC](https://community.sparkfun.com/t/sparkfun-rtk-mosaic-x5-setting-lat-long-to-match-output-format/65228/4 "2025-05-25T15:13:04Z")

</div>

Hi Jeff,

These instructions may help:

> [@Reflash ESP32 on Mosaic X5](https://community.sparkfun.com/t/reflash-esp32-on-mosaic-x5/64944/3):
>
> Hi @Agcopter , The RTK mosaic-X5 Repo contains the full firmware source code and the compiled binary for the ESP32. On a Windows PC: Download the RTK mosaic-X5 repo as a Zip file: [https://github.com/sparkfun/SparkFun\_RTK\_mosaic-X5/archive/refs/heads/main.zip](https://github.com/sparkfun/SparkFun_RTK_mosaic-X5/archive/refs/heads/main.zip) Unzip the Zip file (Extract All) Navigate into the Firmware \ RTK\_mosaic-X5\_Firmware sub-folder Connect the RTK mosaic-X5 “CONFIG ESP32” port to your PC using a USB-C cable. It should appear in Device Manager as a CH340 COM port. Run ESP32\_FLASH\_ERASE.bat to completely clear the ESP32 memory. The .bat file should find the COM port number for you. If you need to run it manually, use the following replacing COM1 with your COM port: esptool.exe --chip esp32 -p COM1 -b 460800 erase\_flash Then run ESP32\_FLASHER.bat to upload the firmware. If you need to run it manually, use: esptool.exe --chip esp32 -p COM1 -b 460800 --before=default\_reset --after=hard\_reset write\_flash --flash\_mode dio --flash\_freq 40m --flash\_size 4MB 0x100…

Cheers,  
Paul

---

_[View the full topic](https://community.sparkfun.com/t/sparkfun-rtk-mosaic-x5-setting-lat-long-to-match-output-format/65228)._
