WiFi Implementation
Lat9898 opened this issue · 0 comments
Everything is working fine but when i implement wifi i get constantly this error
Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception).
Debug exception reason: Stack canary watchpoint triggered (Mic I2S Reader)
Core 0 register dump:
PC : 0x4008f75b PS : 0x00060736 A0 : 0x8008589a A1 : 0x3ffe89d0
A2 : 0x3ffbf6b0 A3 : 0xb33fffff A4 : 0x0000abab A5 : 0x00060723
A6 : 0x00060720 A7 : 0x0000cdcd A8 : 0xb33fffff A9 : 0xffffffff
A10 : 0x3ffe923c A11 : 0x3ffb6884 A12 : 0x3ffb6af8 A13 : 0x00000042
A14 : 0x007bf6b0 A15 : 0x003fffff SAR : 0x00000004 EXCCAUSE: 0x00000001
EXCVADDR: 0x00000000 LBEG : 0x4008a505 LEND : 0x4008a515 LCOUNT : 0xfffffffa
Backtrace: 0x4008f758:0x3ffe89d0 0x40085897:0x3ffe8a10 0x400858d2:0x3ffe8a30 0x40085a49:0x3ffe8a60 0x400eb161:0x3ffe8a80 0x400ea45f:0x3ffe8aa0 0x400e9e55:0x3ffe8ac0 0x4008a201:0x3ffe8ae0 0x40089696:0x3ffe8b00 0x40089720:0x3ffe8b20 0x40089c0d:0x3ffe8b50 0x40152d0f:0x3ffe8b80 0x4014e87b:0x3ffe8ba0 0x4014e9f9:0x3ffe8eb0 0x4015ea29:0x3ffe8ee0 0x401089aa:0x3ffe8f10 0x40108a47:0x3ffe8f40 0x400dd51d:0x3ffe8fc0 0x400de5e4:0x3ffe9000 0x400decdd:0x3ffe9050 0x400d3355:0x3ffe9090 0x400d374f:0x3ffe9120
or sometimes i get this error that i2s driver doesn't installed
E (23978) I2S: i2s_alloc_dma_buffer(740): Error malloc dma buffer
E (23979) I2S: i2s_realloc_dma_buffer(787): Failed to allocate dma buffer
E (23982) I2S: i2s_set_clk(1748): I2S0 rx DMA buffer malloc failed
E (23988) I2S: i2s_driver_install(2026): I2S set clock failed
[ 11906][E][Microphone.cpp:25] mic_init(): [I2S Protocol] Failed to install I2S driver: 257
I don't have any clue why it is not working when i am implementing wifi but everything works fine when i test wifi alone and slm code alone
does anyone have an idea how can i fix it