M5Core2 icon indicating copy to clipboard operation
M5Core2 copied to clipboard

M5Core2 support for W5500 LAN unit

Open RIES-endo opened this issue 1 year ago • 1 comments

Describe the bug

I want to use M5Core2 at Ethernet network (not WIFI network). I try to use Ethernet and ESP_Mail_Client library to send e-mail but it failed.

To reproduce

Compile this code:

ESP32.ino.txt

Expected behavior

Send mail from M5Core2 via Ethernet connection

Screenshots

Here is Serial monitor output :

! I: Resetting Ethernet Board... ! I: Starting Ethernet connection... ! I: Connected with IP 192.168.11.202

Connecting to SMTP server... C: ESP Mail Client v3.4.15 C: connecting to SMTP server C: Host > smtp.*.jp C: Port > 587

SMTP server connected C: SMTP server connected, wait for greeting... < S: 220 smtp1.*.jp ESMTP Welcome to *** mailgateway Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.

Core 1 register dump: PC : 0x40093994 PS : 0x00060c33 A0 : 0x80094113 A1 : 0x3ffca4f0 A2 : 0x3f800014 A3 : 0xffffffff A4 : 0xfffffffc A5 : 0xbaad5678 A6 : 0x00060020 A7 : 0x00000001 A8 : 0x3f800bd4 A9 : 0x00000004 A10 : 0x3f800278 A11 : 0x00000000 A12 : 0x3f800bdc A13 : 0x3f800078 A14 : 0x00000005 A15 : 0x00000005 SAR : 0x0000001b EXCCAUSE: 0x0000001d EXCVADDR: 0x0000000b LBEG : 0x4008bd0d LEND : 0x4008bd1d LCOUNT : 0xffffffee

Backtrace: 0x40093991:0x3ffca4f0 0x40094110:0x3ffca510 0x4009424a:0x3ffca530 0x40084301:0x3ffca550 0x40094679:0x3ffca570 0x400db989:0x3ffca590 0x400e3e8a:0x3ffca5b0 0x400eb297:0x3ffca690 0x400eb321:0x3ffca6d0 0x400eb368:0x3ffca6f0 0x400d2aaa:0x3ffca710 0x40102776:0x3ffcaab0

Environment

  • OS: Linux
  • IDE &IDE Version: 2.2.1
  • Repository Version: M5Core2 0.18

Additional context

https://github.com/mobizt/ESP-Mail-Client/issues/316

Issue checklist

  • [X] I searched for previous reports in the issue tracker
  • [X] My report contains all necessary details

RIES-endo avatar Jan 26 '24 04:01 RIES-endo

Sorry, The Correct debug message is below :

rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (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:1184 load:0x40078000,len:13260 load:0x40080400,len:3028 entry 0x400805e4

dinosauria123 avatar Jan 26 '24 05:01 dinosauria123