-
Notifications
You must be signed in to change notification settings - Fork 53
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
M5paper stuck in - M5EPD initializing...OK - loop #53
Comments
FYI the exact same behavior happens with this example project (https://github.com/m5stack/M5Paper_FactoryTest ) I get this as output, over and over again: Any help is highly appreciated as I really have no idea why it is restarting all the time, but burning the examples from m5burner works fine with my setup (Mac + usb cable + m5paper) |
Ok I've made some progress. It seems to be related to the touch initialization and the esp framework version. I used the latest version 5.2.0 and this didn't work BUT with version 5.1.1 of ESP it is working. I have no idea what has changed but this was breaking this library :) |
Hi, I have the same error and boot loop. Managed to narrow the error down to newer version of espressif/arduino-esp32; worked on 2.0.4, crashing on 2.0.5. Managed to get code working by adding But I also have no idea which change broke it. |
Thanks for the insight :) lets hope it will be fixed in the next release :) |
Describe the bug
I tested some examples from this library(Touch, Button ...) and always see the same issue with my M5Paper board. It constantly restarts and is stuck in a loop printing "M5EPD initializing...OK" The full verbose output can be found below:
[ 2856][W][sd_diskio.cpp:174] sdCommand(): no token received
[ 2957][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00
[ 2957][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed
[ 2958][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
[ 2967][W][sd_diskio.cpp:174] sdCommand(): no token received
[ 3072][W][sd_diskio.cpp:174] sdCommand(): no token received
[ 3173][W][sd_diskio.cpp:174] sdCommand(): no token received
[ 3274][E][sd_diskio.cpp:199] sdCommand(): Card Failed! cmd: 0x00
[ 3274][D][GT911.cpp:35] begin(): GT911: Initialization
[ 3274][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000
OK
[ 5][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 453][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
To reproduce
This happens with every project. I selected the M5paper as board (see image)
I also tried to upload the example with Platform IO with the following configuration:
[env:next-dev]
platform = espressif32
board = esp32dev
framework = arduino
upload_speed = 2000000
monitor_speed = 115200
upload_port = /dev/cu.wchusbserial537A0111951
lib_deps = m5stack/M5EPD@^0.1.4
Expected behavior
I haven't change a single line of code so just wanted to run the example. The M5Burner works for me, I have tested this :)
Screenshots
No response
Environment
Additional context
Thanks and best regards,
Nils
Issue checklist
The text was updated successfully, but these errors were encountered: