firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: crow panel 7 inch crashing at 59 second uptime mark

Open Sandman5513 opened this issue 5 months ago • 16 comments

Category

Hardware Compatibility

Hardware

Other

Is this bug report about any UI (https://meshtastic.org/docs/configuration/device-uis/) component firmware?

  • [ ] Meshtastic UI aka MUI
  • [ ] InkHUD
  • [ ] BaseUI

Firmware Version

2.7.26 and 2.7.25

Description

Device Hardware

  • Device Model: Elecrow CrowPanel Advance Series 7.0" HMI Touch Screen (SKU: DIS02170A V1.span_04)span_0
  • Core Processor: ESP32-S3-WROOM-1
  • Peripherals: LoRa module slotted into the rear Wireless Module socket
  • Hardware Configurations: DIP Switches S1 and S0 are explicitly set to 0 1 to route lines to the Wireless Module slot.

Firmware Version

  • Meshtastic Official Release 2.7.26 Beta Build

Description of the Bug

When running the official 2.7.26 firmware build on the CrowPanel Advance 7.0", the node experiences a fatal crash loop exactly at uptime: 00:00:59 (the 1-minute housekeeping mark).

span_1Because the hardware requires the DIP switches to be set to 0 1 for LoRa module functionalityspan_1, the physical copper traces leading to the MicroSD (TF) card reader are entirely isolated from the system bus by design.

At exactly 59 seconds of uptime, an internal background loop tries to interact with storage or log telemetry. The screen briefly renders an SD card error message on the display overlay. Immediately following this error, a severe SPI data bus collision/starvation occurs: the display loses horizontal synchronization and dissolves completely into static electrical line tearing. One second later, the system hits a hard lockup, and the internal hardware watchdog timer triggers a full reboot.

This crash occurs even when all optional module configurations, user-facing telemetry features, and debug logs are completely disabled in the app settings.

Steps to Reproduce

  1. span_2Configure an Elecrow CrowPanel Advance 7.0" board with the DIP switches set to 0 1 to activate the attached LoRa modulespan_2.
  2. Flash the device with official Meshtastic firmware version 2.7.26 Beta via the web flasher.
  3. Turn off all optional telemetry modules.
  4. Power on the node and observe the display overlay clock.
  5. Watch the node consistently crash, tear the display lines into static, and reboot at exactly uptime: 00:00:59.

Expected Behavior

The core firmware's 1-minute background file system/housekeeping sweep should gracefully fail or completely bypass the storage check if an open-circuit / hardware-disconnected SD slot state is encountered, allowing the display thread and LoRa communications to proceed completely uninterrupted.

Actual Behavior

The file system task panics on the unreachable SD card loop, completely blocking the shared SPI memory lines. This starves the display controller of image stream data (causing immediate horizontal screen tearing) and triggers a total watchdog timeout reset.

Relevant log output


Sandman5513 avatar Jun 30 '26 05:06 Sandman5513

@Sandman5513, Welcome to Meshtastic! :wave:

Thanks for opening your first issue. If it's helpful, an easy way to get logs is the "Open Serial Monitor" button on the Web Flasher.

If you have ideas for features, note that we often debate big ideas in the discussions tab first. This tracker tends to be for ideas that have community consensus and a clear implementation.

We're very active on discord, especially the #firmware and #alphanauts-testing channels. If you'll be around for a while, we'd love to see you there!

Welcome to the community! :heart:

github-actions[bot] avatar Jun 30 '26 06:06 github-actions[bot]

The issue describes a device/firmware bug but does not provide any logs. Please attach logs from the Web Flasher or Meshtastic CLI as outlined below:

Web Flasher logs:

  • Go to https://flasher.meshtastic.org
  • Connect the device via USB and click Connect
  • Open the device console/log output, reproduce the problem, then copy/download and attach/paste the logs

Meshtastic CLI logs:

  • Run: meshtastic --port --noproto
  • Reproduce the problem, then copy/paste the terminal output

Additionally, ensure to provide context information such as the device model, firmware version, and steps to reproduce the issue to assist in diagnosing the problem.

github-actions[bot] avatar Jun 30 '26 06:06 github-actions[bot]

Is there a firmware version where it works with your hardware? Has the lora modem been detected successfully?

mverch67 avatar Jun 30 '26 09:06 mverch67

Image

This is the board i am working with it's the crowpanel advance 7" with the ESP32-S3 woom chip, when the board is powered up the lora lor module on the back lights up and gets power it's plugged in straight into the back of the board, as far as firmware goes, firmware versions 2.7.24, 2.7.23, 2.7.22 and lower not very many after that in the alpha build, leave my screen completely black and non responsive, firmware version 2.7.25 and 2.7.26 work as far as lighting up the screen allowing me to go through the menus and look at everything, but boast firmwares have the same issue where at the uptime timer reaches 59 seconds the screen goes to static, goes black and the entire device reboots. After it reboots, it operates as normal until the timer hits the 59 second mark again, and then it repeats. Lower firmware does not work as far as having the screen operational and it to be a standalone unit, the firmware 2.7.25 and 2.7.26 does work for having a standalone unit without having to connect it to a second device through Bluetooth or serial cable, but it has a constant cycle of reboot, when connecting it to a computer or the app through Bluetooth the device still only stays up and running for 59 seconds before going to static and rebooting causing it to disconnect and reconnecting to both devices the same way as if I was using it as a standalone device.

Sandman5513 avatar Jun 30 '26 17:06 Sandman5513

I was specifically asking about the lora radio. My 4.3" V1 version does not detect the lora radio and boots one minute after start because of that. You can see it in the logs if radio is detected or not.

mverch67 avatar Jun 30 '26 19:06 mverch67

These are some of the logs that I have gotten, and I think it is detecting it, this is something I'm still learning, i don't know enough about this yet to fully understand it, i'm learning as I go.

Image Image Image Image Image

Sandman5513 avatar Jul 01 '26 17:07 Sandman5513

The radio initialisation is very early in the log (~4 seconds) and looks like this if it is successful:

DEBUG | ??:??:?? 4 SX126xInterface(cs=64, irq=67, rst=65, busy=66)
DEBUG | ??:??:?? 4 SX126X_DIO3_TCXO_VOLTAGE not defined, not using DIO3 as TCXO reference voltage
INFO  | ??:??:?? 4 Start meshradio init
INFO  | ??:??:?? 4 Radio freq=869.525, config.lora.frequency_offset=0.000
INFO  | ??:??:?? 4 Set radio: region=EU_868, name=LongFast, config=0, ch=0, power=27
INFO  | ??:??:?? 4 myRegion->freqStart -> myRegion->freqEnd: 869.400024 -> 869.650024 (0.250000 MHz)
INFO  | ??:??:?? 4 numChannels: 1 x 250.000kHz
INFO  | ??:??:?? 4 channel_num: 1
INFO  | ??:??:?? 4 frequency: 869.525024
INFO  | ??:??:?? 4 Slot time: 28 msec
INFO  | ??:??:?? 4 Final Tx power: 22 dBm
INFO  | ??:??:?? 4 SX126x init result 0

mverch67 avatar Jul 01 '26 18:07 mverch67

I seem to have the same (or similar) issue

meshtastic_log.txt

logs of one complete loop attached Also in bluetooth mode the system also frequently crashes, usually shortly after an

[ 33273][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1

The device is not recognized by other devices, even when sending messages on a channel configured on other nodes, no message is received (in either direction)

meshtastic_log.txt

Remolade01 avatar Jul 11 '26 10:07 Remolade01

The device is not recognized by other devices, even when sending messages on a channel configured on other nodes, no message is received (in either direction)

Because the lora radio cannot be initialized which is a precondition to send/receive messages:

INFO  | ??:??:?? 3 Start meshradio init
INFO  | ??:??:?? 3 Radio freq=869.525, config.lora.frequency_offset=0.000
INFO  | ??:??:?? 4 Set radio: region=EU_868, name=WKR-Allg., config=0, ch=0, power=27
INFO  | ??:??:?? 4 myRegion->freqStart -> myRegion->freqEnd: 869.400024 -> 869.650024 (0.250000 MHz)
INFO  | ??:??:?? 4 numChannels: 1 x 250.000kHz
INFO  | ??:??:?? 4 channel_num: 1
INFO  | ??:??:?? 4 frequency: 869.525024
INFO  | ??:??:?? 4 Slot time: 28 msec, preamble time: 131 msec
INFO  | ??:??:?? 4 Final Tx power: 22 dBm
INFO  | ??:??:?? 4 SX126x init result -2

What hardware version do you have and what firmware version did you install?

mverch67 avatar Jul 11 '26 18:07 mverch67

The board is v1.4 with the latest beta fw as of today (2.7.26.54e0d8d)

Remolade01 avatar Jul 11 '26 18:07 Remolade01

The board is v1.4 with the latest beta fw as of today (2.7.26.54e0d8d)

You'd need to use at least this PR for your tests.

mverch67 avatar Jul 11 '26 22:07 mverch67

working with an elecrow crowpanel 7" DIS02170A hdw ver 1.4 just updated to 2.8.0 B4FF1DF nightly. I have not fully reviewed this version yet. one thing off the bat is I see the map has loaded from the SD card with switches set at 1 off 0 on. this did not work with the last nightly build. I have jumped GPIO-0 from the boot button to the CS term on the SX1262 module and isolated GPIO-8. this worked with prior nightly builds. the device has not found the sx radio without this jumper previously and the device still works with this jumper still installed on this current build. a few issues still persist with this current build are, the backlight never shuts off during screen sleep, the display timeout and screen calibration configurations are lost on hard reset and power down. I have a GPS installed on GPIO 19 and 20 but I have yet to get it functioning. I will review this build and report back with any further findings, Great work Meshtastic team on the progress on this device! GP

hexfet100 avatar Jul 29 '26 21:07 hexfet100

You'd need to use at least this PR for your tests.

Sorry for the late reply, compiling the firmware directly does not seem to work for me. Using the provided devcontainer, the pioarduino extension stays on the message pioarduino: Configuring project: Resolving elecrow-adv1-43-50-70-tft dependencies... (default target changed to target for crowpanel 7") even after multiple hours. When having the default set to heltec-v3, the failure stays the same.

Remolade01 avatar Jul 31 '26 15:07 Remolade01

You'd need to use at least this PR for your tests.

Sorry for the late reply, compiling the firmware directly does not seem to work for me. Using the provided devcontainer, the pioarduino extension stays on the message pioarduino: Configuring project: Resolving elecrow-adv1-43-50-70-tft dependencies... (default target changed to target for crowpanel 7") even after multiple hours. When having the default set to heltec-v3, the failure stays the same.

I started a new issue here , the 59 second reboot is resolvedhttps://github.com/meshtastic/firmware/issues/11287

hexfet100 avatar Jul 31 '26 20:07 hexfet100

This issue has not had any comment or update in the last month. If it is still relevant, please post update comments. If no comments are made, this issue will be closed automagically in 7 days.

github-actions[bot] avatar Sep 15 '26 06:09 github-actions[bot]

This issue has not had any comment since the last notice. It has been closed automatically. If this is incorrect, or the issue becomes relevant again, please request that it is reopened.

github-actions[bot] avatar Sep 26 '26 06:09 github-actions[bot]