After uploading the code below, and having a buffer size larger than 1024 43, for example, bufferSize = 1024 50 the error message will appear as below. The code is uploaded to ESP32-CAM with esp version 2.0.2 and Arduino IDE 2.0.3
This was probably due to allocating a massive amount of memory that was not available on the system. I'm closing this now, but please re-open if you suspect another issue.
After uploading the code below, and having a buffer size larger than 1024 43, for example, bufferSize = 1024 50 the error message will appear as below. The code is uploaded to ESP32-CAM with esp version 2.0.2 and Arduino IDE 2.0.3
The error is shown below, and I believe it happens at
while (!client.connect(THINGNAME))
Any help would be appreciated! Thanks!
Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump: PC : 0x40160ea7 PS : 0x00060230 A0 : 0x800d6324 A1 : 0x3ffb2670
A2 : 0xffffffff A3 : 0x0000c800 A4 : 0x00000010 A5 : 0x00000004
A6 : 0x3f400db1 A7 : 0xffffff7f A8 : 0x3ffb26b0 A9 : 0x00000000
A10 : 0x00001502 A11 : 0x00000000 A12 : 0x00001502 A13 : 0x00002680
A14 : 0x00000020 A15 : 0x000000bc SAR : 0x0000001c EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000000 LBEG : 0x4008b3fc LEND : 0x4008b418 LCOUNT : 0x00000000
Backtrace:0x40160ea4:0x3ffb26700x400d6321:0x3ffb2690 0x400d6022:0x3ffb26e0 0x400d5d29:0x3ffb2730 0x400d30dd:0x3ffb27a0 0x400d333d:0x3ffb27c0 0x400d7b6a:0x3ffb2820
ELF file SHA256: 0000000000000000
Rebooting...
ets Jul 29 2019 12:21:46
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:1 load:0x3fff0030,len:1324 ho 0 tail 12 room 4 load:0x40078000,len:13508 load:0x40080400,len:3604 entry 0x400805f0