Announcement
Collapse
No announcement yet.
ANNOUNCE: Squeezelite-ESP32 (dedicated thread)
Collapse
X
-
Originally posted by wizmo View PostLMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
Comment
-
Originally posted by Maudiot View PostThat makes a lot of sense. I'm inclined to agree, there is something not right even though it shows the proper amount of memory etc, and that would explain it. When the Amazon photo shows a solder bridge on pins that might be a good indicator not to buy lol. I've ordered a couple of different boards to try now to decide if I want to try returning a slightly modified incorrectly labeled one.
Thanks everyone for the help!LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
Comment
-
Originally posted by philippe_44 View PostDid you wipe it out with espressif's tool?
Comment
-
Originally posted by Maudiot View PostI couldn't remember if I did and immediately reflashed with Squeezelite so I just did to verify. I erased flash with ESP IDF, checked monitor on now blank device and received the same error which was expected since nothing exists at 0x1000 to boot from and then reflashed with Squeezelite web installer. Still getting the same error. I'm thinking these boards are either mislabeled or faulty but if there's any other testing you want me to perform I'm happy to, Thanks again for all the work you have put in this.
Then very recently, looking for a WLED controller, I decided to give this module another shot. And on WLED it worked well for over a week so far.
I also read about possible issues with the pins, but haven't tried removing them yet.
So it looks like WLED is far less peculiar about these issues? Maybe it just doesn't use the same amount of memory in the same way.
Comment
-
Turnoff Led
Good evening
First of all, thank you for this great work that helps us so much.
I would like to see if anyone knows which pin the green led is connected to. I have a board like the one shown in #1721 but I can't turn off the led with the set_GPIO parameter or with the led_brightness parameter.
I think I'm not hitting the correct pin or I'm doing something wrong.
I have tried with pin 5, 22 and some other but without success
I appreciate any comment that clarifies my ideas
Comment
-
Originally posted by nenu View PostThis all sounds very familiar and similar to a problem I was having and based on the log files was diagnosed by sle118 here as an issue with flash memory. That is a WROVER Devkit C module.
Then very recently, looking for a WLED controller, I decided to give this module another shot. And on WLED it worked well for over a week so far.
I also read about possible issues with the pins, but haven't tried removing them yet.
So it looks like WLED is far less peculiar about these issues? Maybe it just doesn't use the same amount of memory in the same way.LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
Comment
-
Originally posted by sle118 View PostThat makes total sense. Would you mind taking a picture of one of your board? I would link your explanation to the issue in Github
I have two boards, a muse luxe speaker and a dev board with a camera interface, both using the original WROVER (no suffix). Espressif also produces a WROVER-B and WROVER-E; since I don't have access to either my comments on those are based on data sheets and the ESP-IDF bug tracker.
The pictures are of my dev board, which identifies as D0WDQ6 revision 1.
[email protected]:~$ esptool.py flash_id
esptool.py v3.3-dev
Found 1 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting......
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:c9:a3:d8:1f:48
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 6016
Detected flash size: 4MB
Hard resetting via RTS pin...
According to their data sheets the WROVER-B should identify as D0WD and the WROVER-E as D0WD-V3. The WROVER has a bootloader date of Jun 8 2016 whereas the WROVER-E appears to have a bootloader date of Jul 29 2019; I don't know what bootloader date the WROVER-B has.
The WROVER and WROVER-B both make the pins that interface to the on-chip flash available externally on CLK, CMD, and SD0-SD3, and these dev boards connect those all the way to pins near the USB connector on the board. Espressif specifically recommends against connecting the flash pins externally, and on the WROVER-E all six pins are NC. Therefore, a board with a genuine WROVER-E is not susceptible to the issue discussed here, although there is a WROVER-E flash corruption issue discussed elsewhere in this thread.
My dev board worked fine with all the Espressif samples I tried and worked with squeezelite-esp32 provided nothing was touching the flash pins. As soon as I plugged the board into a breadboard squeezelite-esp32 would go into a bootloop due to flash read errors, although the Espressif samples, which run the clocks at slower settings, still worked.
As shown in the pictures, I broke the flash pins to prevent them making contact with the breadboard, and squeezelite-esp32 now runs again on my board. It wouldn't surprise me if some boards have more sensitive flash interfaces than others, which would explain the reports of boards that won't boot squeezelite-esp32 even without external connections to those pins.
Once again, a genuine WROVER-E cannot be affected by this issue.
Comment
-
Originally posted by philippe_44 View PostThe difference mug he be that we use the flash in QIO mode at maximum bus speed (80MHz) so it’s probably less forgiving to bad design. Now, is the OP sure that the issue happened with nothing connected on the GPIOs and q fully blanked flash (NVS needs to be erased)
Comment
-
Originally posted by cosmok82 View PostThanks, MumPf, this is my demo working button configuration:
I got during my tests some issues, so thought to make this video to show you the cases. It's pretty frustrating to understand if it's a server fault or esp32 flat, please feel free to examine it.
[...]
do you think it would be possible for you to share your 3d printed case project?
thank you
Comment
-
Originally posted by philippe_44 View PostThe difference mug he be that we use the flash in QIO mode at maximum bus speed (80MHz) so it’s probably less forgiving to bad design. Now, is the OP sure that the issue happened with nothing connected on the GPIOs and q fully blanked flash (NVS needs to be erased)
Comment
-
Originally posted by Maudiot View PostI ordered a different brand of board and it worked without any issues so I am giving up on the other ones. I did have a couple of minor issues that I am still trying to work out. My DAC is I2S and like in the reported issue on github I had to configure it through NVS but it's working great now. The other one I am still trying to figure out. I have added a rotary encoder for volume and play/pause control, this configuration was accepted through the web interface and the volume control works perfectly. The button is only half working though, it will pause but not resume. If I understand the docs correctly it should be toggle by default. I have been trying to connect through telnet to see what logs are available but keep getting a "connection refused" error in putty. I have also looked at trying to define the encoder push button separately but I can't seem to understand exactly how and where the json encoding works/goes. Sorry for any stupid questions this just seems to be beyond me.LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
Comment
-
Originally posted by philippe_44 View PostIf you want just volume up/down and play toggle, you have to set the "volume" option of the rotary_config (https://github.com/sle118/squeezelit...rotary-encoder). Re telnet, you have to enable it first in the UI
I have set the volume option check box and verified that volume was included in the rotary_config NVS parameter.
I have also enable telnet from the drop down and verified that Y is present in the telnet_enable parameter.
I have switched the GPIO from 23 to 19 to verify it's not a GPIO problem.
Comment
-
Originally posted by piPlayer View PostI got the SSD1305 display to work.
All I had to do was change the COM pin configuration in the ssd1306.c file line 122 from 0xda to 0x12.
Code:// COM pins HW configuration (alternatively:EN if 64, DIS if 32, remap:DIS) - some displays might need something else Device->WriteCommand( Device, [COLOR="#FF0000"]0xDA[/COLOR] );
Code:// COM pins HW configuration (alternatively:EN if 64, DIS if 32, remap:DIS) - some displays might need something different Device->WriteCommand( Device, [COLOR="#008000"]0x12[/COLOR] );
Code:// Display offset Device->WriteCommand( Device, 0xD3 ); Device->WriteCommand( Device, [COLOR="#FF0000"]0[/COLOR] );
Code:// Display offset Device->WriteCommand( Device, 0xD3 ); Device->WriteCommand( Device, [COLOR="#008000"]0x01[/COLOR] );
Comment
-
Originally posted by mboxler View PostSorry about that! I just assumed all the jumpers were already pre-soldered, except SCK. That's how my board was delivered.
Comment
Comment