Skip to content

M5Core2 support for W5500 LAN unit #147

@RIES-endo

Description

@RIES-endo

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions