Lightwell-bg / RGB-P4-Led-Matrix-Clock-based-on-ESP32

“RGB P4 Led Matrix Clock based on ESP32” is a multifunctional clock with functions of displaying weather, weather forecast, receiving news feed, displaying any given information at the appointed time. Management is carried out via a web interface or a mobile application. The watch has low power consumption and at the same time provides a high display thanks to the use of RGB matrix panel P4 (62x32).
GNU General Public License v3.0
31 stars 3 forks source link

Can't seem to compile with Platformio #5

Open Barrel0Memes97 opened 2 weeks ago

Barrel0Memes97 commented 2 weeks ago

I get lots of warnings when building and sending to esp32. Then I get these errors in the esp console I downloaded the entire code from the repo and am using platformio to build and flash but keep running into the same output. To be clear, it builds and flashes successfully. But does has warnings. Here's the pastebin of my terminal log https://pastebin.com/TrLVy22d

rst:0x1 (POWERON_RESET),boot:0x13 (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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
E (11) SPIFFS: mount failed, -10025
[E][SPIFFS.cpp:89] begin(): Mounting SPIFFS failed! Error: -1
An Error has occurred while mounting SPIFFS
[E][WiFiUdp.cpp:219] parsePacket(): could not receive data: 9
[E][WiFiUdp.cpp:219] parsePacket(): could not receive data: 9
Barrel0Memes97 commented 2 weeks ago

Update- I got it to build correctly without warnings or errors after redownloading. But neither the prebuilt firmware.bin or the firmware.bin that I make with platformio correctly flash. I cant even get both the firmware.bin and spiffs.bin on at the same time, I get one of 2 different errors every time "8-download failed" or "16-bin file overlap". I have tried flashing with 2 different tools and each have there errors and weirdness. With EspFlashTool it wants specific sectors for each bin but I cant find what sectors to put it for it to work. And additionally, I cant flash both firmware.bin and spiffs.bin at once without it failing and giving me a "16-bin file overlap" error. The furthest I got with EspFlashTool was spiffs being mounted correctly but that seems to be all.

When I flashed the firmware.bin and got a working output.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (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:2
load:0x3f400020,len:251252
ets Jul 29 2019 12:21:46

When I flashed the firmware.bin and got a nonworking output.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
ets Jul 29 2019 12:21:46

I then tried with the built-in upload command with platformio and got it to flash correctly every time. But I would have the same error every time no matter what. Basically spiffs would not mount and nothing worked.

rst:0x1 (POWERON_RESET),boot:0x13 (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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
E (11) SPIFFS: mount failed, -10025
[E][SPIFFS.cpp:89] begin(): Mounting SPIFFS failed! Error: -1
An Error has occurred while mounting SPIFFS
[E][WiFiUdp.cpp:219] parsePacket(): could not receive data: 9
[E][WiFiUdp.cpp:219] parsePacket(): could not receive data: 9

To add, I got a stable ish console output using EspFlashTool but even with that there was no wifi hotspot or activity on any pins.