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]: In the ROUTER role, the device reboots instead of waking up the CPU #3391

Closed
Holyszewski opened this issue Mar 12, 2024 · 2 comments · Fixed by #3405
Closed

[Bug]: In the ROUTER role, the device reboots instead of waking up the CPU #3391

Holyszewski opened this issue Mar 12, 2024 · 2 comments · Fixed by #3405
Assignees
Labels
bug Something isn't working

Comments

@Holyszewski
Copy link

Category

Other

Hardware

Heltec V3

Firmware Version

2.3.0.5f47ca1

Description

Hi, this is my first bug report, so please be forgiving of any newbie imperfections.

When I set my Heltec v3 to the ROUTER role, it stops working correctly. The RF module should wake up the sleeping CPU when a message arrives, but instead of waking up, the CPU always reboots.
I attached the log, note especially the lines:
INFO | ??:??:?? 0 Booted, wake cause 3 (boot count 4), reset_reason=ext1 RTC_CNTL
INFO | ??:??:?? 0 Booted, wake cause 2 (boot count 5), reset_reason=ext0 RTC_IO
E (9200) RTCIO: rtc_gpio_isolate(171): RTCIO number error
The problem is manifested in firmware versions 2.2.24 and 2.3.0. In previous versions 2.2.23 and 2.2.22 it works as it should.

Relevant log output

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x5 (DSLEEP),boot:0x8 (SPI_FAST_FLASH_BOOT)
pro cpu reset by JTAG
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a38
entry 0x403c98d4
E (44) esp_core_dump_flash: No core dump partition found!
E (44) esp_core_dump_flash: No core dump partition found!
”Ă �@�INFO  | ??:??:?? 0 

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

