Skip to main content
Associate II
July 24, 2024
Question

How to enable RTCM in LIV4F

  • July 24, 2024
  • 8 replies
  • 5140 views

Hi,

I have a EVB-LIV4F. I would like to know how to enable RTCM message. I would like to extract the following raw measurements from RTCM:

1) the time of the measurement

2) satellite pseudoranges measured between the satellite and GNSS receiver

3) their standard deviations

4) carrier phase

5) Doppler shifts

Thanks.

8 replies

Associate
July 28, 2024

To get the raw measurements you need the ME (Measurement Engine) version of the firmware. Have you loaded that to your module? I'm not familiar with the details beyond that. There used to be a dedicated Teseo-LIV4FM for this, but it was discontinued before we could actually order it. Not sure if there were any further documentation specific for that module, before it was removed from the ST website?

I'm also interested to test raw measurements with LIV4F, but do not have the hardware ready yet. Not 100% optimistic in what to expect in performance with regards to noise and cycle slips, but we'll see when we get there. Obviously also interested to hear what you (and others) experience.

Technical Moderator
July 29, 2024

Teseo-LIV4FM will not be produced any more and all the Teseo-LIV4FM features have been moved on Teseo-LIV4F using dedicated firmware

To get raw measurement data in RTCM format you have to install the _ME_ firmware available for free @ https://www.st.com/en/embedded-software/teseo-liv4fsw.html  (Edit: fixed from 3F to 4F)

In the package there are 4 firmware:

 - Standard PVT (the default one installed in production)

- PVT with IRSS support

 - PVT with MSM1 decoder

 - PVT and ME (the one you are looking for)

You can download and install the ME firmware in the module and get the raw measurement data you need.

 

Regards

koleeAuthor
Associate II
July 29, 2024

Thanks Francesco. I download the ME firmware to EVB-LIV4F. The RTCM monitoring reports MSM7 message (msg id 1077, 1097). How do I access those messages to retrieve raw measurement.

Also, with the ME firmware, I don't receive GxGST message. How do I activate GST message in ME firmware?

Thanks.

koleeAuthor
Associate II
August 8, 2024

Hi,

I would appreciate if someone can give me insight. As I said in my earlier post, I load the ME firmware to EVB-LIV4F. However, I don't know how to retrieve raw measurement. I got some special characters.

==============================

$BDGSV,2,1,08,44,,,40,22,,,34,12,,,28,21,,,,1*77

e▒W▒▒
▒h-▒9▒▒▒]M▒Pݡ
Jie▒▒|▒▒'▒▒▒N&Y:▒▒_▒o&▒▒PCR▒a▒▒R▒▒ z:RH▒▒▒▒N!▒▒▒▒▒Q]▒▒r▒▒x7R?(g▒▒▒▒ɱ>▒▒yǷn@▒▒D▒▒a▒▒R▒E▒E2▒a▒▒R▒▒
tt▒▒▒▒|$▒▒▒▒r▒;`▒c▒▒
▒▒8K▒▒P
▒▒▒^e7

$GNRMC,180334.507,V,,,,,,,010824,,,N,V*29

==============================

Please help.

Thanks.

Associate
August 8, 2024

Below you can find a basic python script to see the data, once you have the messages based on the definitions 
you can write your own decoder or use a software that can use RTCM directly. I am trying to make it work with RTKLIB navi, I am able to retrieve the messages. did not make the RTK corrections work yet
```

import serial

# Function to read data from a serial port
def read_serial_data(port, baudrate):
try:
with serial.Serial(port, baudrate, timeout=1) as ser:
while True:
data = ser.readline().decode('ascii', errors='ignore').strip()
if data:
print(data)
except serial.SerialException as e:
print(f"Error: {e}")
except KeyboardInterrupt:
print("Exiting...")

# Usage
if __name__ == "__main__":
port = "/dev/ttyACM1" # Replace with your serial port
baudrate = 9600 # Set the baud rate to match your device
read_serial_data(port, baudrate)

```

Associate
August 5, 2024

@kolee 

Where did you find the ME firmware? The link that was provided above does not point me to that.

Thanks!

koleeAuthor
Associate II
August 6, 2024
Tesla DeLorean
Guru
August 6, 2024

Thanks, I fixed the link in the earlier post to reflect where the firmware is really situated

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
koleeAuthor
Associate II
August 9, 2024

Also, I am able to get GxGST message in the standard firmware. Once I load ME firmware, I don't receive GxGST message. Is it possible to enable GxGST message in ME firmware?

Thanks.

Technical Moderator
August 16, 2024

Hi Koon,

I am not sure if you found the answers you were looking for.

To get information from Measurement data you can use CONVBIN tool provided as part of RTKLIB release. This will convert RTCM3 data into RINEX format.

Attached is the snippet I used as an example.

 

GalaxyQuest_0-1723827784455.png

I saw in another post that GST message is not available.

In our ME binary, we output Kalman Filter Covariance information.

This is a new feature so LIV4F manual is not updated yet. Please let me know if this would suffice.

GalaxyQuest_1-1723827869781.png

To enable PSTMKFCOV message, do the following

$PSTMSETPAR,1201,0x8000000,1

$PSTMSAVEPAR

$PSTMSRR

 

 

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
DrPi
Associate
June 21, 2025

Hi,

I'd like to download the ME firmware using the prodided link in previous messages. Alas, when I click the "download latest" button then click "Accept", nothing hapens.

Can anyone at ST fix this issue please ?

 

Best regards,

Nicolas

Associate
June 22, 2025

I just tried "get latest" at https://www.st.com/en/embedded-software/teseo-liv4fsw.html and it worked for me when logged in to ST. If not (incognito window) I get a pop up with options to log in, create an account or download as a guest, but I did not try these. (With Chrome browser.)

DrPi
Associate
June 22, 2025

Thanks for trying.

I tried downloading again. I finally got it working. An extension of my browser was blocking the download. Disabling the extension made it work.

Thanks again.