Announcement

Collapse
No announcement yet.

ANNOUNCE: the SqueezeAMP, next generation squeezeboxen amplifier/receiver

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trouble flashing, probably being stupid

    I received two of the boost variety (thanks Philippe!), and am trying to flash them. In order to make things simple at first, I am just using a downloaded binary.
    Here are the details:
    1) using binary `squeezelite-esp32-master-v4.3-SqueezeAmp-32-21254.bin`
    2) using an ESP32 nodemcu as an adapter to connect to my desktop, but grounding EN pin, connecting 3.3v, GND, TX and RX to the squeezeAMP board, and not otherwise powering the board. Trying to ground DWL (but the connection may be a bit dodgy).
    3) using ubuntu 20.04 on the desktop
    4) web installer never recognizes the board.
    5) try using ESPhomeflasher to install binary. This does recognize a board, but may the wrong one. It says
    Code:
    Connecting...
    Detecting chip type... ESP32
    Connecting...
    
    Chip Info:
     - Chip Family: ESP32
     - Chip Model: ESP32-D0WD (revision 1)
     - Number of Cores: 2
     - Max CPU Frequency: 240MHz
     - Has Bluetooth: YES
     - Has Embedded Flash: NO
     - Has Factory-Calibrated ADC: YES
     - MAC Address: 8C:4B:14:2A:6A:E4
    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)...
    It then goes on to erase and write, but when restarted, no AP shows up.

    I am probably making this too hard and being stupid. Anybody have a suggestion to make this work?

    EDIT: Maybe it is working. There is an AP that shows up and goes away when I power up or down the board. But the AP ssid is something like z111x00 and a second one with an 'm' added at the end. Is this it? What is the password? 'squeezelite' does not work for either of them.
    Last edited by schieber; 2022-12-24, 16:52.

    Comment


      Originally posted by schieber View Post
      I received two of the boost variety (thanks Philippe!), and am trying to flash them. In order to make things simple at first, I am just using a downloaded binary.
      Here are the details:
      1) using binary `squeezelite-esp32-master-v4.3-SqueezeAmp-32-21254.bin`
      2) using an ESP32 nodemcu as an adapter to connect to my desktop, but grounding EN pin, connecting 3.3v, GND, TX and RX to the squeezeAMP board, and not otherwise powering the board. Trying to ground DWL (but the connection may be a bit dodgy).
      3) using ubuntu 20.04 on the desktop
      4) web installer never recognizes the board.
      5) try using ESPhomeflasher to install binary. This does recognize a board, but may the wrong one. It says
      Code:
      Connecting...
      Detecting chip type... ESP32
      Connecting...
      
      Chip Info:
       - Chip Family: ESP32
       - Chip Model: ESP32-D0WD (revision 1)
       - Number of Cores: 2
       - Max CPU Frequency: 240MHz
       - Has Bluetooth: YES
       - Has Embedded Flash: NO
       - Has Factory-Calibrated ADC: YES
       - MAC Address: 8C:4B:14:2A:6A:E4
      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)...
      It then goes on to erase and write, but when restarted, no AP shows up.

      I am probably making this too hard and being stupid. Anybody have a suggestion to make this work?

      EDIT: Maybe it is working. There is an AP that shows up and goes away when I power up or down the board. But the AP ssid is something like z111x00 and a second one with an 'm' added at the end. Is this it? What is the password? 'squeezelite' does not work for either of them.
      That doesn't look right. Access point should be squeezelite-XXXX or something along these lines. Which flasher did you actually use? There's an older one still online and it has binaires from almost a year ago. Also, there's a known issue with the 8mb flash devices; their larger size means they take longer to erase and may timeout the installer.

      Try our installer instead, and don't choose to erase the flash
      LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
      6xSqueezeAmp, several other ESP32-Wrover boards with jumper wires flying around, some with ethernet!

      Comment


        It should have been already loaded when you received it (unless you told me not too, I don’t have my records with but very few people asked me not to). Does the led blink?
        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 Post
          That doesn't look right. Access point should be squeezelite-XXXX or something along these lines. Which flasher did you actually use? There's an older one still online and it has binaires from almost a year ago. Also, there's a known issue with the 8mb flash devices; their larger size means they take longer to erase and may timeout the installer.
          The ESPhome flasher. It never timed out, and claimed to reach 100%.


          Originally posted by sle118 View Post
          Try our installer instead, and don't choose to erase the flash
          https://sle118.github.io/squeezelite-esp32-installer/
          I could never get that installer to recognize my device.

          EDIT: Now I am wondering if it was the browser. I was using Chromium, but that did not work for flashing a custom rom (GrapheneOS) either. Will try Brave instead. Nope, the web installer claims that it does not work either.
          Last edited by schieber; 2022-12-24, 22:45.

          Comment


            Originally posted by philippe_44 View Post
            It should have been already loaded when you received it (unless you told me not too, I don’t have my records with but very few people asked me not to). Does the led blink?
            I told you that you did not need to flash it. Maybe not the best idea in retrospect, but I like to learn these things. The LED does not blink on either of them.

            Comment


              Originally posted by schieber View Post
              I told you that you did not need to flash it. Maybe not the best idea in retrospect, but I like to learn these things. The LED does not blink on either of them.
              So if the led does not blink, then the download did not work correctly
              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 schieber View Post
                The ESPhome flasher. It never timed out, and claimed to reach 100%.




                I could never get that installer to recognize my device.
                .
                This is definitely an indication that something is wrong with the setup then. Chromium is fine for the job. You might want to download espressif's tools and see if you can get it to identify your chip.


                In any cases, your best bet would be to buy a serial adapter with RTS/DTR like the ones based on the FT232.
                LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
                6xSqueezeAmp, several other ESP32-Wrover boards with jumper wires flying around, some with ethernet!

                Comment


                  I love the SqueezeAMP!

                  Just set up and installed my new SqueezeAMP. It worked without a hitch. For now I have it providing music listening on my desk under my monitors. My main system includes open baffle speakers on either side of my desk, so filling in the center stereo image with a couple fullrange driver speakers in front of me helps while I'm at my desk. It works wonderfully! Using an original SB2 remote is icing on the cake.

                  Thank you very much, Phillipe!

                  Long live the Squeezebox universe!

                  Comment


                    stuck in upgrade from first version

                    Hello,
                    A long time ago I received two of these pretty SqueezeAmp. Long time ago I installed one of them. Today I try to install the second SqueezeAmp.
                    To do this I try to upgrade the firmware from the first installed version (16.665) to the last or previous last (https://github.com/sle118/squeezelit...p-16-21254.bin)
                    It fails.
                    First I try to flash online . this is the process :
                    Click image for larger version

Name:	Capture d’écran.png
Views:	1
Size:	31.6 KB
ID:	1576385
                    Click image for larger version

Name:	Capture d’écran-1.png
Views:	1
Size:	19.0 KB
ID:	1576386
                    Click image for larger version

Name:	Capture d’écran-2.png
Views:	1
Size:	11.1 KB
ID:	1576387
                    Then I try to download the file and flash in local this is the process :
                    Click image for larger version

Name:	Capture d’écran-3.png
Views:	1
Size:	21.3 KB
ID:	1576388
                    Click image for larger version

Name:	Capture d’écran-4.png
Views:	1
Size:	11.0 KB
ID:	1576389

                    What can I do else ?
                    Thanks,
                    - DAC32 (polyvection) + turntable : Thorens TD190-2 + CD player : Marantz CD5004 + K7 player : Toshiba +ampli : Marantz PM7001 + speaker : Magnat Quantum 1005.
                    - Raspberry 2 + Ampli-dac : Alientek D8 + speaker : Magnat Quantum Edelstein
                    - Daphile on Acer_Aspire_One + Ampli-dac : Advance Acoustic A60 + Speaker : Elipson Studio Pro

                    Comment


                      Originally posted by sitro0 View Post
                      Hello,

                      It fails.
                      Forget my question , after a long battle in recovery / reboot mode , the local file upgrade is done.
                      Click image for larger version

Name:	Capture d’écran-6.png
Views:	1
Size:	7.7 KB
ID:	1576390

                      Thank you for all the work
                      - DAC32 (polyvection) + turntable : Thorens TD190-2 + CD player : Marantz CD5004 + K7 player : Toshiba +ampli : Marantz PM7001 + speaker : Magnat Quantum 1005.
                      - Raspberry 2 + Ampli-dac : Alientek D8 + speaker : Magnat Quantum Edelstein
                      - Daphile on Acer_Aspire_One + Ampli-dac : Advance Acoustic A60 + Speaker : Elipson Studio Pro

                      Comment


                        Originally posted by sitro0 View Post
                        Hello,
                        A long time ago I received two of these pretty SqueezeAmp. Long time ago I installed one of them. Today I try to install the second SqueezeAmp.
                        To do this I try to upgrade the firmware from the first installed version (16.665) to the last or previous last (https://github.com/sle118/squeezelit...p-16-21254.bin)
                        Then I try to download the file and flash in local this is the process :
                        What can I do else ?
                        Thanks,
                        Make sure you have the latest version of the plugin installed in LMS. It will act as a proxy for the file to download. Connect to LMS then try to do an update. Copy the link that the download uses (it will be a local link to LMS). After the download fails and the device is in recovery, do a download but copy the url to LMS you have saved before.
                        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 sitro0 View Post
                          Hello,
                          A long time ago I received two of these pretty SqueezeAmp. Long time ago I installed one of them. Today I try to install the second SqueezeAmp.
                          [ATTACH]39580[/ATTACH]

                          What can I do else ?
                          Thanks,
                          Some https certificates expired some time ago and newer versions of the firmware implemented a method to update them. If your devices weren't updated in a while, then the ESP might not be able to establish secure connections anymore and the update will fail.

                          A number of things were done to prevent this from happening. First, upgrading to the latest release should also update the certificates and allow future updates to be done in the future. Also, and as Philippe suggested, make sure you install the newest version of the plugin on the Logitech Media Server, as it is capable of acting as a proxy. Here is how the proxy link might look like for the latest SqueezeAMP release (as of writing this):


                          As for the error message in your screenshot, it is possibly an indication that your recovery partition came from a release in which uploading to the SqueezeAMP had not yet been implemented.

                          If you have a USB to Serial adapter, then I would advise you navigate to the link below and flash the latest; this will also update the recovery, which has improved since you received your SqueezeAMPs.
                          LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
                          6xSqueezeAmp, several other ESP32-Wrover boards with jumper wires flying around, some with ethernet!

                          Comment


                            Firmware update

                            oh that's cool, you make things as simple as possible for end users.
                            - DAC32 (polyvection) + turntable : Thorens TD190-2 + CD player : Marantz CD5004 + K7 player : Toshiba +ampli : Marantz PM7001 + speaker : Magnat Quantum 1005.
                            - Raspberry 2 + Ampli-dac : Alientek D8 + speaker : Magnat Quantum Edelstein
                            - Daphile on Acer_Aspire_One + Ampli-dac : Advance Acoustic A60 + Speaker : Elipson Studio Pro

                            Comment


                              Originally posted by sle118 View Post
                              This is definitely an indication that something is wrong with the setup then. Chromium is fine for the job. You might want to download espressif's tools and see if you can get it to identify your chip.


                              In any cases, your best bet would be to buy a serial adapter with RTS/DTR like the ones based on the FT232.
                              OK, I just got my adapter. This adapter (https://smile.amazon.com/dp/B09H6L7G...roduct_details) is a bit different from what I have used (for other ESP projects, or robot vacuums), so would like to make sure that my connections are correct. I have set the voltage on the adapter to 3.3V by creating the proper trace (and double checked with a multimeter). Connected VCC to the 3.3V pin on the device, GND <-> GND>, TX <->RX, RX<->TX.

                              This is where I am not certain: Is it DTR<->DWL and RST<->CTS ? As you can tell, I am not very familiar with Arduino flow control, so any help is appreciated.

                              Comment


                                Originally posted by schieber View Post
                                OK, I just got my adapter. This adapter (https://smile.amazon.com/dp/B09H6L7G...roduct_details) is a bit different from what I have used (for other ESP projects, or robot vacuums), so would like to make sure that my connections are correct. I have set the voltage on the adapter to 3.3V by creating the proper trace (and double checked with a multimeter). Connected VCC to the 3.3V pin on the device, GND <-> GND>, TX <->RX, RX<->TX.

                                This is where I am not certain: Is it DTR<->DWL and RST<->CTS ? As you can tell, I am not very familiar with Arduino flow control, so any help is appreciated.
                                The lines below are a copy of my notes about connections between serial adapter (with ftdi chip) and SqueezeAmp:

                                Following five connections are needed between FTDI board and SqueezeAMP (sa) board:
                                - GND (ftdi) to GND (sa)
                                - TX (ftdi) to RX (sa)
                                - RX (ftdi) to TX (sa)
                                - DTR (ftdi) to DWL (sa)
                                - RTS (ftdi) to RST (sa), via extra pin soldered on FTDI board
                                With this setup firmware can be flashed without pressing the RST button on the SA board.
                                | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | SqueezeAMP | ESP Muse Luxe |

                                Comment

                                Working...
                                X