Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M5Stack Core2 disconnects serial once flashed #9857

Open
xpelled opened this issue Dec 3, 2024 · 1 comment
Open

M5Stack Core2 disconnects serial once flashed #9857

xpelled opened this issue Dec 3, 2024 · 1 comment
Labels
board New board or update to a single board bug esp32
Milestone

Comments

@xpelled
Copy link

xpelled commented Dec 3, 2024

CircuitPython version

adafruit-circuitpython-m5stack_core2-en_US-9.2.1
adafruit-circuitpython-m5stack_core2-en_US-9.2.0
adafruit-circuitpython-m5stack_core2-en_US-8.2.9

Code/REPL

# cannot run any code

Behavior

cannot run any code

Description

Once flashed, the board disconnects USB serial after producing the following message:

Serial console setup

The board can be restarted by a short press on the power button and will produce a USB serial for a couple of seconds till the message above is generated, after that will disconnect again. Pressing reset button doesn't produce any noticeable effects.

This doesn't seem to be related to a bootloader, offset and/or tool used for flashing (tested with official website, m5launcher and esptool.py).

Additional information

Tested with USB connection on MacBook Air M2 running MacOS 15.1.1 (24B91)

@xpelled xpelled added the bug label Dec 3, 2024
@tannewt tannewt added board New board or update to a single board esp32 labels Dec 4, 2024
@tannewt tannewt added this to the 9.x.x milestone Dec 4, 2024
@xpelled
Copy link
Author

xpelled commented Dec 16, 2024

I think i've tried all possible ways to flash the firmware and it won't boot.

So went back to Arduino IDE to restore the original factory sketch hoping that may help. Upon doing so i've noticed that Arduino IDE board info outputs the following:

BN: LilyGo T-Display
VID: 0x1A86
PID: 0x55D4
SN: 5864031904

Well, i tried flashing "TTGO T-Display ESP32 16M" CircuitPython 9.2.1 firmware and it booted up all the way into REPL being available over USB serial. Sure, the screen and probably few other peripherals aren't functioning, but at least it boots up and is accessible.

My board has the following printed on the PCB: "CORE2 v1.1 20221130". At this point I'm confused as v1.1 release date is 2023.11 as stated in the Version Change section here:
https://docs.m5stack.com/en/core/Core2%20v1.1

Comparing specs against the original on the official website linked above i see the same chip and most of the the board units being compatible, so i'm still not sure why CircuitPython 8.* and 9.* won't run.

I've tried to build CircuitPython from source with custom board configurations, but so far had no progress, the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board New board or update to a single board bug esp32
Projects
None yet
Development

No branches or pull requests

2 participants