stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
419 stars 345 forks source link

Cannot allocate memory for meta info. #133

Open MarianneDiniz opened 3 years ago

MarianneDiniz commented 3 years ago

I have not changed any other code, other than setting #define NEt_DEVICE for NET WIFI and #define WIFI_SSID and WIFI_PASSWORD, but the code no compile, the following is output in the console:

GNSS:OK OBD:NO WiFiGuru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled. Core 1 register dump: PC : 0x3f4025ea PS : 0x00060c30 A0 : 0x800d6aa9 A1 : 0x3ffb3db0
A2 : 0x3ffc1284 A3 : 0x00000014 A4 : 0x3ffc1284 A5 : 0x00000000
A6 : 0x3ffc1284 A7 : 0x00000009 A8 : 0x8015409d A9 : 0x3ffb3d80
A10 : 0x3ffc1284 A11 : 0x3ffb3dbf A12 : 0x00000001 A13 : 0x0000df80
A14 : 0x3ffc39a4 A15 : 0x3ffc39b8 SAR : 0x0000000a EXCCAUSE: 0x00000014
EXCVADDR: 0x3f4025e8 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff

Backtrace: 0x3f4025ea:0x3ffb3db0 0x400d6aa6:0x3ffb3de0 0x400d165b:0x3ffb3e10 0x400d1a53:0x3ffb3f50 0x400d27d9:0x3ffb3f70 0x4008ce91:0x3ffb3fe0

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

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:8896 load:0x40080400,len:5828 entry 0x400806ac E (132) spiram: SPI RAM not initialized E (132) esp_himem: Cannot allocate memory for meta info. Not initializing!

Any help would be appreciated.

wally2511 commented 3 years ago

I have the same issue from time to time, usually after I've uploaded a new version of the sketch to the device. I outlined a workaround in a post here https://freematics.com/forum/viewtopic.php?f=15&t=44420