Open Denages opened 3 years ago
You can add a monitor_filter to your pio config: https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html#filters This saves you the extra decoder step.
First I'd replace the board=esp12e
with board = esp01_1m
. This is probably the reason, because by default an esp_01 is assumed to have 4mb of flash.
I'm wondering why you see the "ets .." line at all. Normally this is only visible when you set monitor speed to 74880 and serial begin to 74880 too. Otherwise you see garbage output before serial.begin(115200) kicks in;
Did you power cycle the device? Also I've read in several places that some devices need the flash to be erased completely before you can re-flash them.
@luebbe I've changed board to esp01_1m. The output became:
✖ /homie/config.json doesn't exist
Configuration invalid. Using CONFIG MODE
�
ets Jan 8 2013,rst cause:2, boot mode:(3,0)
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld
✖ /homie/config.json doesn't exist
Configuration invalid. Using CONFIG MODE
�
ets Jan 8 2013,rst cause:2, boot mode:(3,0)
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld
Also, tried to clear flash completely. And yes, tried to turn off power after flashing
Insufficient power supplies are known to cause resets. Are you sure that your power supply has enough capacity for the current spikes from the ESP? Have you used that supply for other ESP projects? Otherwise i suggest you try to put a capacitor >=22uF on the power to see if that helps.
I've built several projects using Homie. But for now, I have a weird trouble. I use Platform.io and esp8266 (esp12 1mb) module. It's connected to a separate DC power adapter (3.3V, 2.5A max) After flashing device goes into an infinity loop. What could be the reason?
Code:
Log:
Decoder says:
platformio.ini: