Home of the Squeezebox™ & Transporter® network music players.
Page 19 of 19 FirstFirst ... 9171819
Results 181 to 184 of 184
  1. #181
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,058
    Quote Originally Posted by CJS View Post
    I did an attempt to update the Recovery FW of my SqueezeAMP to: v0.5.668-IDFv3.1.5-SqueezeAmp4M. But sofar without succes. Luckily nothing is broken. After my failed attempt the SqueezeAMP still has the Recovery FW version quoted above.

    - TX (ftdi) to RX (sa)
    - RX (ftdi) to TX (sa)
    - DTR (ftdi) to DWL (sa)
    - CTS (ftdi) to RST (sa)
    - GND (ftdi) to GND (sa)
    - VCC (ftdi) and 3.3 (sa) not connected.

    Is something wrong with these settings? I selected 32Mbit Flash Size (32Mbit=4MByte). Is this correct? COM14 is the serial port number of the FTDI board.
    After pressing START the FLASH process seems to start OK (SYNC status stays green), but the FLASH process seems to take forever. After circa half an hour I presssed the STOP button since I assumed that something was wrong. The terminal window shows an endless ....._____ pattern. Is this normal? Hints or suggestions are welcome!
    This is RTS that goes to RST, not CTS
    LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3

  2. #182
    Member
    Join Date
    Dec 2018
    Location
    The Netherlands
    Posts
    83

    Update of Recovery FW now successful

    Quote Originally Posted by sle118 View Post
    This is an indication that the esp32 isn't responding. The serial flash process should take a minute or two.
    If you are using an FTDI adapter that can reset the chip and set it in flash mode, check your connection.
    Quote Originally Posted by philippe_44 View Post
    This is RTS that goes to RST, not CTS
    Hi sle118 and Philippe, thank you both for your clues. The connection from CTS (ftdi) to RST (sa) was indeed the problem. CTS and RST are both inputs that both have an internal pullup to 3.3V. To start the Flash process the RST input of the SqueezeAMP board must be temporarily pulled to GND, and that never happened => So the FLASH process never started.

    My FT232RL (FTDI) board does not provide an RTS output on its pin header. I then assumed that the CTS pin on the pin header was just a different name for RTS, but that assumption was clearly wrong. Now I know better.

    Quote Originally Posted by philippe_44 View Post
    - RTS to RST (reset) - or press the tiny reset button on the board, or jump DST to GND shortly
    .....
    Erase the board (optional), then click on start and after you click, jump wires/press reset button if your FTDI board did not provide RTS
    (btw @Philippe: there is a small typo in the first sentence: "or jump DST to GND shortly" should read "or jump RST to GND shortly", right?)

    This is the instruction that I should have followed in the first place! So I removed the connection between CTS (ftdi) and RST (sa). Then after clicking on START in the Espressif download tool I pressed the tiny RST button on the SqueezeAMP board. => Now the Recovery FW was sucessfully flashed. The FLASH process took less than a minute with 921600 baud rate. Only now I noticed that there is a progress bar at the bottom of the Flash tool GUI, that was stuck at 0 in my first failed attempt. Thanks again sle118 and Philippe for your help!

    EDIT: Now I see that the FTDI board does have an RTS output, but this signal is not available on the 6-pins pin header. Alternatively an extra pin can be soldered on the RTS output of the FTDI board, that can then be connected to the RST input of the SqueezeAMP board. Then it should not be neccesary anymore to press the reset button to start the firmware download. Note that I have not tested this.
    Last edited by CJS; 2020-09-20 at 04:46.
    | LMS 8.0 | Squeezebox Boom | RPi0W + pCP 6.1.0 + HiFiBerry DAC Zero | SqueezeAMP |

  3. #183
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    326
    Quote Originally Posted by CJS View Post
    Now I see that the FTDI board does have an RTS output, but this signal is not available on the 6-pins pin header. Alternatively an extra pin can be soldered on the RTS output of the FTDI board, that can then be connected to the RST input of the SqueezeAMP board. Then it should not be neccesary anymore to press the reset button to start the firmware download. Note that I have not tested this.
    This is exactly what I did on my adapter. Then I connected to the SqueezeAmp using a row of jumper cables and when they were aligned, I used not glue to form a dedicated header. This allows painless flashing/serial monitoring.
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    6xSqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  4. #184
    Member
    Join Date
    Dec 2018
    Location
    The Netherlands
    Posts
    83
    Quote Originally Posted by CJS View Post
    EDIT: Now I see that the FTDI board does have an RTS output, but this signal is not available on the 6-pins pin header. Alternatively an extra pin can be soldered on the RTS output of the FTDI board, that can then be connected to the RST input of the SqueezeAMP board. Then it should not be neccesary anymore to press the reset button to start the firmware download. Note that I have not tested this.
    I have now tested this and as already confirmed by sle118, it works.

    Picture of FTDI USB to Serial adapter board with an extra pin soldered on the RTS output. The five pins that need to be connected to the SqueezeAMP board are indicated in red text.
    Name:  USB_to_Serial_FTDI.jpg
Views: 65
Size:  167.2 KB

    Picture showing connections between FTDI board and SqueezeAMP board:
    Name:  FTDI_to_SqueezeAMP_connections.jpg
Views: 65
Size:  170.7 KB

    Following five connections are needed between FTDI board and SqueezeAMP (sa) board:
    - 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
    - GND (ftdi) to GND (sa)
    With this setup firmware can be flashed without pressing the RST button on the SA board.

    Screenshot showing Espressif download tool GUI after an succesful flash of the SqueezeAMP Recovery FW:
    Name:  ESP32_download_tool_GUI.png
Views: 65
Size:  56.8 KB
    Last edited by CJS; 2020-09-20 at 08:02.
    | LMS 8.0 | Squeezebox Boom | RPi0W + pCP 6.1.0 + HiFiBerry DAC Zero | SqueezeAMP |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •