There are two methods to enable & record debug messages on your F9 module. Choose either route and ensure to optimize the baud rate!
First method: u-center
To enable debug messages and start recording a log file with u-center follow the steps below.
- Please increase the baud rate to 460800 or higher value. Refer to Note 2 at the end of this article for details.
- At the top navigation bar click on the "Enable all debug messages" button.
- Next, click on the "Record" button.
- Choose the location of the log file and create a descriptive .ubx log file name.
- Select the generation of your receiver (e.g. u-blox Generation 9 is for F9P) and click yes.
U-Center will transfer configuration and log information to a .ubx file.
- Once you are done recording just simply press the Eject button.
More information about u-center is Here
Second method: Send HEX
If you cannot use u-center, you can use the example Python F9_Enable_Debug.py attached to enable debug messages in Linux or other environments. The script is compatible with F9P, F9R, and F9K modules, and it simply sends a HEX configuration to the F9 RAM layer that enables Debug messages. The script will automatically set the baud rate to 460800 to prevent buffer or memory issues. If your setup is limited to a lower baud rate please let us know and we can provide a lighter Debug script.
- Run F9_Enable_Debug.py to enable all Debug messages in the RAM layer
- Run any application to record the text output so long as it does not filter out NMEA or UBX.
- We provide Python sample scripts for both MQTT and NTRIP Clients that you can use to record logs with the '--ubx' argument. See PointPerfect Downloads.
- We provide Python sample scripts for both MQTT and NTRIP Clients that you can use to record logs with the '--ubx' argument. See PointPerfect Downloads.
Important Notes:
1. If you need support to troubleshoot an issue, u-blox would need a 30-minute log. Please share both the logs (.ubx) and configuration file (.txt) generated for best results in your support ticket. If the configuration file cannot be found, generate one manually using Tools, Receiver Configuration. (u-center only)
2. The F9P has a default baud rate of 38400. When debug messages are enabled, the amount of data transmitted increases, which may lead to the buffer space being exceeded. When this happens, new messages won't be sent. To prevent this message loss, it is recommended to increase the baud rate to the maximum that your hardware can handle. If the baud rate cannot be set higher, then it is important to carefully select the number of enabled messages to ensure that the expected number of bytes can be transmitted in less than one second. (if you have baud rate limits ask support for help)