T-Beam crash reboot cycle

Hi,

I have a T-Beam that is on a crash/reboot cycle. Debug from serial is below.

I just upgraded to v1.2.65.0adc5ce which was good, this seems to have started when I enabled WiFi AP mode, though I enabled and did other things as well.

How do you re-flash when it’s in a loop like this?

Thanks all!

Rebooting…
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒H??:??:?? 0

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

??:??:?? 0 booted, wake cause 0 (boot count 1), reset_reason=reset
??:??:?? 0 Filesystem files:
??:??:?? 0 /static/sw.js.gz
??:??:?? 0 /static/View_Code_Dark.svg.gz
??:??:?? 0 /static/index.bedff635.css.gz
??:??:?? 0 /static/index.b96e5a1a.js.gz
??:??:?? 0 /static/workbox-4ee7f24a.js.gz
??:??:?? 0 /static/icon.svg.gz
??:??:?? 0 /static/View_Code.svg.gz
??:??:?? 0 /static/Files.svg.gz
??:??:?? 0 /static/Logo_White.svg.gz
??:??:?? 0 /prefs/db.proto
??:??:?? 0 /prefs/radio.proto
??:??:?? 0 /prefs/channels.proto
??:??:?? 0 /static/safari-tab.svg.gz
??:??:?? 0 /static/index.html.gz
??:??:?? 0 /static/manifest.webmanifest.gz
??:??:?? 0 /static/Logo_Black.svg.gz
??:??:?? 0 /static/Files_Dark.svg.gz
??:??:?? 0 /static/.gitkeep
??:??:?? 0 /static/site.webmanifest.gz
??:??:?? 0 /static/robots.txt.gz
??:??:?? 0 I2C device found at address 0x34
??:??:?? 0 axp192 PMU found
??:??:?? 0 done
??:??:?? 0 Meshtastic hwvendor=4, swver=1.2.65.0adc5ce, hwver=1.0
??:??:?? 0 Setting random seed 4293085335
??:??:?? 0 Total heap: 249084
??:??:?? 0 Free heap: 214716
??:??:?? 0 Total PSRAM: 4194252
??:??:?? 0 Free PSRAM: 4194252
??:??:?? 0 NVS: UsedEntries 235, FreeEntries 395, AllEntries 630, NameSpaces 7
??:??:?? 0 Setup Preferences in Flash Storage
??:??:?? 0 Number of Device Reboots: 1053
??:??:?? 0 Initial packet id 2040469084, numPacketId 4294967295
??:??:?? 0 Setting default channel and radio preferences!
??:??:?? 0 Expanding short PSK #1
??:??:?? 0 Wanted region 0, using Unset
??:??:?? 0 Loading /prefs/db.proto
??:??:?? 0 Loaded saved preferences version 11
??:??:?? 0 Loading /prefs/radio.proto
??:??:?? 0 Loading /prefs/channels.proto
??:??:?? 0 Number of Device Reboots: 1053
??:??:?? 0 Expanding short PSK #1
??:??:?? 0 Wanted region 2, using EU433
??:??:?? 0 region=2, NODENUM=0xf71e4eac, dbsize=1
chip id detect 0x3
Detect CHIP :AXP192
OUTPUT Register 0x5f
??:??:?? 0 AXP192 Begin PASS
??:??:?? 0 DCDC1: ENABLE
??:??:?? 0 DCDC2: ENABLE
??:??:?? 0 LDO2: ENABLE
??:??:?? 0 LDO3: ENABLE
??:??:?? 0 DCDC3: ENABLE
??:??:?? 0 Exten: ENABLE
??:??:?? 0 ----------------------------------------
??:??:?? 0 DCDC1: ENABLE
??:??:?? 0 DCDC2: ENABLE
??:??:?? 0 LDO2: ENABLE
??:??:?? 0 LDO3: ENABLE
??:??:?? 0 DCDC3: ENABLE
??:??:?? 0 Exten: ENABLE
SRC REG:0xc4
Charging enable is enable
Charging target-voltage : 0x2
end when the charge current is lower than 10% of the set value
Charge current : 700.00 mA
??:??:?? 0 Battery: usbPower=1, isCharging=0, batMv=4147, batPct=100
??:??:?? 0 Read RTC time as 1662563604 (cur millis 280) quality=0
??:??:?? 0 Using MSL altitude model
??:??:?? 0 Hoping that NMEA might work
??:??:?? 0 WANT GPS=1
??:??:?? 0 GxGSA NOT available
??:??:?? 0 External Notification Plugin Disabled
??:??:?? 0 Starting meshradio init…
??:??:?? 0 (bw=125, sf=12, cr=4/8) packet symLen=32 ms, payloadSize=16, time 2269 ms
??:??:?? 0 Set radio: name=LongSlow, config=3, ch=2, power=0
??:??:?? 0 Radio myRegion->freq: 433.174988
??:??:?? 0 Radio myRegion->spacing: 0.200000
??:??:?? 0 Radio myRegion->numChannels: 8
??:??:?? 0 Radio channel_num: 2
??:??:?? 0 Radio frequency: 433.574982
??:??:?? 0 Short packet time: 2269 msec
??:??:?? 0 Set radio: final power level=17
??:??:?? 0 Current limit set to 100.000000
??:??:?? 0 Current limit set result 0
??:??:?? 0 RF95 init result -19
??:??:?? 0 Current limit set to 100.000000
??:??:?? 0 Current limit set result 0
??:??:?? 0 RF95 Radio init succeeded, using RF95 radio
??:??:?? 0 WiFi … AP Mode
??:??:?? 0 Waiting for SSL Cert to be generated.
??:??:?? 0 Existing SSL Certificate found!
??:??:?? 0 Retrieved Private Key: 1188 Bytes
??:??:?? 0 Retrieved Certificate: 780 Bytes
??:??:?? 0 SSL Cert Ready!
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
??:??:?? 1 ************ [WiFi-event] event: 0 ************
??:??:?? 1 WiFi interface ready
??:??:?? 1 Starting WIFI AP: ssid=saussagesarenice, ok=1
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 14 - AP_START
??:??:?? 1 ************ [WiFi-event] event: 14 ************
??:??:?? 1 WiFi access point started
??:??:?? 1 … Starting network services
??:??:?? 1 mDNS responder started
??:??:?? 1 mDNS Host: Meshtastic.local
??:??:?? 1 MY IP AP ADDRESS: 192.168.42.1
??:??:?? 1 Starting NTP time client
??:??:?? 1 Initializing Web Server …
??:??:?? 1 Starting Secure Web Server…
??:??:?? 1 Starting Insecure Web Server…
??:??:?? 1 Web Servers Ready! :slight_smile:
??:??:?? 1 API server listening on TCP port 4403
??:??:?? 1 (bw=125, sf=12, cr=4/8) packet symLen=32 ms, payloadSize=237, time 13869 ms
??:??:?? 1 myNodeInfo.bitrate = 17.088470 bytes / sec
??:??:?? 1 PowerFSM init, USB power=1
??:??:?? 1 Enter state: BOOT
??:??:?? 1 Setting CPU to 240mhz because WiFi is in use.
??:??:?? 1 [Power] Battery: usbPower=1, isCharging=0, batMv=4147, batPct=100
??:??:?? 1 [EnvironmentalMeasurementPlugin] EnvironmentalMeasurement: Initializing
??:??:?? 1 [EnvironmentalMeasurementPlugin] EnvironmentalMeasurement: Opened DHT11/DHT12 on pin: 0
??:??:?? 1 [SerialPlugin] Initializing serial peripheral interface
??:??:?? 1 [StoreForwardPlugin] Store & Forward Plugin - Disabled
??:??:?? 1 [RangeTestPlugin] Initializing Range Test Plugin – Receiver
CORRUPT HEAP: Bad head at 0x3f8000bc. Expected 0xabba1234 got 0xffffffff
abort() was called at PC 0x4008596f on core 0

ELF file SHA256: 0000000000000000

Backtrace: 0x4008feaf:0x3ffd9f40 0x40090235:0x3ffd9f60 0x4008596f:0x3ffd9f80 0x40085a89:0x3ffd9fc0 0x4012ea2b:0x3ffd9fe0 0x40129011:0x3ffda2a0 0x401211cd:0x3ffda2f0 0x400942ff:0x3ffda320 0x400860e1:0x3ffda340 0x40085b35:0x3ffda360 0x4000bec7:0x3ffda380 0x4017aa64:0x3ffda3a0 0x4017aabb:0x3ffda3c0 0x4017ab03:0x3ffda3e0 0x40180bf9:0x3ffda400 0x401799ac:0x3ffda430

Rebooting…

How did you install the firmware?

I used the flasher with the GUI on Linux. It seemed to work OK until I turned on WiFi and, I think, Range Test.