lewisxhe / esp32-camera-screen

TTGO T-camera Plus
https://ru.aliexpress.com/item/TTGO-T-camera-Plus-ESP32-DOWDQ6-8-MB-SPRAM-OV2640-1-3/32971057846.html?fbclid=IwAR1uUoWC-UiemD8rKwg15WvpM7zhtvxUxdZhh0jnbrkFkNah6MV6Stg5Kag
65 stars 52 forks source link

Reboots upon connecting WiFi #10

Closed akeilox closed 5 years ago

akeilox commented 5 years ago

I have finally received the TTGO plus board, downloaded the latest build here and burned the NoBme under bin folder according to the PNG image.

However whenever I try to connect to the the TTGO-Camera-Plus_xxx the board reboots following an exception. Please see line starting with "Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.** right after i connect to the AP

For backgrodund I am using a brand new genuine TOSHIBA M203 16gb sd card connected.

Following is the serial output prior to the reboot:

any idea on what is going wrong here?

nihaotianmao DETECTED. I (53377) app_wifi: ESP_WIFI_MODE_AP I (53379) wifi: wifi driver task: 3ffe6f24, prio:23, stack:3584, core=0 I (53380) wifi: wifi firmware version: a85ca5e I (53381) wifi: config NVS flash: enabled I (53385) wifi: config nano formating: disabled I (53389) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (53398) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (53468) wifi: Init dynamic tx buffer num: 32 I (53468) wifi: Init data frame dynamic rx buffer num: 32 I (53468) wifi: Init management frame dynamic rx buffer num: 32 I (53472) wifi: Init static rx buffer size: 1600 I (53477) wifi: Init static rx buffer num: 10 I (53480) wifi: Init dynamic rx buffer num: 32 I (53486) wifi: Set ps type: 0

I (53656) phy: phy_version: 4000, b6198fa, Sep 3 2018, 15:11:06, 0, 2 W (53656) phy_init: saving new calibration data because of checksum failure, mode(0) I (53670) wifi: mode : softAP (80:7d:3a:b9:5c:69) I (53670) wifi: Init max length of beacon: 752/752 I (53671) wifi: Init max length of beacon: 752/752 I (53675) app_wifi: wifi_init_softap finished.SSID:TTGO-Camera-Plus-5c69  I (53982) camera_httpd: Starting web server on port: '80' I (53983) camera_httpd: Starting stream server on port: '81' I (71660) wifi: n:1 0, o:1 0, ap:1 1, sta:255 255, prof:1 I (71661) wifi: station: a4:xx:xx:20:xx:xx join, AID=1, bg, 20 I (71661) app_wifi: station:a4:xx:xx:20:xx:xx join, AID=1 Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled. Core 0 register dump: PC : 0x4013d987 PS : 0x00060c30 A0 : 0x800d7d01 A1 : 0x3ffcca30
A2 : 0x00000400 A3 : 0x3ffffcc0 A4 : 0x00000080 A5 : 0x00000080
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x008c108c A9 : 0x00000000
A10 : 0x00000000 A11 : 0x0000008c A12 : 0x00000100 A13 : 0x3ffcbba0
A14 : 0x20149336 A15 : 0x2ed72c32 SAR : 0x00000000 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000000 LBEG : 0x4009abb0 LEND : 0x4009abde LCOUNT : 0xffffffff

Backtrace: 0x4013d987:0x3ffcca30 0x400d7cfe:0x3ffcca60 0x40061b1b:0x3ffccac0 0x400d835b:0x3ffccb40 0x400d6214:0x3ffccc60 0x400d1c48:0x3ffccda0 0x400937b1:0x3ffccdc0

Rebooting... ets Jun 8 2016 00:22:57

akeilox commented 5 years ago

Further feedback: If I burn the BME version firmware, i keep getting the "E (133623) [main]: BME280 read error" on serial, and when connecting to AP of the board it resets in similar way as above.

I assume the continuous error is because BME is not soldered. The crash behaviour is same nevertheless without BME

lewisxhe commented 5 years ago

The file in the bin directory belongs to the old file. It really has a problem. I didn't let him do anything when connecting to wifi. The original connection wifi is to set the camera parameters, but the later board changes make the code messy. So I decided to connect wifi and let it do nothing