INFO  | ??:??:?? 0 Booted, wake cause 3 (boot count 4), reset_reason=ext1 RTC_CNTL
DEBUG | ??:??:?? 0 Filesystem files (524288/1048576 Bytes):
DEBUG | ??:??:?? 0  /prefs/channels.proto (57 Bytes)
DEBUG | ??:??:?? 0  /prefs/config.proto (95 Bytes)
DEBUG | ??:??:?? 0  /prefs/db.proto (204 Bytes)
DEBUG | ??:??:?? 0  /prefs/module.proto (104 Bytes)
DEBUG | ??:??:?? 0  /static/.gitkeep (0 Bytes)
DEBUG | ??:??:?? 0  /static/Logo_Black.svg.gz (602 Bytes)
DEBUG | ??:??:?? 0  /static/Logo_White.svg.gz (610 Bytes)
DEBUG | ??:??:?? 0  /static/apple-touch-icon.png.gz (3164 Bytes)
DEBUG | ??:??:?? 0  /static/favicon.ico.gz (2270 Bytes)
DEBUG | ??:??:?? 0  /static/icon.svg.gz (852 Bytes)
DEBUG | ??:??:?? 0  /static/index-CGqDWSD_.js.gz (348 Bytes)
DEBUG | ??:??:?? 0  /static/index-CcvK1znC.css.gz (16231 Bytes)
DEBUG | ??:??:?? 0  /static/index-siIur9KN.js.gz (234592 Bytes)
DEBUG | ??:??:?? 0  /static/index.html.gz (547 Bytes)
DEBUG | ??:??:?? 0  /static/maplibre-gl-BS7WETSR.js.gz (209824 Bytes)
DEBUG | ??:??:?? 0  /static/robots.txt.gz (42 Bytes)
DEBUG | ??:??:?? 0  /static/site.webmanifest.gz (197 Bytes)
[   436][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=41 scl=42 freq=100000
[   438][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=17 scl=18 freq=100000
DEBUG | ??:??:?? 0 Using analog input 1 for battery level
INFO  | ??:??:?? 0 ADCmod: ADC Characterization based on Two Point values and fitting curve coefficients stored in eFuse
INFO  | ??:??:?? 0 Scanning for i2c devices...
[   470][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
DEBUG | ??:??:?? 0 Scanning for i2c devices on port 2
[   499][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
DEBUG | ??:??:?? 0 Scanning for i2c devices on port 1
DEBUG | ??:??:?? 0 I2C device found at address 0x3c
INFO  | ??:??:?? 0 ssd1306 display found
INFO  | ??:??:?? 0 ssd1306 display found
DEBUG | ??:??:?? 0 0x3 subtype probed in 2 tries 
INFO  | ??:??:?? 0 1 I2C devices found
DEBUG | ??:??:?? 0 acc_info = 0
INFO  | ??:??:?? 0 Meshtastic hwvendor=43, swver=2.3.0.5f47ca1
DEBUG | ??:??:?? 0 Setting random seed 3751319868
DEBUG | ??:??:?? 0 Total heap: 279368
DEBUG | ??:??:?? 0 Free heap: 242872
DEBUG | ??:??:?? 0 Total PSRAM: 0
DEBUG | ??:??:?? 0 Free PSRAM: 0
DEBUG | ??:??:?? 0 NVS: UsedEntries 86, FreeEntries 544, AllEntries 630, NameSpaces 3
DEBUG | ??:??:?? 0 Setup Preferences in Flash Storage
DEBUG | ??:??:?? 0 Number of Device Reboots: 6
DEBUG | ??:??:?? 0 OTA firmware version 0.2.1.33451a5
INFO  | ??:??:?? 0 Initializing NodeDB
INFO  | ??:??:?? 0 Loading /prefs/db.proto
INFO  | ??:??:?? 0 Loaded saved devicestate version 22
INFO  | ??:??:?? 0 Loading /prefs/config.proto
INFO  | ??:??:?? 0 Loaded saved config version 22
INFO  | ??:??:?? 0 Loading /prefs/module.proto
INFO  | ??:??:?? 0 Loaded saved moduleConfig version 22
INFO  | ??:??:?? 0 Loading /prefs/channels.proto
INFO  | ??:??:?? 0 Loaded saved channelFile version 22
[   702][E][vfs_api.cpp:105] open(): /littlefs/oem/oem.proto does not exist, no permits for creation
INFO  | ??:??:?? 0 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 0 cleanupMeshDB purged 0 entries
WARN  | ??:??:?? 0 Using nodenum 0xda5694ec 
DEBUG | ??:??:?? 0 Number of Device Reboots: 6
DEBUG | ??:??:?? 0 Expanding short PSK #1
INFO  | ??:??:?? 0 Wanted region 3, using EU_868
DEBUG | ??:??:?? 0 region=3, NODENUM=0xda5694ec, dbsize=2
INFO  | ??:??:?? 0 Saving /prefs/db.proto
DEBUG | ??:??:?? 1 Using GPIO00 for button
WARN  | ??:??:?? 1 SPI.begin(SCK=9, MISO=11, MOSI=10, NSS=8)
DEBUG | ??:??:?? 1 Read RTC time as 1710264744
DEBUG | ??:??:?? 1 Running without GPS.
DEBUG | ??:??:?? 1 NeighborInfoModule is disabled
INFO  | ??:??:?? 1 External Notification Module Disabled
INFO  | ??:??:?? 1 Turning on screen
DEBUG | ??:??:?? 1 Module wants a UI Frame
WARN  | ??:??:?? 1 SX126xInterface(cs=8, irq=14, rst=12, busy=13)
DEBUG | ??:??:?? 1 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO  | ??:??:?? 1 Starting meshradio init...
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO  | ??:??:?? 1 Radio freq=869.525, config.lora.frequency_offset=0.000
INFO  | ??:??:?? 1 Set radio: region=EU_868, name=LongFast, config=0, ch=0, power=27
INFO  | ??:??:?? 1 Radio myRegion->freqStart -> myRegion->freqEnd: 869.400024 -> 869.650024 (0.250000 mhz)
INFO  | ??:??:?? 1 Radio myRegion->numChannels: 1 x 250.000kHz
INFO  | ??:??:?? 1 Radio channel_num: 1
INFO  | ??:??:?? 1 Radio frequency: 869.525024
INFO  | ??:??:?? 1 Slot time: 42 msec
INFO  | ??:??:?? 1 Set radio: final power level=22
INFO  | ??:??:?? 1 SX126x init result 0
INFO  | ??:??:?? 1 Frequency set to 869.525024
INFO  | ??:??:?? 1 Bandwidth set to 250.000000
INFO  | ??:??:?? 1 Power output set to 22
DEBUG | ??:??:?? 1 Current limit set to 140.000000
DEBUG | ??:??:?? 1 Current limit set result 0
DEBUG | ??:??:?? 1 Setting DIO2 as RF switch
DEBUG | ??:??:?? 1 SX126X_RXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 1 SX126X_TXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 1 Using MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO  | ??:??:?? 1 Set RX gain to boosted mode; result: 0
INFO  | ??:??:?? 1 SX1262 Radio init succeeded, using SX1262 radio
INFO  | ??:??:?? 1 Not using WIFI
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=237, time 2000 ms
DEBUG | ??:??:?? 1 LoRA bitrate = 118.500000 bytes / sec
INFO  | ??:??:?? 1 PowerFSM init, USB power=0
DEBUG | ??:??:?? 1 Enter state: BOOT
[  1290][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 6 = 80 Mhz, APB: 80000000 Hz
DEBUG | ??:??:?? 1 [Power] Battery: usbPower=0, isCharging=0, batMv=3100, batPct=0
DEBUG | ??:??:?? 1 [Screen] Screen: Started...
INFO  | ??:??:?? 1 [RangeTestModule] Range Test Module - Disabled
DEBUG | ??:??:?? 4 [PowerFSM] Enter state: ON
INFO  | ??:??:?? 4 [PowerFSM] Initialise the NimBLE bluetooth module
DEBUG | ??:??:?? 5 [Button] Enter state: ON
INFO  | ??:??:?? 5 BLE authentication complete
INFO  | ??:??:?? 6 [PowerFSM] Turning off screen
DEBUG | ??:??:?? 6 [Button] Enter state: ON
INFO  | ??:??:?? 6 [Screen] Done with boot screen...
INFO  | ??:??:?? 6 [Screen] Turning on screen
DEBUG | ??:??:?? 6 [Screen] showing standard frames
DEBUG | ??:??:?? 6 [Screen] Showing 0 module frames
DEBUG | ??:??:?? 6 [Screen] Total frame count: 103
DEBUG | ??:??:?? 6 [Screen] Added modules.  numframes: 0
DEBUG | ??:??:?? 6 [Screen] Finished building frames. numframes: 3
INFO  | ??:??:?? 7 From Radio onread
INFO  | ??:??:?? 7 To Radio onwrite
INFO  | ??:??:?? 7 Client wants config, nonce=108
INFO  | ??:??:?? 7 Starting API client config
INFO  | ??:??:?? 7 From Radio onread
INFO  | ??:??:?? 7 getFromRadio=STATE_SEND_MY_INFO
DEBUG | ??:??:?? 7 encoding toPhone packet to phone variant=3, 14 bytes
INFO  | ??:??:?? 7 From Radio onread
INFO  | ??:??:?? 7 getFromRadio=STATE_SEND_METADATA
DEBUG | ??:??:?? 7 encoding toPhone packet to phone variant=13, 32 bytes
INFO  | ??:??:?? 7 From Radio onread
INFO  | ??:??:?? 7 getFromRadio=STATE_SEND_NODEINFO
INFO  | ??:??:?? 7 nodeinfo: num=0xda5694ec, lastseen=0, id=!da5694ec, name=Meshtastic 94ec
DEBUG | ??:??:?? 7 encoding toPhone packet to phone variant=4, 71 bytes
INFO  | ??:??:?? 7 From Radio onread
INFO  | ??:??:?? 7 getFromRadio=STATE_SEND_NODEINFO
INFO  | ??:??:?? 7 nodeinfo: num=0xda568990, lastseen=0, id=!da568990, name=Wolf's portable node đź“ź
DEBUG | ??:??:?? 7 encoding toPhone packet to phone variant=4, 64 bytes
INFO  | ??:??:?? 7 [Screen] From Radio onread
INFO  | ??:??:?? 7 [Screen] getFromRadio=STATE_SEND_NODEINFO
INFO  | ??:??:?? 7 [PowerFSM] Done sending nodeinfos
INFO  | ??:??:?? 7 [PowerFSM] getFromRadio=STATE_SEND_CHANNELS
INFO  | ??:??:?? 7 [PowerFSM] Turning off screen
DEBUG | ??:??:?? 7 encoding toPhone packet to phone variant=10, 13 bytes
INFO  | ??:??:?? 7 From Radio onread
INFO  | ??:??:?? 7 getFromRadio=STATE_SEND_CHANNELS
DEBUG | ??:??:?? 7 encoding toPhone packet to phone variant=10, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CHANNELS
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=10, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CHANNELS
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=10, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CHANNELS
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=10, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CHANNELS
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=10, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CHANNELS
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=10, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CHANNELS
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=10, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=5, 13 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=5, 23 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=5, 16 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=5, 20 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=5, 6 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=5, 19 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_CONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=5, 10 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=9, 60 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=9, 4 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=9, 4 bytes
INFO  | ??:??:?? 8 From Radio onread
INFO  | ??:??:?? 8 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 8 encoding toPhone packet to phone variant=9, 4 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 4 bytes
DEBUG | ??:??:?? 9 [Button] Enter state: ON
INFO  | ??:??:?? 9 [Screen] Turning on screen
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 13 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 4 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 4 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 4 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 7 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 14 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 8 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_MODULECONFIG
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=9, 4 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_COMPLETE_ID
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=7, 2 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 9 getFromRadio=STATE_SEND_PACKETS
DEBUG | ??:??:?? 9 encoding toPhone packet to phone variant=11, 6 bytes
INFO  | ??:??:?? 9 From Radio onread
INFO  | ??:??:?? 10 [PowerFSM] Turning off screen
DEBUG | ??:??:?? 10 [Button] Enter state: ON
INFO  | ??:??:?? 10 [Screen] Turning on screen
INFO  | ??:??:?? 11 To Radio onwrite
DEBUG | ??:??:?? 11 [SerialConsole] PACKET FROM PHONE (id=0x9bb9b0e6 fr=0x00 to=0xec, WantAck=0, HopLim=3 Ch=0x0 Portnum=3 priority=10)
DEBUG | ??:??:?? 11 Enqueued local (id=0x9bb9b0e6 fr=0x00 to=0xec, WantAck=0, HopLim=3 Ch=0x0 Portnum=3 priority=10)
DEBUG | ??:??:?? 11 [Router] Add packet record (id=0x9bb9b0e6 fr=0x00 to=0xec, WantAck=0, HopLim=3 Ch=0x0 Portnum=3 priority=10)
DEBUG | ??:??:?? 11 [Router] handleReceived(REMOTE) (id=0x9bb9b0e6 fr=0x00 to=0xec, WantAck=0, HopLim=3 Ch=0x0 Portnum=3 priority=10)
DEBUG | ??:??:?? 11 [Router] Module 'position' wantsPacket=1
INFO  | ??:??:?? 11 [Router] Received position from=0x0, id=0x9bb9b0e6, portnum=3, payloadlen=18
DEBUG | ??:??:?? 11 [Router] Incoming update from MYSELF
DEBUG | ??:??:?? 11 [Router] Setting local position: latitude=492172940, longitude=166323409, time=1710264754
INFO  | ??:??:?? 11 [Router] POSITION node=da5694ec l=18 latI=492172940 lonI=166323409 msl=284 hae=0 geo=0 pdop=0 hdop=0 vdop=0 siv=0 fxq=0 fxt=0 pts=0 time=1710264754
DEBUG | ??:??:?? 11 [Router] Upgrading time to quality 3
DEBUG | 17:32:34 11 [Router] Read RTC time as 1710264754
INFO  | 17:32:34 11 [Router] updatePosition REMOTE node=0xda5694ec time=1710264754, latI=492172940, lonI=166323409
DEBUG | 17:32:34 11 [Router] Node status update: 0 online, 2 total
DEBUG | 17:32:34 11 [Router] showing standard frames
DEBUG | 17:32:34 11 [Router] Showing 0 module frames
DEBUG | 17:32:34 11 [Router] Total frame count: 103
DEBUG | 17:32:34 11 [Router] Added modules.  numframes: 0
DEBUG | 17:32:34 11 [Router] Finished building frames. numframes: 3
DEBUG | 17:32:34 11 [Router] Module 'position' considered
DEBUG | 17:32:34 11 [Router] Module 'routing' wantsPacket=1
INFO  | 17:32:34 11 [Router] Received routing from=0x0, id=0x9bb9b0e6, portnum=3, payloadlen=18
DEBUG | 17:32:34 11 [Router] Routing sniffing (id=0x9bb9b0e6 fr=0x00 to=0xec, WantAck=0, HopLim=3 Ch=0x0 Portnum=3 priority=10)
DEBUG | 17:32:34 11 [Router] Module 'routing' considered
INFO  | 17:32:34 11 Telling client we have new packets 2
INFO  | 17:32:34 11 BLE notify fromNum
INFO  | 17:32:34 11 From Radio onread
INFO  | 17:32:34 11 getFromRadio=STATE_SEND_PACKETS
DEBUG | 17:32:34 11 encoding toPhone packet to phone variant=11, 12 bytes
INFO  | 17:32:34 11 From Radio onread
INFO  | 17:32:34 11 [PowerFSM] Turning off screen
DEBUG | 17:32:34 11 [Button] Enter state: ON
INFO  | 17:32:34 11 [Screen] Turning on screen
INFO  | 17:32:35 13 [PowerFSM] Turning off screen
DEBUG | 17:32:37 15 [PowerFSM] Enter state: SDS
INFO  | 17:32:37 15 [PowerFSM] Entering deep sleep for 86400 seconds
INFO  | 17:32:37 15 [PowerFSM] Disable bluetooth
INFO  | 17:32:37 15 [PowerFSM] Saving /prefs/db.proto
INFO  | 17:32:38 15 [PowerFSM] Saving /prefs/config.proto
INFO  | 17:32:38 15 [PowerFSM] Saving /prefs/module.proto
INFO  | 17:32:38 16 [PowerFSM] Saving /prefs/channels.proto
E (16340) RTCIO: rtc_gpio_isolate(171): RTCIO number error
E (16341) RTCIO: rtc_gpio_isolate(171): RTCIO number error
E (16341) RTCIO: rtc_gpio_isolate(171): RTCIO number error
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x5 (DSLEEP),boot:0x8 (SPI_FAST_FLASH_BOOT)
pro cpu reset by JTAG
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a38
entry 0x403c98d4
E (44) esp_core_dump_flash: No core dump partition found!
E (44) esp_core_dump_flash: No core dump partition found!
”Ă �@�INFO  | ??:??:?? 0 

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

INFO  | ??:??:?? 0 Booted, wake cause 2 (boot count 5), reset_reason=ext0 RTC_IO
DEBUG | ??:??:?? 0 Filesystem files (524288/1048576 Bytes):
DEBUG | ??:??:?? 0  /prefs/channels.proto (57 Bytes)
DEBUG | ??:??:?? 0  /prefs/config.proto (95 Bytes)
DEBUG | ??:??:?? 0  /prefs/db.proto (204 Bytes)
DEBUG | ??:??:?? 0  /prefs/module.proto (104 Bytes)
DEBUG | ??:??:?? 0  /static/.gitkeep (0 Bytes)
DEBUG | ??:??:?? 0  /static/Logo_Black.svg.gz (602 Bytes)
DEBUG | ??:??:?? 0  /static/Logo_White.svg.gz (610 Bytes)
DEBUG | ??:??:?? 0  /static/apple-touch-icon.png.gz (3164 Bytes)
DEBUG | ??:??:?? 0  /static/favicon.ico.gz (2270 Bytes)
DEBUG | ??:??:?? 0  /static/icon.svg.gz (852 Bytes)
DEBUG | ??:??:?? 0  /static/index-CGqDWSD_.js.gz (348 Bytes)
DEBUG | ??:??:?? 0  /static/index-CcvK1znC.css.gz (16231 Bytes)
DEBUG | ??:??:?? 0  /static/index-siIur9KN.js.gz (234592 Bytes)
DEBUG | ??:??:?? 0  /static/index.html.gz (547 Bytes)
DEBUG | ??:??:?? 0  /static/maplibre-gl-BS7WETSR.js.gz (209824 Bytes)
DEBUG | ??:??:?? 0  /static/robots.txt.gz (42 Bytes)
DEBUG | ??:??:?? 0  /static/site.webmanifest.gz (197 Bytes)
[   440][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=41 scl=42 freq=100000
[   441][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=17 scl=18 freq=100000
DEBUG | ??:??:?? 0 Using analog input 1 for battery level
INFO  | ??:??:?? 0 ADCmod: ADC Characterization based on Two Point values and fitting curve coefficients stored in eFuse
INFO  | ??:??:?? 0 Scanning for i2c devices...
[   474][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
DEBUG | ??:??:?? 0 Scanning for i2c devices on port 2
[   503][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
DEBUG | ??:??:?? 0 Scanning for i2c devices on port 1
DEBUG | ??:??:?? 0 I2C device found at address 0x3c
INFO  | ??:??:?? 0 ssd1306 display found
INFO  | ??:??:?? 0 ssd1306 display found
DEBUG | ??:??:?? 0 0x3 subtype probed in 2 tries 
INFO  | ??:??:?? 0 1 I2C devices found
DEBUG | ??:??:?? 0 acc_info = 0
INFO  | ??:??:?? 0 Meshtastic hwvendor=43, swver=2.3.0.5f47ca1
DEBUG | ??:??:?? 0 Setting random seed 2769675852
DEBUG | ??:??:?? 0 Total heap: 279368
DEBUG | ??:??:?? 0 Free heap: 242872
DEBUG | ??:??:?? 0 Total PSRAM: 0
DEBUG | ??:??:?? 0 Free PSRAM: 0
DEBUG | ??:??:?? 0 NVS: UsedEntries 86, FreeEntries 544, AllEntries 630, NameSpaces 3
DEBUG | ??:??:?? 0 Setup Preferences in Flash Storage
DEBUG | ??:??:?? 0 Number of Device Reboots: 7
DEBUG | ??:??:?? 0 OTA firmware version 0.2.1.33451a5
INFO  | ??:??:?? 0 Initializing NodeDB
INFO  | ??:??:?? 0 Loading /prefs/db.proto
INFO  | ??:??:?? 0 Loaded saved devicestate version 22
INFO  | ??:??:?? 0 Loading /prefs/config.proto
INFO  | ??:??:?? 0 Loaded saved config version 22
INFO  | ??:??:?? 0 Loading /prefs/module.proto
INFO  | ??:??:?? 0 Loaded saved moduleConfig version 22
INFO  | ??:??:?? 0 Loading /prefs/channels.proto
INFO  | ??:??:?? 0 Loaded saved channelFile version 22
[   711][E][vfs_api.cpp:105] open(): /littlefs/oem/oem.proto does not exist, no permits for creation
INFO  | ??:??:?? 0 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 0 cleanupMeshDB purged 0 entries
WARN  | ??:??:?? 0 Using nodenum 0xda5694ec 
DEBUG | ??:??:?? 0 Number of Device Reboots: 7
DEBUG | ??:??:?? 0 Expanding short PSK #1
INFO  | ??:??:?? 0 Wanted region 3, using EU_868
DEBUG | ??:??:?? 0 region=3, NODENUM=0xda5694ec, dbsize=2
INFO  | ??:??:?? 0 Saving /prefs/db.proto
DEBUG | ??:??:?? 0 Using GPIO00 for button
WARN  | ??:??:?? 0 SPI.begin(SCK=9, MISO=11, MOSI=10, NSS=8)
DEBUG | ??:??:?? 0 Read RTC time as 1710264781
DEBUG | ??:??:?? 0 Running without GPS.
DEBUG | ??:??:?? 0 NeighborInfoModule is disabled
INFO  | ??:??:?? 0 External Notification Module Disabled
INFO  | ??:??:?? 0 Turning on screen
DEBUG | ??:??:?? 1 Module wants a UI Frame
WARN  | ??:??:?? 1 SX126xInterface(cs=8, irq=14, rst=12, busy=13)
DEBUG | ??:??:?? 1 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO  | ??:??:?? 1 Starting meshradio init...
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO  | ??:??:?? 1 Radio freq=869.525, config.lora.frequency_offset=0.000
INFO  | ??:??:?? 1 Set radio: region=EU_868, name=LongFast, config=0, ch=0, power=27
INFO  | ??:??:?? 1 Radio myRegion->freqStart -> myRegion->freqEnd: 869.400024 -> 869.650024 (0.250000 mhz)
INFO  | ??:??:?? 1 Radio myRegion->numChannels: 1 x 250.000kHz
INFO  | ??:??:?? 1 Radio channel_num: 1
INFO  | ??:??:?? 1 Radio frequency: 869.525024
INFO  | ??:??:?? 1 Slot time: 42 msec
INFO  | ??:??:?? 1 Set radio: final power level=22
INFO  | ??:??:?? 1 SX126x init result 0
INFO  | ??:??:?? 1 Frequency set to 869.525024
INFO  | ??:??:?? 1 Bandwidth set to 250.000000
INFO  | ??:??:?? 1 Power output set to 22
DEBUG | ??:??:?? 1 Current limit set to 140.000000
DEBUG | ??:??:?? 1 Current limit set result 0
DEBUG | ??:??:?? 1 Setting DIO2 as RF switch
DEBUG | ??:??:?? 1 SX126X_RXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 1 SX126X_TXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 1 Using MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO  | ??:??:?? 1 Set RX gain to boosted mode; result: 0
INFO  | ??:??:?? 1 SX1262 Radio init succeeded, using SX1262 radio
INFO  | ??:??:?? 1 Not using WIFI
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=237, time 2000 ms
DEBUG | ??:??:?? 1 LoRA bitrate = 118.500000 bytes / sec
INFO  | ??:??:?? 1 PowerFSM init, USB power=0
DEBUG | ??:??:?? 1 Enter state: BOOT
[  1217][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 6 = 80 Mhz, APB: 80000000 Hz
DEBUG | ??:??:?? 1 [Power] Battery: usbPower=0, isCharging=0, batMv=3100, batPct=0
DEBUG | ??:??:?? 1 [Screen] Screen: Started...
INFO  | ??:??:?? 1 [RangeTestModule] Range Test Module - Disabled
DEBUG | ??:??:?? 4 [PowerFSM] Enter state: ON
INFO  | ??:??:?? 4 [PowerFSM] Initialise the NimBLE bluetooth module
INFO  | ??:??:?? 5 [PowerFSM] Turning off screen
DEBUG | ??:??:?? 7 [PowerFSM] Enter state: SDS
INFO  | ??:??:?? 7 [PowerFSM] Entering deep sleep for 86400 seconds
INFO  | ??:??:?? 7 [PowerFSM] Disable bluetooth
INFO  | ??:??:?? 7 [PowerFSM] Saving /prefs/db.proto
INFO  | ??:??:?? 8 [PowerFSM] Saving /prefs/config.proto
INFO  | ??:??:?? 8 [PowerFSM] Saving /prefs/module.proto
INFO  | ??:??:?? 8 [PowerFSM] Saving /prefs/channels.proto
E (9200) RTCIO: rtc_gpio_isolate(171): RTCIO number error
E (9201) RTCIO: rtc_gpio_isolate(171): RTCIO number error
E (9201) RTCIO: rtc_gpio_isolate(171): RTCIO number error
@thebentern
Copy link
Contributor

thebentern commented Mar 14, 2024

@Holyszewski can you try the build assets for this firmware change?
#3405

Here's the Heltec V3 zip: https://github.com/meshtastic/firmware/actions/runs/8273520266/artifacts/1324406388

@Holyszewski
Copy link
Author

Holyszewski commented Mar 19, 2024

@Holyszewski can you try the build assets for this firmware change? #3405

Here's the Heltec V3 zip: https://github.com/meshtastic/firmware/actions/runs/8273520266/artifacts/1324406388

I tried the build you provided. It solved the original problem, but a new one appeared instead: the sleeping router doesn't respond to button presses.

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

Successfully merging a pull request may close this issue.

2 participants