@Beantree I have the same problem like I wrote few post above. After 3 days of perfect working my esp module just connect to my WiFi nothing more. I did reset few times and still the same problem. When i connect to Putty are below information:
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_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:4988
load:0x40078000,len:11408
load:0x40080400,len:6108
entry 0x400806bc
I (592) psram: This chip is ESP32-D0WD
E (592) spiram: SPI RAM enabled but initialization failed. Bailing out.
I (592) cpu_start: Failed to init external RAM; continuing without it.
I (600) cpu_start: Pro cpu up.
I (603) cpu_start: Application information:
I (608) cpu_start: Compile time: Dec 20 2019 07:58:58
I (614) cpu_start: ELF file SHA256: 0000000000000000...
I (620) cpu_start: ESP-IDF: v4.0-beta1
I (625) cpu_start: Starting app cpu, entry point is 0x400835e0
I (0) cpu_start: App cpu up.
I (636) heap_init: Initializing. RAM available for dynamic allocation:
I (643) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (649) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (655) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (661) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (667) heap_init: At 3FFCCA50 len 000135B0 (77 KiB): DRAM
I (673) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (680) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (686) heap_init: At 4009E2E4 len 00001D1C (7 KiB): IRAM
I (692) cpu_start: Pro cpu start user code
I (711) spi_flash: detected chip: generic
I (711) spi_flash: flash io: dio
I (712) cpu_start: Chip Revision: 1
W (713) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.
I (723) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
E (40) spiram: SPI RAM not initialized
I (160) modsocket: Initializing
I (1824) phy: phy_version: 4102, 2fa7a43, Jul 15 2019, 13:06:06, 0, 0
Connection successful
('192.168.1.14', '255.255.255.0', '192.168.1.1', '176.103.130.130')
2020-07-06 15:48:25
Connected to 192.168.1.99 MQTT broker
Traceback (most recent call last):
File "main.py", line 1, in <module>
File "mqtt.py", line 57, in <module>
File "ble.py", line 48, in __init__
File "ble.py", line 42, in debug
**OSError: 28**
MicroPython v1.12 on 2019-12-20; ESP32 module (spiram) with ESP32
Type "help()" for more information.
When I press right mouse button in putty are addtional informations:
>>>
>>> ets Jun 8 2016 00:22:57
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>>
>>> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> configsip: 0, SPIWP:0xee
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> mode:DIO, clock div:2
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> load:0x3fff0018,len:4
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> load:0x3fff001c,len:4988
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> load:0x40078000,len:11408
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> load:0x40080400,len:6108
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> entry 0x400806bc
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> I (592) psram: This chip is ESP32-D0WD
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> E (592)d. Bailing out.
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> I (592) cpu_start: Failed to init external RAM; continui8) cpu_start: Compile cpu_start: ESP-IDF: t: App cpu up.
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> I (636) he 000000F0 (0 KiB): DRAM
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> I 4108 (16 KiB): DRAM
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> I (660 (77 KiB): DRAM
... 0001BCB0 (111 KiB): D/IRAM
... I (686) hea1) spi_flash: detected start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> I (723) cpu_start: StaAM not initialized
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> I (160) modsockion successful
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> ('192.192.168.1.99 MQTT brokeceback (most recent call las File "main.py", line 1, in <module>
Traceback (most recent call last):
File "<stdin>", line 1
SyntaxError: invalid syntax
>>> File "mqtt.py", line 57, in <module>
Traceback (most recent call last):
File "<stdin>", line 1
IndentationError: unexpected indent
>>> File "ble.py", line 48, in __init__
Traceback (most recent call last):
File "<stdin>", line 1
IndentationError: unexpected indent
>>> File "ble.pESP32
Traceback (most recent call last):
File "<stdin>", line 1
IndentationError: unexpected indent
>>> Type "help()" for more information.
So the error OSError: 28 appeared again ( I found that: OSError is âNo space left on deviceâ,)
I also download other bin file from: https://micropython.org/download/esp32/
for ESP32 version without SPI Ram but problem was the same.
For solve the problem i need to reflash esp32âŚbut it isnât solution because I should do it every 2-3 days.
Please look at this and maybe you can find solution