Category
Serial
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.6.10.9ce4455 Alpha
Description
I am trying to use an m10q GPS unit from newbeedrone with my Seeed Studio XIAO nRF52840 meshtastic kit. I have enabled the GPS and defined the RX and TX pins correctly as 7 and 6 respectively, and wired them correctly. I have tried changing the default baud rate on the GPS module using u-center 2 to 9600 but it seems that too much data is sent by this GPS unit to comfortably work at 9600 baud although it did accept the setting when I changed it. U center reports that the baud rate is too low (shocker) at 9600 which is why I would like to run the GPS at 115200 but the initialization sequence is not attempting to probe at that baud rate to detect the GPS.
Looking through the GPS.cpp file, and some other logs that people have posted, I see that the startup sequence is supposed to probe for GPS at multiple baud rates. However I am not seeing this behavior in the device logs as it only ever reports it is probing at 9600 and fails to detect the GPS. I wonder if this is due to a board configuration that locks the GPS baud rate to 9600? There is a L76K module that is sold by Seeed Studio specifically for use with the Xiao, which runs at 9600 baud.
I also have tried this on the latest beta release with the same results.
Relevant log output
//\ E S H T /\ S T / C
DEBUG | ??:??:?? 1 Filesystem files:
DEBUG | ??:??:?? 1 prefs (directory)
DEBUG | ??:??:?? 1 channels.proto (72 Bytes)
DEBUG | ??:??:?? 1 device.proto (127 Bytes)
DEBUG | ??:??:?? 1 module.proto (94 Bytes)
DEBUG | ??:??:?? 1 config.proto (208 Bytes)
DEBUG | ??:??:?? 1 nodes.proto (1369 Bytes)
DEBUG | ??:??:?? 1 adafruit (directory)
DEBUG | ??:??:?? 1 bond_prph (directory)
DEBUG | ??:??:?? 1 bond_cntr (directory)
DEBUG | ??:??:?? 1 Power::lipoInit lipo sensor is not ready yet
DEBUG | ??:??:?? 1 Use analog input 32 for battery level
INFO | ??:??:?? 1 Scan for i2c devices
DEBUG | ??:??:?? 1 Scan for I2C devices on port 1
INFO | ??:??:?? 1 No I2C devices found
DEBUG | ??:??:?? 1 acc_info = 0
INFO | ??:??:?? 1 S:B:88,2.6.10.9ce4455
INFO | ??:??:?? 1 Build timestamp: 1748871614
DEBUG | ??:??:?? 1 Reset reason: 0x0
DEBUG | ??:??:?? 1 Set random seed 945446475
INFO | ??:??:?? 1 Init NodeDB
INFO | ??:??:?? 1 Load /prefs/nodes.proto
INFO | ??:??:?? 1 Loaded /prefs/nodes.proto successfully
INFO | ??:??:?? 1 Loaded saved nodedatabase version 24, with nodes count: 17
INFO | ??:??:?? 1 Load /prefs/device.proto
INFO | ??:??:?? 1 Loaded /prefs/device.proto successfully
INFO | ??:??:?? 1 Loaded saved devicestate version 24
INFO | ??:??:?? 1 Load /prefs/config.proto
INFO | ??:??:?? 1 Loaded /prefs/config.proto successfully
INFO | ??:??:?? 1 Loaded saved config version 24
INFO | ??:??:?? 1 Load /prefs/module.proto
INFO | ??:??:?? 1 Loaded /prefs/module.proto successfully
INFO | ??:??:?? 1 Loaded saved moduleConfig version 24
INFO | ??:??:?? 1 Load /prefs/channels.proto
INFO | ??:??:?? 1 Loaded /prefs/channels.proto successfully
INFO | ??:??:?? 1 Loaded saved channelFile version 24
ERROR | ??:??:?? 1 Could not open / read /prefs/uiconfig.proto
DEBUG | ??:??:?? 1 cleanupMeshDB purged 4 entries
DEBUG | ??:??:?? 1 Use nodenum 0x3b402071
DEBUG | ??:??:?? 1 Expand short PSK #1
DEBUG | ??:??:?? 1 Expand short PSK #113
INFO | ??:??:?? 1 Wanted region 1, using US
DEBUG | ??:??:?? 1 Coerce telemetry to min of 30 minutes on defaults
DEBUG | ??:??:?? 1 Save to disk 0
DEBUG | ??:??:?? 1 Use compiled/slipstreamed tzplaceholder
DEBUG | ??:??:?? 1 Set Timezone to GMT0
INFO | ??:??:?? 1 GPS power state move from OFF to ACTIVE
DEBUG | ??:??:?? 1 NeighborInfoModule is disabled
INFO | ??:??:?? 1 External Notification Module Disabled
DEBUG | ??:??:?? 1 SX126xInterface(cs=4, irq=1, rst=2, busy=3)
DEBUG | ??:??:?? 1 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO referenc e voltage at 1.800000 V
INFO | ??:??:?? 1 Start meshradio init
INFO | ??:??:?? 1 Radio freq=906.875, config.lora.frequency_offset=0.000
INFO | ??:??:?? 1 Set radio: region=US, name=LongFast, config=0, ch=19, power=3 0
INFO | ??:??:?? 1 myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.0 00000 (26.000000 MHz)
INFO | ??:??:?? 1 numChannels: 104 x 250.000kHz
INFO | ??:??:?? 1 channel_num: 20
INFO | ??:??:?? 1 frequency: 906.875000
INFO | ??:??:?? 1 Slot time: 28 msec
INFO | ??:??:?? 1 Final Tx power: 30 dBm
INFO | ??:??:?? 1 SX126x init result 0
INFO | ??:??:?? 1 Frequency set to 906.875000
INFO | ??:??:?? 1 Bandwidth set to 250.000000
INFO | ??:??:?? 1 Power output set to 22
DEBUG | ??:??:?? 1 Current limit set to 140.000000
DEBUG | ??:??:?? 2 Current limit set result 0
DEBUG | ??:??:?? 2 Set DIO2 as RF switch, result: 0
DEBUG | ??:??:?? 2 Use MCU pin 5 as RXEN and pin -1 as TXEN to control RF switch ing
INFO | ??:??:?? 2 Set RX gain to boosted mode; result: 0
INFO | ??:??:?? 2 SX1262 init success
DEBUG | ??:??:?? 2 LoRA bitrate = 118.394310 bytes / sec
INFO | ??:??:?? 2 PowerFSM init, USB power=1
DEBUG | ??:??:?? 2 State: BOOT
DEBUG | ??:??:?? 2 [Power] Battery: usbPower=0, isCharging=0, batMv=3796, batPct =59
DEBUG | ??:??:?? 2 [GPS] Probe for GPS at 9600
DEBUG | ??:??:?? 2 [GPS] Trying $PDTINFO (Unicore Family)...
DEBUG | ??:??:?? 2 [GPS] Trying $PCAS06,1*1A (ATGM33xx Family)...
DEBUG | ??:??:?? 3 [GPS] Trying $PAIR021*39 (Airoha Family)...
DEBUG | ??:??:?? 4 [GPS] Trying $PQTMVERNO*58 (LC86)...
DEBUG | ??:??:?? 4 [GPS] Trying $PCAS06,0*1B (L76K)...
DEBUG | ??:??:?? 5 [GPS] Trying $PMTK605*31 (MTK Family)...
WARN | ??:??:?? 6 [GPS] No GNSS Module (baudrate 9600)
INFO | ??:??:?? 6 [RangeTest] Range Test Module - Disabled
INFO | ??:??:?? 6 [PowerFSM] Loss of power in Powered
INFO | ??:??:?? 6 [PowerFSM] Loss of power in Powered
DEBUG | ??:??:?? 6 [PowerFSM] Init NRF52 Bluetooth
INFO | ??:??:?? 6 [PowerFSM] Init the Bluefruit nRF52 module
INFO | ??:??:?? 6 [PowerFSM] Bluetooth pin set to '123456'
INFO | ??:??:?? 6 [PowerFSM] Init the Device Information Service
INFO | ??:??:?? 6 [PowerFSM] Init the Battery Service
INFO | ??:??:?? 6 [PowerFSM] Init the Mesh bluetooth service
INFO | ??:??:?? 6 [PowerFSM] Set up the advertising payload(s)
INFO | ??:??:?? 6 [PowerFSM] Advertise
DEBUG | ??:??:?? 6 [PowerFSM] State: ON
INFO | ??:??:?? 6 BLE Connected to [redacted]
DEBUG | ??:??:?? 6 BluetoothStatus CONNECTED
INFO | ??:??:?? 7 BLE connection secured
DEBUG | ??:??:?? 8 [GPS] Probe for GPS at 9600
DEBUG | ??:??:?? 8 [GPS] Trying $PDTINFO (Unicore Family)...
DEBUG | ??:??:?? 9 [GPS] Trying $PCAS06,1*1A (ATGM33xx Family)...
DEBUG | ??:??:?? 9 [GPS] Trying $PAIR021*39 (Airoha Family)...
INFO | ??:??:?? 10 [GPS] toRadioWriteCb data 0x2001c732, len 2
DEBUG | ??:??:?? 10 [GPS] New ToRadio packet
INFO | ??:??:?? 10 [GPS] Client wants config, nonce=44
DEBUG | ??:??:?? 10 [GPS] Got 5 files in manifest
INFO | ??:??:?? 10 [GPS] Start API client config
INFO | ??:??:?? 10 [GPS] CCCD Updated: 1
INFO | ??:??:?? 10 [GPS] Notify/Indicate enabled
DEBUG | ??:??:?? 10 [GPS] FromRadio=STATE_SEND_MY_INFO
INFO | ??:??:?? 10 [GPS] getFromRadio=STATE_SEND_UIDATA
DEBUG | ??:??:?? 10 [GPS] Send My NodeInfo
DEBUG | ??:??:?? 10 [GPS] Send device metadata
DEBUG | ??:??:?? 10 [GPS] Trying $PQTMVERNO*58 (LC86)...
DEBUG | ??:??:?? 11 [GPS] Send channels 8
DEBUG | ??:??:?? 11 [GPS] Send config: device
DEBUG | ??:??:?? 11 [GPS] Send config: position
DEBUG | ??:??:?? 11 [GPS] Send config: power
DEBUG | ??:??:?? 11 [GPS] Send config: network
DEBUG | ??:??:?? 11 [GPS] Send config: display
DEBUG | ??:??:?? 11 [GPS] Trying $PCAS06,0*1B (L76K)...
DEBUG | ??:??:?? 11 [GPS] Send config: lora
DEBUG | ??:??:?? 11 [GPS] Send config: bluetooth
DEBUG | ??:??:?? 11 [GPS] Send config: security
DEBUG | ??:??:?? 11 [GPS] Send config: sessionkey
DEBUG | ??:??:?? 11 [GPS] Send module config: mqtt
DEBUG | ??:??:?? 11 [GPS] Send module config: serial
DEBUG | ??:??:?? 11 [GPS] Send module config: ext notification
DEBUG | ??:??:?? 11 [GPS] Send module config: store forward
DEBUG | ??:??:?? 11 [GPS] Trying $PMTK605*31 (MTK Family)...
DEBUG | ??:??:?? 11 [GPS] Send module config: range test
DEBUG | ??:??:?? 12 [GPS] Send module config: telemetry
DEBUG | ??:??:?? 12 [GPS] Send module config: canned message
DEBUG | ??:??:?? 12 [GPS] Send module config: audio
DEBUG | ??:??:?? 12 [GPS] Send module config: remote hardware
DEBUG | ??:??:?? 12 [GPS] Send module config: neighbor info
DEBUG | ??:??:?? 12 [GPS] Send module config: ambient lighting
DEBUG | ??:??:?? 12 [GPS] Send module config: detection sensor
DEBUG | ??:??:?? 12 [GPS] Send module config: paxcounter
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0xded32d10, lastseen=1749586130, id=!ded 32d10, name=(######) BLKOutCOmm (Solar Node 1)
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0xc5448346, lastseen=1749586062, id=!c54 48346, name=BugEye Mobile
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0xd0add7e2, lastseen=0, id=!d0add7e2, na me=Sandman224
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0x25c285b8, lastseen=1749586219, id=!25c 285b8, name=Collar
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0x32e0ba00, lastseen=0, id=!32e0ba00, na me=BTS Muzi Grey
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0xa2e1bca8, lastseen=1749581046, id=!a2e 1bca8, name=Racoon Party
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0x481b5fa5, lastseen=1749585963, id=!481 b5fa5, name=(######) BLKOutCOmm (Solar Node 2)
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0xda289cbe, lastseen=1749581415, id=!da2 89cbe, name=GeorgeNada
DEBUG | ??:??:?? 12 [GPS] Send known nodes
INFO | ??:??:?? 12 [GPS] nodeinfo: num=0x76b45a70, lastseen=0, id=!76b45a70, na me=Meshtastic 5a70
DEBUG | ??:??:?? 13 [GPS] Send known nodes
INFO | ??:??:?? 13 [GPS] nodeinfo: num=0xd83fece4, lastseen=0, id=!d83fece4, na me=K_Galahad
DEBUG | ??:??:?? 13 [GPS] Send known nodes
INFO | ??:??:?? 13 [GPS] nodeinfo: num=0x43b3da63, lastseen=0, id=!43b3da63, na me=PULSAR_Station
DEBUG | ??:??:?? 13 [GPS] Send known nodes
INFO | ??:??:?? 13 [GPS] nodeinfo: num=0xd28efdb3, lastseen=0, id=!d28efdb3, na me=BTS Muzi Tan
WARN | ??:??:?? 13 [GPS] No GNSS Module (baudrate 9600)
DEBUG | ??:??:?? 13 [GPS] Probe for GPS at 9600
DEBUG | ??:??:?? 13 [GPS] Send known nodes
DEBUG | ??:??:?? 13 [GPS] Done sending nodeinfo
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_FILEMANIFEST
DEBUG | ??:??:?? 13 [GPS] File: channels.proto (72) bytes
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_FILEMANIFEST
DEBUG | ??:??:?? 13 [GPS] File: device.proto (127) bytes
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_FILEMANIFEST
DEBUG | ??:??:?? 13 [GPS] File: module.proto (94) bytes
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_FILEMANIFEST
DEBUG | ??:??:?? 13 [GPS] File: config.proto (208) bytes
DEBUG | ??:??:?? 13 [GPS] Trying $PDTINFO (Unicore Family)...
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_FILEMANIFEST
DEBUG | ??:??:?? 13 [GPS] File: nodes.proto (1369) bytes
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_FILEMANIFEST
INFO | ??:??:?? 13 [GPS] Config Send Complete
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_PACKETS
INFO | ??:??:?? 13 [GPS] toRadioWriteCb data 0x2001c732, len 41
DEBUG | ??:??:?? 13 [GPS] New ToRadio packet
DEBUG | ??:??:?? 13 [GPS] PACKET FROM PHONE (id=0x6d0f13e4 fr=0x00000000 to=0x3b 402071, WantAck=1, HopLim=7 Ch=0x0 Portnum=6 priority=70)
DEBUG | ??:??:?? 13 [GPS] Enqueued local (id=0x6d0f13e4 fr=0x00000000 to=0x3b402 071, WantAck=1, HopLim=7 Ch=0x0 Portnum=6 priority=70)
DEBUG | ??:??:?? 13 [GPS] FromRadio=STATE_SEND_PACKETS
DEBUG | ??:??:?? 13 [GPS] Trying $PCAS06,1*1A (ATGM33xx Family)...
DEBUG | ??:??:?? 14 [GPS] Trying $PAIR021*39 (Airoha Family)...
DEBUG | ??:??:?? 15 [GPS] Trying $PQTMVERNO*58 (LC86)...
DEBUG | ??:??:?? 15 [GPS] Trying $PCAS06,0*1B (L76K)...
DEBUG | ??:??:?? 16 [GPS] Trying $PMTK605*31 (MTK Family)...
WARN | ??:??:?? 17 [GPS] No GNSS Module (baudrate 9600)
WARN | ??:??:?? 17 [GPS] Give up on GPS probe and set to 9600
Category
Serial
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.6.10.9ce4455 Alpha
Description
I am trying to use an m10q GPS unit from newbeedrone with my Seeed Studio XIAO nRF52840 meshtastic kit. I have enabled the GPS and defined the RX and TX pins correctly as 7 and 6 respectively, and wired them correctly. I have tried changing the default baud rate on the GPS module using u-center 2 to 9600 but it seems that too much data is sent by this GPS unit to comfortably work at 9600 baud although it did accept the setting when I changed it. U center reports that the baud rate is too low (shocker) at 9600 which is why I would like to run the GPS at 115200 but the initialization sequence is not attempting to probe at that baud rate to detect the GPS.
Looking through the GPS.cpp file, and some other logs that people have posted, I see that the startup sequence is supposed to probe for GPS at multiple baud rates. However I am not seeing this behavior in the device logs as it only ever reports it is probing at 9600 and fails to detect the GPS. I wonder if this is due to a board configuration that locks the GPS baud rate to 9600? There is a L76K module that is sold by Seeed Studio specifically for use with the Xiao, which runs at 9600 baud.
I also have tried this on the latest beta release with the same results.
Relevant log output