You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem with installing WLEDMM on Adafruit Matrix Portal S3 #205
Hello, I received two Adafruit Matrix Portal S3. I then flashed the current WLED-MM binary. Adafruit MatrixPortal -S3, with HUB75 support: WLEDMM_0.14.1-b32.40_adafruit_matrixportal_esp32s3.bin.
Unfortunately, the 64x64 matrix is very delayed, and the colors don’t really match either.
The color differences might be due to changes on the panel manufacturer side - its quite normal that panels purchased at different times (even from same supplier) will not match colors.
Hi @softhack007
Thank you for your feedback. I will test the firmware later. The displays are both the same; when you swap them, the color differences also shift. I will provide feedback later.
An update fails. When I flash the .bin firmware using esp-flasher, it goes through, but afterwards the WLED-AP is not displayed. The board is not working. Firmware: WLEDMM_14.5.0-beta_adafruit_matrixportal_esp32s3.bin
@letmoc is this "esp home flasher"? I yes, then please use a different tool. ESP home flasher creates broken installs. WLED ESP Flasher should work better.
Using 'COM7' as serial port.
Connecting...
Detecting chip type... ESP32-S3
Connecting...
Chip Info:
Chip Family: ESP32
Chip Model: ESP32-S3
Number of Cores: 1
Max CPU Frequency: 80MHz
Has Bluetooth: NO
Has Embedded Flash: NO
Has Factory-Calibrated ADC: NO
MAC Address: XX:XX:XX:XX:XX:XX
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Flash Size: 8MB
Flash Mode: dio
Flash Frequency: 80MHz
Erasing flash (this may take a while)...
Chip erase completed successfully in 5.9s
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x001a9fff...
Flash params set to 0x023f
Compressed 13936 bytes to 9695...
Writing at 0x00000000... (100 %)
Wrote 13936 bytes (9695 compressed) at 0x00000000 in 0.2 seconds (effective 732.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 894.9 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 1284.2 kbit/s)...
Hash of data verified.
Compressed 1675872 bytes to 1136744...
Writing at 0x00010000... (1 %)
Writing at 0x00019165... (2 %)
Writing at 0x0001e1b5... (4 %)
Writing at 0x00022235... (5 %)
Writing at 0x0002624d... (7 %)
Writing at 0x0002a263... (8 %)
Writing at 0x0002e25c... (10 %)
Writing at 0x000321d8... (11 %)
Writing at 0x0003b35e... (12 %)
Writing at 0x00046b80... (14 %)
Writing at 0x0004f045... (15 %)
Writing at 0x00060659... (17 %)
Writing at 0x00065a12... (18 %)
Writing at 0x0006aab9... (20 %)
Writing at 0x0006fd5c... (21 %)
Writing at 0x00074cd8... (22 %)
Writing at 0x0007a05f... (24 %)
Writing at 0x0007fd1f... (25 %)
Writing at 0x000853cc... (27 %)
Writing at 0x0008a655... (28 %)
Writing at 0x0009076d... (30 %)
Writing at 0x00096298... (31 %)
Writing at 0x0009c224... (32 %)
Writing at 0x000a2782... (34 %)
Writing at 0x000a8059... (35 %)
Writing at 0x000ad330... (37 %)
Writing at 0x000b2dd9... (38 %)
Writing at 0x000b8a4a... (40 %)
Writing at 0x000bdd4b... (41 %)
Writing at 0x000c333f... (42 %)
Writing at 0x000c9639... (44 %)
Writing at 0x000cf638... (45 %)
Writing at 0x000d51b7... (47 %)
Writing at 0x000db876... (48 %)
Writing at 0x000e1811... (50 %)
Writing at 0x000e71e9... (51 %)
Writing at 0x000ed776... (52 %)
Writing at 0x000f36fb... (54 %)
Writing at 0x000f907e... (55 %)
Writing at 0x000fec0b... (57 %)
Writing at 0x00104714... (58 %)
Writing at 0x00109d71... (60 %)
Writing at 0x0010fbc1... (61 %)
Writing at 0x00114d9d... (62 %)
Writing at 0x00119b91... (64 %)
Writing at 0x0011eb03... (65 %)
Writing at 0x00123ce6... (67 %)
Writing at 0x00128be3... (68 %)
Writing at 0x0012db6e... (70 %)
Writing at 0x00132d8d... (71 %)
Writing at 0x00137a36... (72 %)
Writing at 0x0013cb16... (74 %)
Writing at 0x0014224f... (75 %)
Writing at 0x001479f8... (77 %)
Writing at 0x0014c726... (78 %)
Writing at 0x0015185e... (80 %)
Writing at 0x001567aa... (81 %)
Writing at 0x0015bc7e... (82 %)
Writing at 0x00161068... (84 %)
Writing at 0x00166a5b... (85 %)
Writing at 0x0016c34b... (87 %)
Writing at 0x001718cb... (88 %)
Writing at 0x00176d9e... (90 %)
Writing at 0x0017f186... (91 %)
Writing at 0x001877c5... (92 %)
Writing at 0x0018d7ab... (94 %)
Writing at 0x001963c0... (95 %)
Writing at 0x0019b816... (97 %)
Writing at 0x001a1148... (98 %)
Writing at 0x001a6db0... (100 %)
Wrote 1675872 bytes (1136744 compressed) at 0x00010000 in 10.7 seconds (effective 1252.6 kbit/s)...
Hash of data verified.
Leaving...
Hard Resetting...
Hard resetting via RTS pin...
Done! Flashing is complete!
restart your matrixportal board. This should give you a working WLED-MM installation. At first boot, it may take 1-3 minutes before WLED-AP appears, because WLED needs some time to prepare the flash filesystem.
"should" because I don't have the matrixportal board to test.
--> After this procedure (all 3 steps, no cutting corners), you should be able to OTA update to any (newer) version of WLED or WLED-MM.
What DID work was using the basis of the ESPHome flasher - ESP Web Tools. This bad boy successfully flashed the stock S3 build, from which I managed to OTA update to the MatrixPortal-specific build.
I can confirm it works perfectly like this, dear WLED friend. :-)
I can confirm it works perfectly like this, dear WLED friend. :-)
@fonix232@letmoc If you're happy with it, that's OK; ESP Web tools is also used by the official WLED web installer.
Just keep in mind you have been warned about ESPhome Flasher.
It might be that a few months after using this tool, you'll see crazy errors (e.g. cannot save presets, preset or cfg corrupted, or OTA update to a new release errors out).
I'll simply dismiss any problem report after you used ESPHome Flasher, because the tool causes nothing but trouble in user support.
Same about the other wild ideas of first installing Tasmota, then OTA update with a WLED binary.
If you have a matrixportal board, I strongly recommend that you use the bootloader and tools from adafruit. Procedure is described above.
After initially flashing the adafruit firmware, then uploading a special partitions.bin and WLEDMM using adafruit web flasher, you can safely use OTA for updating to any WLED bin.
It's just important that you pick a firmware for esp32-S3 with "qspi" psram.
@letmoc I still did not find time to reproduce your problem. As it takes quite long until the crash occurs, my "educated guess" would be something like this
memory leak
something related with ntp (network time) updating local clocks on the board
something related to the wifi router re-newing the IP address of your board (DHCP). In this case, it might help to disable mDNS in WLED (wifi settings, clear the "mDNS address" field).
before running the adafruit web flasher? Its necessary to restore the adafruit special bootloader. If you don't have the adafruit bootloader, nothing will work.
Also keep your computer connected via USB and watch messages on serial monitor when starting WLED-MM on the matrixportal - without this we can't provide help.
After first installation using the "adafruit way", use OTA update for upgrading to the latest release or nightly
(there are firmware bin files for the matrixportal on our release page)
restart your matrixportal board. This should give you a working WLED-MM installation. At first boot, it may take 1-3 minutes before WLED-AP appears, because WLED needs some time to prepare the flash filesystem.
"should" because I don't have the matrixportal board to test.
--> After this procedure (all 3 steps, no cutting corners), you should be able to OTA update to any (newer) version of WLED or WLED-MM.
I'm running into the same issue trying to flash the S3 and the Adafruit WebSerial ESPTool gives me a error: Error: MD5 of file does not match data in flash!
Just got my MatrixPortal and ended up here after I had flashing problems, thanks to all of you for sharing the solutions. The normal esp32 flashing routine sure wasn't working!
I wanted to add that once you have flashed the bin file that is part of this page with their tool, or with esptool at 0x0000 ...
Activity
letmoc commentedon Dec 17, 2024
Video:
https://wled.discourse.group/t/problem-with-hub75-adafruit-matrix-portal-s3/13630
softhack007 commentedon Dec 18, 2024
hi @letmoc, did you try the latest build?
Its not released yet, but already very stable so you should give it a try https://github.com/MoonModules/WLED/actions/runs/12320735208
The color differences might be due to changes on the panel manufacturer side - its quite normal that panels purchased at different times (even from same supplier) will not match colors.
letmoc commentedon Dec 18, 2024
Hi @softhack007
Thank you for your feedback. I will test the firmware later. The displays are both the same; when you swap them, the color differences also shift. I will provide feedback later.
letmoc commentedon Dec 18, 2024
@softhack007
Update failed!
Please check your file and retry!
An update fails. When I flash the .bin firmware using esp-flasher, it goes through, but afterwards the WLED-AP is not displayed. The board is not working. Firmware: WLEDMM_14.5.0-beta_adafruit_matrixportal_esp32s3.bin
softhack007 commentedon Dec 18, 2024
@netmindz can you test the file? I don't have a matrixportal board.
softhack007 commentedon Dec 18, 2024
@letmoc is this "esp home flasher"? I yes, then please use a different tool. ESP home flasher creates broken installs.
WLED ESP Flasher should work better.
softhack007 commentedon Dec 18, 2024
Another option for flashing:
Step 1. Use this web-based installer to flash any S3 (8MB with qspi psram) firmware: https://wled-install.github.io/
Step 2. OTA update to the adafruit_matrixportal firmware
letmoc commentedon Dec 19, 2024
@softhack007
MoonMod WLED Software Update
WLEDMM_0.14.1-b32.40 matrixportal_esp32s3.bin
(ESP32-S3 build 2406240)
MoonMod WLED Software Update
Updating...
Please do not close or refresh the page :)
Update failed!
Please check your file and retry!
++++++++++++++++++++++++++++++++++++++
The OTA update fails. I used the WLED ESP Flasher, and after flashing, the board does not start, and no WLED-AP is displayed.
letmoc commentedon Dec 19, 2024
Using 'COM7' as serial port.
Connecting...
Detecting chip type... ESP32-S3
Connecting...
Chip Info:
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Chip erase completed successfully in 5.9s
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x001a9fff...
Flash params set to 0x023f
Compressed 13936 bytes to 9695...
Writing at 0x00000000... (100 %)
Wrote 13936 bytes (9695 compressed) at 0x00000000 in 0.2 seconds (effective 732.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 894.9 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 1284.2 kbit/s)...
Hash of data verified.
Compressed 1675872 bytes to 1136744...
Writing at 0x00010000... (1 %)
Writing at 0x00019165... (2 %)
Writing at 0x0001e1b5... (4 %)
Writing at 0x00022235... (5 %)
Writing at 0x0002624d... (7 %)
Writing at 0x0002a263... (8 %)
Writing at 0x0002e25c... (10 %)
Writing at 0x000321d8... (11 %)
Writing at 0x0003b35e... (12 %)
Writing at 0x00046b80... (14 %)
Writing at 0x0004f045... (15 %)
Writing at 0x00060659... (17 %)
Writing at 0x00065a12... (18 %)
Writing at 0x0006aab9... (20 %)
Writing at 0x0006fd5c... (21 %)
Writing at 0x00074cd8... (22 %)
Writing at 0x0007a05f... (24 %)
Writing at 0x0007fd1f... (25 %)
Writing at 0x000853cc... (27 %)
Writing at 0x0008a655... (28 %)
Writing at 0x0009076d... (30 %)
Writing at 0x00096298... (31 %)
Writing at 0x0009c224... (32 %)
Writing at 0x000a2782... (34 %)
Writing at 0x000a8059... (35 %)
Writing at 0x000ad330... (37 %)
Writing at 0x000b2dd9... (38 %)
Writing at 0x000b8a4a... (40 %)
Writing at 0x000bdd4b... (41 %)
Writing at 0x000c333f... (42 %)
Writing at 0x000c9639... (44 %)
Writing at 0x000cf638... (45 %)
Writing at 0x000d51b7... (47 %)
Writing at 0x000db876... (48 %)
Writing at 0x000e1811... (50 %)
Writing at 0x000e71e9... (51 %)
Writing at 0x000ed776... (52 %)
Writing at 0x000f36fb... (54 %)
Writing at 0x000f907e... (55 %)
Writing at 0x000fec0b... (57 %)
Writing at 0x00104714... (58 %)
Writing at 0x00109d71... (60 %)
Writing at 0x0010fbc1... (61 %)
Writing at 0x00114d9d... (62 %)
Writing at 0x00119b91... (64 %)
Writing at 0x0011eb03... (65 %)
Writing at 0x00123ce6... (67 %)
Writing at 0x00128be3... (68 %)
Writing at 0x0012db6e... (70 %)
Writing at 0x00132d8d... (71 %)
Writing at 0x00137a36... (72 %)
Writing at 0x0013cb16... (74 %)
Writing at 0x0014224f... (75 %)
Writing at 0x001479f8... (77 %)
Writing at 0x0014c726... (78 %)
Writing at 0x0015185e... (80 %)
Writing at 0x001567aa... (81 %)
Writing at 0x0015bc7e... (82 %)
Writing at 0x00161068... (84 %)
Writing at 0x00166a5b... (85 %)
Writing at 0x0016c34b... (87 %)
Writing at 0x001718cb... (88 %)
Writing at 0x00176d9e... (90 %)
Writing at 0x0017f186... (91 %)
Writing at 0x001877c5... (92 %)
Writing at 0x0018d7ab... (94 %)
Writing at 0x001963c0... (95 %)
Writing at 0x0019b816... (97 %)
Writing at 0x001a1148... (98 %)
Writing at 0x001a6db0... (100 %)
Wrote 1675872 bytes (1136744 compressed) at 0x00010000 in 10.7 seconds (effective 1252.6 kbit/s)...
Hash of data verified.
Leaving...
Hard Resetting...
Hard resetting via RTS pin...
Done! Flashing is complete!
letmoc commentedon Dec 19, 2024
letmoc commentedon Dec 19, 2024
@softhack007
For your information, I successfully updated the WF2 board to the BETA version via OTA. That works.
softhack007 commentedon Dec 19, 2024
Ok, I did some research. It seems that adafruit wants it "their way", so its best to use their tools and use their stock bootloader.
follow adafruit instructions to install and run the factory-reset-and-bootloader firmware: https://learn.adafruit.com/adafruit-matrixportal-s3/factory-reset#factory-reset-and-bootloader-repair-3107941
(use the adafruit web flasher aka "WebSerial ESPTool Method")
unzip the attached files, and flash them with the adafruit web flasher https://adafruit.github.io/Adafruit_WebSerial_ESPTool
0x8000partitions_8MB_tinyuf2.bin0x10000WLEDMM_14.5.0-beta_matrixportal_esp32s3_tinyuf2.binrestart your matrixportal board. This should give you a working WLED-MM installation. At first boot, it may take 1-3 minutes before WLED-AP appears, because WLED needs some time to prepare the flash filesystem.
"should" because I don't have the matrixportal board to test.
--> After this procedure (all 3 steps, no cutting corners), you should be able to OTA update to any (newer) version of WLED or WLED-MM.
matrixportal_tinyUF2.zip
14 remaining items
letmoc commentedon Jan 11, 2025
@fonix232
I can confirm it works perfectly like this, dear WLED friend. :-)
softhack007 commentedon Jan 11, 2025
@fonix232 @letmoc If you're happy with it, that's OK; ESP Web tools is also used by the official WLED web installer.
Just keep in mind you have been warned about ESPhome Flasher.
It might be that a few months after using this tool, you'll see crazy errors (e.g. cannot save presets, preset or cfg corrupted, or OTA update to a new release errors out).
I'll simply dismiss any problem report after you used ESPHome Flasher, because the tool causes nothing but trouble in user support.
Same about the other wild ideas of first installing Tasmota, then OTA update with a WLED binary.
softhack007 commentedon Jan 11, 2025
If you have a matrixportal board, I strongly recommend that you use the bootloader and tools from adafruit. Procedure is described above.
After initially flashing the adafruit firmware, then uploading a special partitions.bin and WLEDMM using adafruit web flasher, you can safely use OTA for updating to any WLED bin.
It's just important that you pick a firmware for esp32-S3 with "qspi" psram.
letmoc commentedon Jan 13, 2025
The test was conducted without a matrix display. After a little more than 48 hours, the restart occurred.
The second test with the board that I flashed using the method from fonix232 is currently running for 2 days and 7 hours without a restart.
letmoc commentedon Jan 14, 2025
@softhack007
The second module also rebooted. Just for your information.
softhack007 commentedon Jan 16, 2025
46f41e9
@letmoc I still did not find time to reproduce your problem. As it takes quite long until the crash occurs, my "educated guess" would be something like this
netmindz commentedon Jan 25, 2025
Can we open a fresh issue please to track reboots and then we can close this installation one as resolved
letmoc commentedon Feb 1, 2025
@netmindz @softhack007
I have created a new topic; the discussion is now continued under #222
netmindz commentedon Feb 3, 2025
Are we now good to close this issue?
Sireone commentedon Aug 16, 2025
After following the reset step from @softhack007 above & flashing both files, I still don't see any WLED-AP. Thoughts?
softhack007 commentedon Nov 22, 2025
@Sireone did you also perform this step
before running the adafruit web flasher? Its necessary to restore the adafruit special bootloader. If you don't have the adafruit bootloader, nothing will work.
Also keep your computer connected via USB and watch messages on serial monitor when starting WLED-MM on the matrixportal - without this we can't provide help.
softhack007 commentedon Feb 11, 2026
Update: adafruit official guide for installing WLED-MM on the matrixportal
https://learn.adafruit.com/matrix-portal-stained-glass-with-wled/install-wled-moonmodules
After first installation using the "adafruit way", use OTA update for upgrading to the latest release or nightly
(there are firmware bin files for the matrixportal on our release page)
abeumer commentedon Mar 2, 2026
I'm running into the same issue trying to flash the S3 and the Adafruit WebSerial ESPTool gives me a error:
Error: MD5 of file does not match data in flash!Emstar commentedon May 22, 2026
Just got my MatrixPortal and ended up here after I had flashing problems, thanks to all of you for sharing the solutions. The normal esp32 flashing routine sure wasn't working!
I wanted to add that once you have flashed the bin file that is part of this page with their tool, or with
esptoolat0x0000...https://learn.adafruit.com/matrix-portal-stained-glass-with-wled/install-wled-moonmodules
You can then flash new WLED MatrixPortal builds at
0x10000.In other words, starting with that specific image they cooked up for that page can apparently let you avoid the factory reset procedure.