esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 34 forks source link

LOLIN D1 Mini board options #3535

Open raccettura opened 2 years ago

raccettura commented 2 years ago

The problem

I've got a few of these LOLIN D1 Mini V4.0.0's. Spec'd as ESP8266 4MB.

Seems like the board should be d1 based on the list of boards.

What I've noticed however is d1 and d1_mini will result in dumps like this:

[11:48:23]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[11:48:23]
[11:48:23]Panic core_esp8266_main.cpp:137 __yield
[11:48:23]
[11:48:23]>>>stack>>>
WARNING Found stack trace! Trying to decode it
[11:48:23]
[11:48:23]ctx: cont
[11:48:23]sp: 3ffffc20 end: 3fffffc0 offset: 0000
[11:48:23]3ffffc20:  3fff5bf4 3fff69ac 00000002 4023e514  
WARNING Decoded 0x4023e514: operator delete(void*) at /workdir/repo/gcc-gnu/libstdc++-v3/libsupc++/del_op.cc:50
[11:48:23]3ffffc30:  000000fe 00000000 00000000 00000000  
[11:48:23]3ffffc40:  00000000 00000000 00000000 3fff1970  
[11:48:23]3ffffc50:  00000000 00000001 4bc6a7f0 00000064  
[11:48:23]3ffffc60:  0000021c 0000000d 3fff3bfc 4022b7c6  
WARNING Decoded 0x4022b7c6: raise_exception at core_esp8266_postmortem.cpp
[11:48:23]3ffffc70:  0000021c 3ffffca4 3fff61fc 4022b833  
WARNING Decoded 0x4022b833: __panic_func
[11:48:23]3ffffc80:  3ffffca0 3ffffca4 3fff61fc 4022b299  
WARNING Decoded 0x4022b299: yield
[11:48:23]3ffffc90:  0000021c 0000000d 3fff3bfc 4010023c  
WARNING Decoded 0x4010023c: esphome::yield()
[11:48:24]3ffffca0:  0292d527 0001660f 00000020 402148b2  
WARNING Decoded 0x402148b2: esphome::uart::UARTComponent::check_read_timeout_(unsigned int)
[11:48:24]3ffffcb0:  00000007 00000001 4022bfd4 3ffe9662  
WARNING Decoded 0x4022bfd4: delay
[11:48:24]3ffffcc0:  3fff3bfc 0000000d 3ffffd50 40214d10  
WARNING Decoded 0x40214d10: esphome::uart::ESP8266UartComponent::read_array(unsigned char*, unsigned int)
[11:48:24]3ffffcd0:  3fff3bfc 3ffe966a 3ffe966a 3ffe9662  
[11:48:24]3ffffce0:  0000000d 3ffffd50 3fff5e94 40211fe4  
WARNING Decoded 0x40211fe4: _ZN7esphome8senseair17SenseAirComponent23senseair_write_command_EPKhPhh$part$0 at senseair.cpp
[11:48:24]3ffffcf0:  00000000 3fff6854 00000001 3fff0e70  
[11:48:24]3ffffd00:  00000000 4bc6a7f0 4dd2f1a9 3fff63cc  
[11:48:24]3ffffd10:  00000000 3fff0e64 3fff5e94 4021207a  
WARNING Decoded 0x4021207a: esphome::senseair::SenseAirComponent::update()
[11:48:24]3ffffd20:  3ffffd50 3fff0e64 40100b19 00000000  
WARNING Decoded 0x40100b19: millis
[11:48:24]3ffffd30:  00000213 3fff69ac 00000004 4021aab8  
WARNING Decoded 0x4021aab8: void std::vector<std::unique_ptr<esphome::Scheduler::SchedulerItem, std::default_delete<esphome::Scheduler::SchedulerItem> >, std::allocator<std::unique_ptr<esphome::Scheduler::SchedulerItem, std::default_delete<esphome::Scheduler::SchedulerItem> > > >::_M_realloc_insert<std::unique_ptr<esphome::Scheduler::SchedulerItem, std::default_delete<esphome::Scheduler::SchedulerItem> > >(__gnu_cxx::__normal_iterator<std::unique_ptr<esphome::Scheduler::SchedulerItem, std::default_delete<esphome::Scheduler::SchedulerItem> >*, std::vector<std::unique_ptr<esphome::Scheduler::SchedulerItem, std::default_delete<esphome::Scheduler::SchedulerItem> >, std::allocator<std::unique_ptr<esphome::Scheduler::SchedulerItem, std::default_delete<esphome::Scheduler::SchedulerItem> > > > >, std::unique_ptr<esphome::Scheduler::SchedulerItem, std::default_delete<esphome::Scheduler::SchedulerItem> >&&)
[11:48:24]3ffffd40:  3fff69b4 3fff69ac 3ffffd90 3fff63cc  
[11:48:24]3ffffd50:  00000000 3fff5e94 3ffffd90 4010024c  
WARNING Decoded 0x4010024c: esphome::millis()
[11:48:24]3ffffd60:  00000000 3fff0e64 3fff6854 4022fae2  
WARNING Decoded 0x4022fae2: std::_Function_handler<void (), esphome::PollingComponent::call_setup()::{lambda()#1}>::_M_invoke(std::_Any_data const&) at component.cpp
[11:48:24]3ffffd70:  00000000 3fff0e64 3fff6854 4021af89  
WARNING Decoded 0x4021af89: esphome::Scheduler::call()
[11:48:24]3ffffd80:  000008e1 000008e1 3ffe85e4 40101287  
WARNING Decoded 0x40101287: umm_free_core at umm_malloc.cpp
[11:48:24]3ffffd90:  00000213 3fff5e94 3fff386c 00000000  
[11:48:24]3ffffda0:  3fff2c1c 00000020 3fff6954 40101466  
WARNING Decoded 0x40101466: free
[11:48:24]3ffffdb0:  0000020a 00000013 fffd2100 4023e514  
WARNING Decoded 0x4023e514: operator delete(void*) at /workdir/repo/gcc-gnu/libstdc++-v3/libsupc++/del_op.cc:50
[11:48:24]3ffffdc0:  3fff6024 3ffffde0 00000014 00000100  
[11:48:24]3ffffdd0:  3fff2c1c 00000013 3fff0e64 40219c51  
WARNING Decoded 0x40219c51: esphome::Application::setup()
[11:48:24]3ffffde0:  00000014 00000014 3fff6954 40101466  
WARNING Decoded 0x40101466: free
[11:48:24]3ffffdf0:  00000050 3fff6954 3ffffee8 4023e514  
WARNING Decoded 0x4023e514: operator delete(void*) at /workdir/repo/gcc-gnu/libstdc++-v3/libsupc++/del_op.cc:50
[11:48:24]3ffffe00:  3fff3798 3fff0fe0 3ffffee8 3fff53d8  
[11:48:24]3ffffe10:  3fff3798 3fff0fe0 3ffffee8 4021d6a0  
WARNING Decoded 0x4021d6a0: setup
[11:48:24]3ffffe20:  3fff2e44 00000013 0000001e 00000000  
[11:48:24]3ffffe30:  00000000 00000000 00000000 00000000  
[11:48:24]3ffffe40:  3ffffe48 0000000b 33534741 31707574  
[11:48:24]3ffffe50:  00213332 00000000 00000000 00000000  
[11:48:24]3ffffe60:  00000000 00000000 00000000 00000000  
[11:48:24]3ffffe70:  00000000 00000000 3ffffe80 00000002 <
[11:48:24]3ffffe80:  00005839 00000000 00000000 00000000  
[11:48:24]3ffffe90:  00000000 00000000 3fff2da4 00000019  
[11:48:24]3ffffea0:  0000001e 00000000 00000000 00000000  
[11:48:24]3ffffeb0:  00000000 00000000 00000000 00000000  
[11:48:24]3ffffec0:  00000000 00000000 00000000 00000000  
[11:48:24]3ffffed0:  3fff53cc 3fff53d8 3fff53d8 00000000  
[11:48:24]3ffffee0:  69786f69 00006564 3fff6024 3fff6044  
[11:48:24]3ffffef0:  3fff6064 3ffffee8 00000001 feefeffe  
[11:48:24]3fffff00:  feefeffe feefeffe feefeffe feefeffe  
[11:48:24]3fffff10:  feefeffe feefeffe feefeffe feefeffe  
[11:48:24]3fffff20:  feefeffe feefeffe feefeffe feefeffe  
[11:48:24]3fffff30:  feefeffe feefeffe feefeffe feefeffe  
[11:48:24]3fffff40:  feefeffe feefeffe feefeffe feefeffe  
[11:48:24]3fffff50:  feefeffe feefeffe feefeffe 3ffffed0  
[11:48:24]3fffff60:  00000006 3ffffee8 00000002 feefeffe  
[11:48:24]3fffff70:  3fff0f28 3fff0f20 3fff0f24 3fff0f2c  
[11:48:24]3fffff80:  00000001 0000004d 3fff0fac feefeffe  
[11:48:24]3fffff90:  feefeffe feefeffe feefeffe 3fff1928  
[11:48:24]3fffffa0:  3fffdad0 00000000 3fff1914 4022b300  
WARNING Decoded 0x4022b300: loop_wrapper() at core_esp8266_main.cpp
[11:48:24]3fffffb0:  feefeffe feefeffe 3ffe85e0 40100701  
WARNING Decoded 0x40100701: cont_wrapper
[11:48:24]<<<stack<<<

d1_mini_pro is stable, however that prevents OTA updates from working seemingly due to memory constraints so I need to use the serial port.

Which version of ESPHome has the issue?

2022.08

What type of installation are you using?

pip

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP8266

Board

d1

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Additional information

No response

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

raccettura commented 1 year ago

Still seems to be an issue.