M5paper: Build Factory Test from Github
-
Hi,
i have tryed to build the Factory Test Programm for my new M5Paper V1.1 from the Github Source with PlatformIO and VS-Code.
The Build and Upload-Process runs without any errors, but the Programm doesn´t start, the Screen turns after reset 5 or 6 times black and white and then stay white. Logs are at the End from my Post.Here is my Build and Upload Log:
Processing m5stack-fire (platform: espressif32; board: m5stack-fire; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-fire.html PLATFORM: Espressif 32 (5.2.0) > M5Stack FIRE HARDWARE: ESP32 240MHz, 4.31MB RAM, 16MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES: - framework-arduinoespressif32 @ 3.20005.220925 (2.0.5) - tool-esptoolpy @ 1.40201.0 (4.2.1) - tool-mkfatfs @ 2.0.1 - tool-mklittlefs @ 1.203.210628 (2.3) - tool-mkspiffs @ 2.230.0 (2.30) - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 33 compatible libraries Scanning dependencies... Dependency Graph |-- M5EPD @ 0.1.4 | |-- FS @ 2.0.0 | |-- HTTPClient @ 2.0.0 | | |-- WiFi @ 2.0.0 | | |-- WiFiClientSecure @ 2.0.0 | | | |-- WiFi @ 2.0.0 | |-- Wire @ 2.0.0 | |-- SD @ 2.0.0 | | |-- FS @ 2.0.0 | | |-- SPI @ 2.0.0 | |-- SPI @ 2.0.0 | |-- SPIFFS @ 2.0.0 | | |-- FS @ 2.0.0 |-- WiFi @ 2.0.0 |-- SD @ 2.0.0 | |-- FS @ 2.0.0 | |-- SPI @ 2.0.0 Building in release mode Compiling .pio\build\m5stack-fire\src\epdgui\epdgui.cpp.o Compiling .pio\build\m5stack-fire\src\epdgui\epdgui_base.cpp.o Compiling .pio\build\m5stack-fire\src\epdgui\epdgui_button.cpp.o Compiling .pio\build\m5stack-fire\src\epdgui\epdgui_keyboard.cpp.o Compiling .pio\build\m5stack-fire\src\epdgui\epdgui_mutexswitch.cpp.o Compiling .pio\build\m5stack-fire\src\epdgui\epdgui_switch.cpp.o Compiling .pio\build\m5stack-fire\src\epdgui\epdgui_textbox.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_base.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_compare.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_factorytest.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_fileindex.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_home.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_keyboard.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_lifegame.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_main.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_pictureviewer.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_setting.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_setting_language.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_setting_wallpaper.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_txtreader.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_wifipassword.cpp.o Compiling .pio\build\m5stack-fire\src\frame\frame_wifiscan.cpp.o Compiling .pio\build\m5stack-fire\src\global_setting.cpp.o Compiling .pio\build\m5stack-fire\src\main.cpp.o Compiling .pio\build\m5stack-fire\src\systeminit.cpp.o Building .pio\build\m5stack-fire\bootloader.bin esptool.py v4.2.1 Creating esp32 image... Merged 1 ELF section Successfully created esp32 image. Generating partitions .pio\build\m5stack-fire\partitions.bin Compiling .pio\build\m5stack-fire\lib1c1\FS\FS.cpp.o Compiling .pio\build\m5stack-fire\lib1c1\FS\vfs_api.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFi.cpp.o Archiving .pio\build\m5stack-fire\lib1c1\libFS.a Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiAP.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiClient.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiGeneric.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiMulti.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiSTA.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiScan.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiServer.cpp.o Compiling .pio\build\m5stack-fire\libcf7\WiFi\WiFiUdp.cpp.o Compiling .pio\build\m5stack-fire\libbb1\WiFiClientSecure\WiFiClientSecure.cpp.o Compiling .pio\build\m5stack-fire\libbb1\WiFiClientSecure\esp_crt_bundle.c.o Compiling .pio\build\m5stack-fire\libbb1\WiFiClientSecure\ssl_client.cpp.o Archiving .pio\build\m5stack-fire\libcf7\libWiFi.a Compiling .pio\build\m5stack-fire\lib152\HTTPClient\HTTPClient.cpp.o Compiling .pio\build\m5stack-fire\lib9b7\Wire\Wire.cpp.o Compiling .pio\build\m5stack-fire\libf31\SPI\SPI.cpp.o Archiving .pio\build\m5stack-fire\libbb1\libWiFiClientSecure.a Compiling .pio\build\m5stack-fire\lib770\SD\SD.cpp.o Archiving .pio\build\m5stack-fire\libf31\libSPI.a Compiling .pio\build\m5stack-fire\lib770\SD\sd_diskio.cpp.o Archiving .pio\build\m5stack-fire\lib9b7\libWire.a Compiling .pio\build\m5stack-fire\lib770\SD\sd_diskio_crc.c.o Compiling .pio\build\m5stack-fire\lib05a\SPIFFS\SPIFFS.cpp.o Archiving .pio\build\m5stack-fire\lib152\libHTTPClient.a Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\Fonts\Font16.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\Fonts\Font32rle.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\Fonts\Font64rle.c.o Archiving .pio\build\m5stack-fire\lib770\libSD.a Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\Fonts\Font72rle.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\Fonts\Font7srle.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\Fonts\glcdfont.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\M5EPD.cpp.o Archiving .pio\build\m5stack-fire\lib05a\libSPIFFS.a Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\M5EPD_Canvas.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\M5EPD_Driver.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\basepic.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftadvanc.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftapi.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftbase.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftbbox.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftbitmap.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftcalc.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftdbgmem.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftdebug.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftfstype.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftgasp.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftgloadr.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftglyph.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftgxval.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftinit.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftobjs.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftoutln.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftpic.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftrfork.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftsnames.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftstream.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftsystem.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\fttrigon.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\ftutil.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\base\md5.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\ffsupport.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\font_render.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\sfdriver.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\sfnt.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\sfntpic.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\sfobjs.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttbdf.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttcmap.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttkern.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttload.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttmtx.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttpost.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttsbit.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\sfnt\ttsbit0.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\smooth\ftgrays.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\smooth\ftsmooth.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\smooth\ftspic.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\smooth\smooth.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\truetype.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\ttdriver.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\ttgload.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\ttinterp.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\ttobjs.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\ttpic.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\ttpload.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\truetype\ttsubpix.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\BM8563.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\Button.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\GT911.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\In_eSPI.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\SHT3x.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\Sprite.cpp.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\pngle.c.o Compiling .pio\build\m5stack-fire\lib0ef\M5EPD\utility\qrcode.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\Esp.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\FirmwareMSC.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\FunctionalInterrupt.cpp.o Archiving .pio\build\m5stack-fire\lib0ef\libM5EPD.a Compiling .pio\build\m5stack-fire\FrameworkArduino\HWCDC.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\HardwareSerial.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\IPAddress.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\IPv6Address.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\MD5Builder.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\Print.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\Stream.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\StreamString.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\Tone.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\USB.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\USBCDC.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\USBMSC.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\WMath.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\WString.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\base64.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\cbuf.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-adc.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-bt.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-cpu.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-dac.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-gpio.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-i2c-slave.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-i2c.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-ledc.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-matrix.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-misc.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-psram.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-rgb-led.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-rmt.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-sigmadelta.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-spi.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-time.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-timer.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-tinyusb.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-touch.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\esp32-hal-uart.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\firmware_msc_fat.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\libb64\cdecode.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\libb64\cencode.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\main.cpp.o Compiling .pio\build\m5stack-fire\FrameworkArduino\stdlib_noniso.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\wiring_pulse.c.o Compiling .pio\build\m5stack-fire\FrameworkArduino\wiring_shift.c.o Archiving .pio\build\m5stack-fire\libFrameworkArduino.a Linking .pio\build\m5stack-fire\firmware.elf Retrieving maximum program size .pio\build\m5stack-fire\firmware.elf Checking size .pio\build\m5stack-fire\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [ ] 1.0% (used 44720 bytes from 4521984 bytes) Flash: [=== ] 33.5% (used 2197609 bytes from 6553600 bytes) Building .pio\build\m5stack-fire\firmware.bin esptool.py v4.2.1 Creating esp32 image... Merged 25 ELF sections Successfully created esp32 image. Configuring upload protocol... AVAILABLE: cmsis-dap, esp-bridge, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Looking for upload port... Auto-detected: COM5 Uploading .pio\build\m5stack-fire\firmware.bin esptool.py v4.2.1 Serial port COM5 Connecting.... Chip is ESP32-D0WDQ6-V3 (revision 3) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 78:21:84:95:80:e4 Uploading stub... Running stub... Stub running... Configuring flash size... Flash will be erased from 0x00001000 to 0x00005fff... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x0000e000 to 0x0000ffff... Flash will be erased from 0x00010000 to 0x00229fff... Compressed 17440 bytes to 12127... Writing at 0x00001000... (100 %) Wrote 17440 bytes (12127 compressed) at 0x00001000 in 1.3 seconds (effective 103.8 kbit/s)... Hash of data verified. Compressed 3072 bytes to 129... Writing at 0x00008000... (100 %) Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.1 seconds (effective 378.3 kbit/s)... Hash of data verified. Compressed 8192 bytes to 47... Writing at 0x0000e000... (100 %) Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 601.6 kbit/s)... Hash of data verified. Compressed 2203488 bytes to 773378... Writing at 0x00010000... (2 %) Writing at 0x00055f85... (4 %) Writing at 0x000d5562... (6 %) Writing at 0x000e1dfe... (8 %) Writing at 0x000ea863... (10 %) Writing at 0x000fe670... (12 %) Writing at 0x00104f69... (14 %) Writing at 0x0012528e... (16 %) Writing at 0x00132157... (18 %) Writing at 0x00141000... (20 %) Writing at 0x0014aecd... (22 %) Writing at 0x0015a3d4... (25 %) Writing at 0x001626a8... (27 %) Writing at 0x001688f2... (29 %) Writing at 0x0016fb87... (31 %) Writing at 0x001757c7... (33 %) Writing at 0x0017aca9... (35 %) Writing at 0x0018000b... (37 %) Writing at 0x001851ef... (39 %) Writing at 0x0018aa04... (41 %) Writing at 0x00190ab0... (43 %) Writing at 0x0019654d... (45 %) Writing at 0x0019c1a8... (47 %) Writing at 0x001a178e... (50 %) Writing at 0x001a6b0c... (52 %) Writing at 0x001abcb2... (54 %) Writing at 0x001b102f... (56 %) Writing at 0x001b6259... (58 %) Writing at 0x001bb323... (60 %) Writing at 0x001c0687... (62 %) Writing at 0x001c599f... (64 %) Writing at 0x001cb6a6... (66 %) Writing at 0x001d0b8b... (68 %) Writing at 0x001d5e05... (70 %) Writing at 0x001db18f... (72 %) Writing at 0x001e058d... (75 %) Writing at 0x001e5bbb... (77 %) Writing at 0x001eb4a3... (79 %) Writing at 0x001f123a... (81 %) Writing at 0x001f6ac2... (83 %) Writing at 0x001fc5a4... (85 %) Writing at 0x00205967... (87 %) Writing at 0x0020d8ee... (89 %) Writing at 0x00212bd7... (91 %) Writing at 0x002184dc... (93 %) Writing at 0x0021dedc... (95 %) Writing at 0x002231fa... (97 %) Writing at 0x00228c09... (100 %) Wrote 2203488 bytes (773378 compressed) at 0x00010000 in 73.8 seconds (effective 239.0 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... ======================================================================================== [SUCCESS] Took 444.27 seconds ========================================================================================
And Here is the output from the Serial-Monitor:
[ 7][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz [ 456][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled M5EPD initializing...[ 2646][D][M5EPD_Driver.cpp:68] begin(): Init SUCCESS. [ 3273][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x400fc7dc arg=0x3ffbde2c [ 3419][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3420][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3431][D][GT911.cpp:35] begin(): GT911: Initialization [ 3432][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000 [ 7][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz [ 456][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled M5EPD initializing...[ 2646][D][M5EPD_Driver.cpp:68] begin(): Init SUCCESS. [ 3273][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x400fc7dc arg=0x3ffbde2c [ 3419][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3420][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3431][D][GT911.cpp:35] begin(): GT911: Initialization [ 3432][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000 [ 3547][D][font_render.c:63] font_cache_init(): Chace use 51104 bytes [ 7][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz [ 456][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled M5EPD initializing...[ 2646][D][M5EPD_Driver.cpp:68] begin(): Init SUCCESS. [ 3273][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x400fc7dc arg=0x3ffbde2c [ 3419][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3420][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3430][D][GT911.cpp:35] begin(): GT911: Initialization [ 3431][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000 [ 3547][D][font_render.c:63] font_cache_init(): Chace use 51104 bytes [ 7][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz [ 456][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled M5EPD initializing...[ 2646][D][M5EPD_Driver.cpp:68] begin(): Init SUCCESS. [ 3273][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x400fc7dc arg=0x3ffbde2c [ 3419][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3420][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3430][D][GT911.cpp:35] begin(): GT911: Initialization [ 3431][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000 [ 3547][D][font_render.c:63] font_cache_init(): Chace use 51104 bytes [ 7][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz [ 456][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled M5EPD initializing...[ 2646][D][M5EPD_Driver.cpp:68] begin(): Init SUCCESS. [ 3273][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x400fc7dc arg=0x3ffbde2c [ 3419][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3420][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3431][D][GT911.cpp:35] begin(): GT911: Initialization [ 3432][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000 [ 3547][D][font_render.c:63] font_cache_init(): Chace use 51104 bytes [ 7][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz [ 456][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled M5EPD initializing...[ 2646][D][M5EPD_Driver.cpp:68] begin(): Init SUCCESS. [ 3273][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x400fc7dc arg=0x3ffbde2c [ 3419][W][sd_diskio.cpp:516] ff_sd_initialize(): GO_IDLE_STATE failed [ 3420][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work [ 3430][D][GT911.cpp:35] begin(): GT911: Initialization [ 3431][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000 [ 3547][D][font_render.c:63] font_cache_init(): Chace use 51104 bytes
With the last line the "Boot-Loop" stops.
Can someone please help to fix the error?
The Version of the Factory-Test from M5Burner run without any errors.I had tryed without any sucess to use older M5EPD libary at version 0.1.1
Thank you very much.
Cermit -
Hello @Cermit
yes, it looks like in the latest version of framework-arduinoespressif32 (v2.0.5) something broke the M5Paper factory test.
I had success using the previous version (v2.0.4).
Note: I have an original M5Paper (e.g. v1.0) so you might get different results.
To change the version to use you can modify the following line in
platformio.ini
:platform = espressif32 ; always picks the latest (currently 2.0.5)
to
platform = espressif32@5.1.1 ; Arduino 2.0.4
Thanks
Felix -