Closed vinodcombat closed 6 months ago
I would be interested if this also happens in 2.2.22. Could you check please?
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!
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?
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.
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