Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: RAK4631 Shutting down after updating Firmware to 2.2.21.7f7c5cb #3218

Closed
vinodcombat opened this issue Feb 12, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@vinodcombat
Copy link

Category

Hardware Compatibility

Hardware

Rak4631

Firmware Version

2.2.21.7f7c5cb

Description

The device keeps shutting down and restarting after erasing the flash with nrf_erase2 and flashing latest firmware. I could replicate the same issue on two different hardware.

Relevant log output

@INFO  | ??:??:?? 4 

//\ E S H T /\ S T / C

DEBUG | ??:??:?? 4 Filesystem files:
DEBUG | ??:??:?? 4  db.proto (127 Bytes)
DEBUG | ??:??:?? 4  channels.proto (53 Bytes)
DEBUG | ??:??:?? 4  config.proto (87 Bytes)
DEBUG | ??:??:?? 4  module.proto (113 Bytes)
DEBUG | ??:??:?? 4 Using analog input 5 for battery level
INFO  | ??:??:?? 4 Scanning for i2c devices...
DEBUG | ??:??:?? 4 Scanning for i2c devices on port 1
DEBUG | ??:??:?? 4 I2C device found at address 0x3c
INFO  | ??:??:?? 4 ssd1306 display found
INFO  | ??:??:?? 4 ssd1306 display found
DEBUG | ??:??:?? 4 0x3 subtype probed in 2 tries 
INFO  | ??:??:?? 4 1 I2C devices found
DEBUG | ??:??:?? 4 acc_info = 0
INFO  | ??:??:?? 4 Meshtastic hwvendor=9, swver=2.2.21.7f7c5cb
DEBUG | ??:??:?? 4 Reset reason: 0x0
DEBUG | ??:??:?? 4 Setting random seed 1445246187
INFO  | ??:??:?? 4 Initializing NodeDB
INFO  | ??:??:?? 4 Loading /prefs/db.proto
INFO  | ??:??:?? 4 Loaded saved devicestate version 22
INFO  | ??:??:?? 4 Loading /prefs/config.proto
INFO  | ??:??:?? 4 Loaded saved config version 22
INFO  | ??:??:?? 4 Loading /prefs/module.proto
INFO  | ??:??:?? 4 Loaded saved moduleConfig version 22
INFO  | ??:??:?? 4 Loading /prefs/channels.proto
INFO  | ??:??:?? 4 Loaded saved channelFile version 22
INFO  | ??:??:?? 4 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 4 cleanupMeshDB purged 0 entries
WARN  | ??:??:?? 4 Using nodenum 0x475bcb9e 
DEBUG | ??:??:?? 4 Expanding short PSK #1
INFO  | ??:??:?? 4 Wanted region 10, using IN
DEBUG | ??:??:?? 4 region=10, NODENUM=0x475bcb9e, dbsize=1
INFO  | ??:??:?? 4 Setting GPS power=1
DEBUG | ??:??:?? 4 WANT GPS=1
INFO  | ??:??:?? 4 Setting GPS power=1
DEBUG | ??:??:?? 4 NeighborInfoModule is disabled
INFO  | ??:??:?? 4 No /prefs/ringtone.proto preferences found
INFO  | ??:??:?? 4 Initializing External Notification Module
INFO  | ??:??:?? 4 Using Pin 36 in digital mode
INFO  | ??:??:?? 4 Turning on screen
DEBUG | ??:??:?? 4 Module wants a UI Frame
WARN  | ??:??:?? 4 SX126xInterface(cs=42, irq=47, rst=38, busy=46)
DEBUG | ??:??:?? 4 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO  | ??:??:?? 4 Starting meshradio init...
DEBUG | ??:??:?? 4 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 4 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO  | ??:??:?? 4 Radio freq=865.875, config.lora.frequency_offset=0.000
INFO  | ??:??:?? 4 Set radio: region=IN, name=LongFast, config=0, ch=3, power=30
INFO  | ??:??:?? 4 Radio myRegion->freqStart -> myRegion->freqEnd: 865.000000 -> 867.000000 (2.000000 mhz)
INFO  | ??:??:?? 4 Radio myRegion->numChannels: 8 x 250.000kHz
INFO  | ??:??:?? 4 Radio channel_num: 4
INFO  | ??:??:?? 4 Radio frequency: 865.875000
INFO  | ??:??:?? 4 Slot time: 42 msec
INFO  | ??:??:?? 4 Set radio: final power level=22
INFO  | ??:??:?? 4 SX126x init result 0
INFO  | ??:??:?? 4 Frequency set to 865.875000
INFO  | ??:??:?? 4 Bandwidth set to 250.000000
INFO  | ??:??:?? 4 Power output set to 22
DEBUG | ??:??:?? 4 Current limit set to 140.000000
DEBUG | ??:??:?? 4 Current limit set result 0
DEBUG | ??:??:?? 4 Setting DIO2 as RF switch
DEBUG | ??:??:?? 4 SX126X_RXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 4 SX126X_TXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 4 Using MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO  | ??:??:?? 4 Set RX gain to boosted mode; result: 0
INFO  | ??:??:?? 4 SX1262 Radio init succeeded, using SX1262 radio
INFO  | ??:??:?? 4 Not using Ethernet
DEBUG | ??:??:?? 4 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=237, time 2000 ms
DEBUG | ??:??:?? 4 LoRA bitrate = 118.500000 bytes / sec
INFO  | ??:??:?? 4 PowerFSM init, USB power=1
DEBUG | ??:??:?? 4 Enter state: BOOT
DEBUG | ??:??:?? 4 [Power] Battery: usbPower=1, isCharging=1, batMv=0, batPct=0
DEBUG | ??:??:?? 4 [Screen] Screen: Started...
DEBUG | ??:??:?? 4 [GPS] Since no problematic peripherals or interested modules were found, setting power save GPS_EN to pin 34
DEBUG | ??:??:?? 4 [GPS] Probing for GPS at 9600 
INFO  | ??:??:?? 5 [GPS] Found a UBlox Module using baudrate 9600
DEBUG | ??:??:?? 5 [GPS] Module Info : 
DEBUG | ??:??:?? 5 [GPS] Soft version: 1.00 (59842)
DEBUG | ??:??:?? 5 [GPS] Hard version: 00070000
DEBUG | ??:??:?? 5 [GPS] Extensions:2
DEBUG | ??:??:?? 5 [GPS]   PROTVER 14.00
DEBUG | ??:??:?? 5 [GPS]   GPS;SBAS;GLO;QZSS
DEBUG | ??:??:?? 5 [GPS] Protocol Version:14.00
DEBUG | ??:??:?? 5 [GPS] ProtVer=14
DEBUG | ??:??:?? 5 [GPS] Setting GPS+SBAS
INFO  | ??:??:?? 5 [GPS] GNSS configured for GPS+SBAS. Pause for 0.75s before sending next command.
INFO  | ??:??:?? 6 [GPS] GNSS module configuration saved!
INFO  | ??:??:?? 6 [RangeTestModule] Range Test Module - Disabled
DEBUG | ??:??:?? 7 [GPS] publishing pos@0:2, hasVal=0, Sats=0, GPSlock=0
DEBUG | ??:??:?? 7 [GPS] No GPS lock
DEBUG | ??:??:?? 7 [GPS] onGPSChanged() pos@0, time=0, lat=0, lon=0, alt=0
INFO  | ??:??:?? 7 [GPS] updatePosition LOCAL pos@0, time=0, latI=0, lonI=0, alt=0
DEBUG | ??:??:?? 7 [GPS] Setting local position: latitude=0, longitude=0, time=0
DEBUG | ??:??:?? 7 [GPS] Node status update: 1 online, 1 total
INFO  | ??:??:?? 7 [PowerFSM] Initialize the Bluefruit nRF52 module
INFO  | ??:??:?? 7 [PowerFSM] Bluetooth pin set to '981672'
INFO  | ??:??:?? 7 [PowerFSM] Configuring the Device Information Service
INFO  | ??:??:?? 7 [PowerFSM] Configuring the Battery Service
INFO  | ??:??:?? 7 [PowerFSM] Configuring the Mesh bluetooth service
INFO  | ??:??:?? 7 [PowerFSM] Setting up the advertising payload(s)
INFO  | ??:??:?? 7 [PowerFSM] Advertising
INFO  | ??:??:?? 9 [Screen] Done with boot screen...
DEBUG | ??:??:?? 9 [Screen] showing standard frames
DEBUG | ??:??:?? 9 [Screen] Showing 0 module frames
DEBUG | ??:??:?? 9 [Screen] Total frame count: 103
DEBUG | ??:??:?? 9 [Screen] Added modules.  numframes: 0
DEBUG | ??:??:?? 9 [Screen] Finished building frames. numframes: 2
DEBUG | ??:??:?? 24 [Power] Battery: usbPower=1, isCharging=1, batMv=4247, batPct=100
INFO  | ??:??:?? 34 [NodeInfoModule] Sending our nodeinfo to mesh (wantReplies=1)
INFO  | ??:??:?? 34 [NodeInfoModule] sending owner !475bcb9e/Meshtastic cb9e/cb9e
DEBUG | ??:??:?? 34 [NodeInfoModule] Initial packet id 1119057566, numPacketId 4294967295
DEBUG | ??:??:?? 34 [NodeInfoModule] Update DB node 0x475bcb9e, rx_time=0
DEBUG | ??:??:?? 34 [NodeInfoModule] handleReceived(LOCAL) (id=0x42b376a0 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=4 WANTRESP priority=10)
DEBUG | ??:??:?? 34 [NodeInfoModule] No modules interested in portnum=4, src=LOCAL
DEBUG | ??:??:?? 34 [NodeInfoModule] localSend to channel 0
DEBUG | ??:??:?? 34 [NodeInfoModule] Add packet record (id=0x42b376a0 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=4 WANTRESP priority=10)
DEBUG | ??:??:?? 34 [NodeInfoModule] Expanding short PSK #1
DEBUG | ??:??:?? 34 [NodeInfoModule] Using AES128 key!
DEBUG | ??:??:?? 34 [NodeInfoModule] nRF52 encrypt fr=475bcb9e, num=42b376a0, numBytes=50!
DEBUG | ??:??:?? 34 [NodeInfoModule] enqueuing for send (id=0x42b376a0 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=10)
DEBUG | ??:??:?? 34 [NodeInfoModule] txGood=0,rxGood=0,rxBad=0
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
WARN  | ??:??:?? 34 [RadioIf] Can not send yet, busyRx
DEBUG | ??:??:?? 34 [RadioIf] Ignore false preamble detection.
DEBUG | ??:??:?? 34 [RadioIf] Starting low level send (id=0x42b376a0 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=10)
DEBUG | ??:??:?? 34 [RadioIf] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=66, time 722 ms
DEBUG | ??:??:?? 34 [RadioIf] AirTime - Packet transmitted : 722ms
DEBUG | ??:??:?? 35 [RadioIf] Completed sending (id=0x42b376a0 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=10)
DEBUG | ??:??:?? 42 [Button] Long press stop!
DEBUG | ??:??:?? 44 [Power] Battery: usbPower=1, isCharging=1, batMv=4266, batPct=100
DEBUG | ??:??:?? 48 [Button] Long press start!
INFO  | ??:??:?? 49 [DeviceTelemetryModule] (Sending): air_util_tx=0.020056, channel_utilization=1.203333, battery_level=101, voltage=4.266000
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] updateTelemetry LOCAL
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Node status update: 1 online, 1 total
INFO  | ??:??:?? 49 [DeviceTelemetryModule] Sending packet to mesh
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Update DB node 0x475bcb9e, rx_time=0
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] handleReceived(LOCAL) (id=0x42b376a1 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 priority=1)
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] No modules interested in portnum=67, src=LOCAL
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] localSend to channel 0
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Add packet record (id=0x42b376a1 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 priority=1)
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Expanding short PSK #1
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Using AES128 key!
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] nRF52 encrypt fr=475bcb9e, num=42b376a1, numBytes=28!
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] enqueuing for send (id=0x42b376a1 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=1)
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] txGood=1,rxGood=0,rxBad=0
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Using channel 0 (hash 0x8)
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Expanding short PSK #1
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] Using AES128 key!
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] nRF52 encrypt fr=475bcb9e, num=42b376a1, numBytes=28!
DEBUG | ??:??:?? 49 [DeviceTelemetryModule] decoded message (id=0x42b376a1 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 priority=1)
DEBUG | ??:??:?? 49 [RadioIf] Starting low level send (id=0x42b376a1 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=1)
DEBUG | ??:??:?? 49 [RadioIf] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=44, time 559 ms
DEBUG | ??:??:?? 49 [RadioIf] AirTime - Packet transmitted : 559ms
DEBUG | ??:??:?? 50 [RadioIf] Completed sending (id=0x42b376a1 fr=0x9e to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=1)
INFO  | ??:??:?? 53 [Button] Shutdown from long pressshowing shutdown screen
DEBUG | ??:??:?? 63 [Button] Long press stop!
INFO  | ??:??:?? 66 [Button] Turning off screen
INFO  | ??:??:?? 66 [Button] Shutting down
INFO  | ??:??:?? 66 [Button] Entering deep sleep forever
INFO  | ??:??:?? 66 [Button] Disable NRF52 bluetooth
DEBUG | ??:??:?? 66 [Button] SX126x entering sleep mode (FIXME, don't keep config)
INFO  | ??:??:?? 66 [Button] GPS deep sleep!
DEBUG | ??:??:?? 66 [Button] WANT GPS=0
DEBUG | ??:??:?? 66 [Button] GPS Lock took 61, average 0
INFO  | ??:??:?? 66 [Button] Setting GPS power=0
DEBUG | ??:??:?? 66 [Button] Sleep Time: 120000
INFO  | ??:??:?? 66 [Button] Saving /prefs/db.proto
INFO  | ??:??:?? 67 [Button] Saving /prefs/config.proto
INFO  | ??:??:?? 68 [Button] Saving /prefs/module.proto
INFO  | ??:??:?? 68 [Button] Saving /prefs/channels.proto
INFO  | ??:??:?? 69 [Button] Setting GPS power=0
DEBUG | ??:??:?? 6
@vinodcombat vinodcombat added the bug Something isn't working label Feb 12, 2024
@mverch67
Copy link
Collaborator

I would be interested if this also happens in 2.2.22. Could you check please?

@vinodcombat
Copy link
Author

I would be interested if this also happens in 2.2.22. Could you check please?

The same issue persists with 2.2.22.404d0dd.

Log
@INFO | ??:??:?? 1

//\ E S H T /\ S T / C

DEBUG | ??:??:?? 1 Filesystem files:
DEBUG | ??:??:?? 1 db.proto (118 Bytes)
DEBUG | ??:??:?? 2 channels.proto (53 Bytes)
DEBUG | ??:??:?? 2 config.proto (87 Bytes)
DEBUG | ??:??:?? 2 module.proto (112 Bytes)
DEBUG | ??:??:?? 2 Using analog input 5 for battery level
INFO | ??:??:?? 2 Scanning for i2c devices...
DEBUG | ??:??:?? 2 Scanning for i2c devices on port 1
DEBUG | ??:??:?? 2 I2C device found at address 0x3c
INFO | ??:??:?? 2 ssd1306 display found
INFO | ??:??:?? 2 ssd1306 display found
DEBUG | ??:??:?? 2 0x3 subtype probed in 2 tries
INFO | ??:??:?? 2 1 I2C devices found
DEBUG | ??:??:?? 2 acc_info = 0
INFO | ??:??:?? 2 Meshtastic hwvendor=9, swver=2.2.22.404d0dd
DEBUG | ??:??:?? 2 Reset reason: 0x0
DEBUG | ??:??:?? 2 Setting random seed 3412343872
INFO | ??:??:?? 2 Initializing NodeDB
INFO | ??:??:?? 2 Loading /prefs/db.proto
INFO | ??:??:?? 2 Loaded saved devicestate version 22
INFO | ??:??:?? 2 Loading /prefs/config.proto
INFO | ??:??:?? 2 Loaded saved config version 22
INFO | ??:??:?? 2 Loading /prefs/module.proto
INFO | ??:??:?? 2 Loaded saved moduleConfig version 22
INFO | ??:??:?? 2 Loading /prefs/channels.proto
INFO | ??:??:?? 2 Loaded saved channelFile version 22
INFO | ??:??:?? 2 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 2 cleanupMeshDB purged 0 entries
WARN | ??:??:?? 2 Using nodenum 0xba1a41d3
DEBUG | ??:??:?? 2 Expanding short PSK #1
INFO | ??:??:?? 2 Wanted region 10, using IN
DEBUG | ??:??:?? 2 region=10, NODENUM=0xba1a41d3, dbsize=1
INFO | ??:??:?? 2 Setting GPS power=1
DEBUG | ??:??:?? 2 WANT GPS=1
INFO | ??:??:?? 2 Setting GPS power=1
DEBUG | ??:??:?? 2 NeighborInfoModule is disabled
INFO | ??:??:?? 2 No /prefs/ringtone.proto preferences found
INFO | ??:??:?? 2 Initializing External Notification Module
INFO | ??:??:?? 2 Using Pin 36 in digital mode
INFO | ??:??:?? 2 Turning on screen
DEBUG | ??:??:?? 2 Module wants a UI Frame
WARN | ??:??:?? 2 SX126xInterface(cs=42, irq=47, rst=38, busy=46)
DEBUG | ??:??:?? 2 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO | ??:??:?? 2 Starting meshradio init...
DEBUG | ??:??:?? 2 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 2 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO | ??:??:?? 2 Radio freq=865.875, config.lora.frequency_offset=0.000
INFO | ??:??:?? 2 Set radio: region=IN, name=LongFast, config=0, ch=3, power=30
INFO | ??:??:?? 2 Radio myRegion->freqStart -> myRegion->freqEnd: 865.000000 -> 867.000000 (2.000000 mhz)
INFO | ??:??:?? 2 Radio myRegion->numChannels: 8 x 250.000kHz
INFO | ??:??:?? 2 Radio channel_num: 4
INFO | ??:??:?? 2 Radio frequency: 865.875000
INFO | ??:??:?? 2 Slot time: 42 msec
INFO | ??:??:?? 2 Set radio: final power level=22
INFO | ??:??:?? 2 SX126x init result 0
INFO | ??:??:?? 2 Frequency set to 865.875000
INFO | ??:??:?? 2 Bandwidth set to 250.000000
INFO | ??:??:?? 2 Power output set to 22
DEBUG | ??:??:?? 2 Current limit set to 140.000000
DEBUG | ??:??:?? 2 Current limit set result 0
DEBUG | ??:??:?? 2 Setting DIO2 as RF switch
DEBUG | ??:??:?? 2 SX126X_RXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 2 SX126X_TXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 2 Using MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO | ??:??:?? 2 Set RX gain to boosted mode; result: 0
INFO | ??:??:?? 2 SX1262 Radio init succeeded, using SX1262 radio
INFO | ??:??:?? 2 Not using Ethernet
DEBUG | ??:??:?? 2 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=237, time 2000 ms
DEBUG | ??:??:?? 2 LoRA bitrate = 118.500000 bytes / sec
INFO | ??:??:?? 2 PowerFSM init, USB power=1
DEBUG | ??:??:?? 2 Enter state: BOOT
DEBUG | ??:??:?? 2 [Power] Battery: usbPower=1, isCharging=1, batMv=0, batPct=0
DEBUG | ??:??:?? 2 [Screen] Screen: Started...
DEBUG | ??:??:?? 2 [GPS] Since no problematic peripherals or interested modules were found, setting power save GPS_EN to pin 34
DEBUG | ??:??:?? 2 [GPS] Probing for GPS at 9600
INFO | ??:??:?? 3 [GPS] Found a UBlox Module using baudrate 9600
DEBUG | ??:??:?? 3 [GPS] Module Info :
DEBUG | ??:??:?? 3 [GPS] Soft version: 1.00 (59842)
DEBUG | ??:??:?? 3 [GPS] Hard version: 00070000
DEBUG | ??:??:?? 3 [GPS] Extensions:2
DEBUG | ??:??:?? 3 [GPS] PROTVER 14.00
DEBUG | ??:??:?? 3 [GPS] GPS;SBAS;GLO;QZSS
DEBUG | ??:??:?? 3 [GPS] Protocol Version:14.00
DEBUG | ??:??:?? 3 [GPS] ProtVer=14
DEBUG | ??:??:?? 3 [GPS] Setting GPS+SBAS
INFO | ??:??:?? 3 [GPS] GNSS configured for GPS+SBAS. Pause for 0.75s before sending next command.
INFO | ??:??:?? 4 [GPS] GNSS module configuration saved!
INFO | ??:??:?? 4 [RangeTestModule] Range Test Module - Disabled
DEBUG | ??:??:?? 5 [GPS] publishing pos@0:2, hasVal=0, Sats=0, GPSlock=0
DEBUG | ??:??:?? 5 [GPS] No GPS lock
DEBUG | ??:??:?? 5 [GPS] onGPSChanged() pos@0, time=0, lat=0, lon=0, alt=0
INFO | ??:??:?? 5 [GPS] updatePosition LOCAL pos@0, time=0, latI=0, lonI=0, alt=0
DEBUG | ??:??:?? 5 [GPS] Setting local position: latitude=0, longitude=0, time=0
DEBUG | ??:??:?? 5 [GPS] Node status update: 1 online, 1 total
INFO | ??:??:?? 5 [PowerFSM] Initialize the Bluefruit nRF52 module
INFO | ??:??:?? 5 [PowerFSM] Bluetooth pin set to '443763'
INFO | ??:??:?? 5 [PowerFSM] Configuring the Device Information Service
INFO | ??:??:?? 5 [PowerFSM] Configuring the Battery Service
INFO | ??:??:?? 5 [PowerFSM] Configuring the Mesh bluetooth service
INFO | ??:??:?? 5 [PowerFSM] Setting up the advertising payload(s)
INFO | ??:??:?? 5 [PowerFSM] Advertising
INFO | ??:??:?? 7 [Screen] Done with boot screen...
DEBUG | ??:??:?? 7 [Screen] showing standard frames
DEBUG | ??:??:?? 7 [Screen] Showing 0 module frames
DEBUG | ??:??:?? 7 [Screen] Total frame count: 103
DEBUG | ??:??:?? 7 [Screen] Added modules. numframes: 0
DEBUG | ??:??:?? 7 [Screen] Finished building frames. numframes: 2
DEBUG | ??:??:?? 22 [Power] Battery: usbPower=1, isCharging=1, batMv=4265, batPct=100
INFO | ??:??:?? 32 [NodeInfoModule] Sending our nodeinfo to mesh (wantReplies=1)
INFO | ??:??:?? 32 [NodeInfoModule] sending owner !ba1a41d3/Meshtastic 41d3/41d3
DEBUG | ??:??:?? 32 [NodeInfoModule] Initial packet id 1854119955, numPacketId 4294967295
DEBUG | ??:??:?? 32 [NodeInfoModule] Update DB node 0xba1a41d3, rx_time=0
DEBUG | ??:??:?? 32 [NodeInfoModule] handleReceived(LOCAL) (id=0x6e83a015 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=4 WANTRESP priority=10)
DEBUG | ??:??:?? 32 [NodeInfoModule] No modules interested in portnum=4, src=LOCAL
DEBUG | ??:??:?? 32 [NodeInfoModule] localSend to channel 0
DEBUG | ??:??:?? 32 [NodeInfoModule] Add packet record (id=0x6e83a015 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=4 WANTRESP priority=10)
DEBUG | ??:??:?? 32 [NodeInfoModule] Expanding short PSK #1
DEBUG | ??:??:?? 32 [NodeInfoModule] Using AES128 key!
DEBUG | ??:??:?? 32 [NodeInfoModule] nRF52 encrypt fr=ba1a41d3, num=6e83a015, numBytes=50!
DEBUG | ??:??:?? 32 [NodeInfoModule] enqueuing for send (id=0x6e83a015 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=10)
DEBUG | ??:??:?? 32 [NodeInfoModule] txGood=0,rxGood=0,rxBad=0
DEBUG | ??:??:?? 32 [RadioIf] Starting low level send (id=0x6e83a015 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=10)
DEBUG | ??:??:?? 32 [RadioIf] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=66, time 722 ms
DEBUG | ??:??:?? 32 [RadioIf] AirTime - Packet transmitted : 722ms
DEBUG | ??:??:?? 33 [RadioIf] Completed sending (id=0x6e83a015 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=10)
DEBUG | ??:??:?? 40 [Button] Long press stop!
DEBUG | ??:??:?? 42 [Power] Battery: usbPower=1, isCharging=1, batMv=4265, batPct=100
DEBUG | ??:??:?? 46 [Button] Long press start!
INFO | ??:??:?? 47 [DeviceTelemetryModule] (Sending): air_util_tx=0.020056, channel_utilization=1.203333, battery_level=101, voltage=4.265000
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] updateTelemetry LOCAL
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Node status update: 1 online, 1 total
INFO | ??:??:?? 47 [DeviceTelemetryModule] Sending packet to mesh
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Update DB node 0xba1a41d3, rx_time=0
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] handleReceived(LOCAL) (id=0x6e83a016 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 priority=1)
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] No modules interested in portnum=67, src=LOCAL
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] localSend to channel 0
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Add packet record (id=0x6e83a016 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 priority=1)
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Expanding short PSK #1
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Using AES128 key!
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] nRF52 encrypt fr=ba1a41d3, num=6e83a016, numBytes=28!
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] enqueuing for send (id=0x6e83a016 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=1)
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] txGood=1,rxGood=0,rxBad=0
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Using channel 0 (hash 0x8)
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Expanding short PSK #1
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] Using AES128 key!
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] nRF52 encrypt fr=ba1a41d3, num=6e83a016, numBytes=28!
DEBUG | ??:??:?? 47 [DeviceTelemetryModule] decoded message (id=0x6e83a016 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x0 Portnum=67 priority=1)
DEBUG | ??:??:?? 47 [RadioIf] Starting low level send (id=0x6e83a016 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=1)
DEBUG | ??:??:?? 47 [RadioIf] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=44, time 559 ms
DEBUG | ??:??:?? 47 [RadioIf] AirTime - Packet transmitted : 559ms
DEBUG | ??:??:?? 48 [RadioIf] Completed sending (id=0x6e83a016 fr=0xd3 to=0xff, WantAck=0, HopLim=3 Ch=0x8 encrypted priority=1)
INFO | ??:??:?? 51 [Button] Shutdown from long pressshowing shutdown screen
DEBUG | ??:??:?? 57 [GPS] NMEA GPS time 2024-02-12 22:04:21
DEBUG | ??:??:?? 57 [GPS] Upgrading time to quality 4
DEBUG | 22:04:21 57 [GPS] publishing pos@0:2, hasVal=0, Sats=0, GPSlock=0
DEBUG | 22:04:21 57 [GPS] onGPSChanged() pos@0, time=1707775461, lat=0, lon=0, alt=0
INFO | 22:04:21 57 [GPS] updatePosition LOCAL pos@0, time=1707775461, latI=0, lonI=0, alt=0
DEBUG | 22:04:21 57 [GPS] Setting local position: latitude=0, longitude=0, time=1707775461
DEBUG | 22:04:21 57 [GPS] Node status update: 1 online, 1 total
DEBUG | 22:04:24 60 [Button] Long press stop!
INFO | 22:04:27 63 [Button] Turning off screen
INFO | 22:04:27 63 [Button] Shutting down
INFO | 22:04:27 63 [Button] Entering deep sleep forever
INFO | 22:04:27 63 [Button] Disable NRF52 bluetooth
DEBUG | 22:04:27 63 [Button] SX126x entering sleep mode (FIXME, don't keep config)
INFO | 22:04:27 63 [Button] GPS deep sleep!
DEBUG | 22:04:27 63 [Button] WANT GPS=0
DEBUG | 22:04:27 63 [Button] GPS Lock took 61, average 0
INFO | 22:04:27 63 [Button] Setting GPS power=0
DEBUG | 22:04:27 63 [Button] Sleep Time: 120000
DEBUG | 22:04:27 63 [Button] Long press stop!

@mverch67
Copy link
Collaborator

There seems to be an issue with your button that leads to a shutdown ... do you have the RAK in a tight enclosure that presses against the button?

@vinodcombat
Copy link
Author

vinodcombat commented Feb 12, 2024

I guess I found the issue. The issue is occurring with Wis Block Base board RAK19007 and GPS Module RAK1910 on Slot D of base board. Switching the gps module from Slot D to Slot A resolved the issue. Previous firmware detected gps module in slot D without any problem.

@thebentern thebentern closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants