Home of the Squeezebox™ & Transporter® network music players.
Page 13 of 73 FirstFirst ... 311121314152363 ... LastLast
Results 121 to 130 of 729
  1. #121
    Senior Member
    Join Date
    Feb 2008
    Posts
    299
    Quote Originally Posted by philippe_44 View Post
    Yes but if you need a control device, why not using your mobile? These small IR remotes are always getting lost. BTW, you know that you can add buttons?
    Yes, I am planning on buttons and a rotary encoder.

    Right now I'm struggling with the right esptool command.
    The releases come with a writeSequeezeEsp.bat file that has the following commandline:
    Code:
    Python esptool.py --port %port% --baud %baud%  write_flash --flash_mode dio --flash_freq 80m --flash_size detect  0x1000 bootloader/bootloader.bin 0x8000 partitions.bin 0xD000 ota_data_initial.bin 0x10000 recovery.bin  squeezelite.bin  settings.bin
    It seems the files squeezelite.bin and settings.bin are missing a address.
    In addition, the release zip files I checked (e.g. this here) do not contain a settings.bin.

    What do I do?

  2. #122
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    288
    Quote Originally Posted by ElFishi View Post
    Yes, I am planning on buttons and a rotary encoder.

    Right now I'm struggling with the right esptool command.
    The releases come with a writeSequeezeEsp.bat file that has the following commandline:
    Code:
    Python esptool.py --port %port% --baud %baud%  write_flash --flash_mode dio --flash_freq 80m --flash_size detect  0x1000 bootloader/bootloader.bin 0x8000 partitions.bin 0xD000 ota_data_initial.bin 0x10000 recovery.bin  squeezelite.bin  settings.bin
    It seems the files squeezelite.bin and settings.bin are missing a address.
    In addition, the release zip files I checked (e.g. this here) do not contain a settings.bin.

    What do I do?
    Unfortunately, the build system does not generate the right build command. I'll try to dig it out
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  3. #123
    Senior Member
    Join Date
    Feb 2008
    Posts
    299
    Quote Originally Posted by sle118 View Post
    Unfortunately, the build system does not generate the right build command. I'll try to dig it out
    Thanks! Is there anything I can do to flash from the release or shall I wait for you?
    Last edited by ElFishi; 2020-02-21 at 16:54. Reason: typo

  4. #124
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,893
    Quote Originally Posted by ElFishi View Post
    Thanks! Is there anything I can do to flash from the release or shall I wait for you?
    Use the espressif download tool and send all files per the README at the right addresses, that should do
    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

  5. #125
    Senior Member
    Join Date
    Feb 2008
    Posts
    299
    I'm sorry, but I can't locate that information.

    There is a partitions.csv, but it has other names in it.

    In the release I have the following files and can draw the corresponding addresses from the accompanying flash_cmd.txt

    Code:
    0x1000 bootloader/bootloader.bin 
    0x8000 partitions.bin 
    0xD000 ota_data_initial.bin 
    0x10000 recovery.bin
    Are these correct?

    I am missing an address for squeezelite.bin.
    The release does not contain a file called settings.bin, although it is referenced in the writeSequeezeEsp.bat. Do I need it?

    Thx

  6. #126
    Hi,

    adress of squeezelite.bin is 0x150000 and I never flashed settings.bin, my script looks like:

    #!/bin/bash

    port=$1
    baud=$2
    python /usr/local/bin/esptool.py --port $port --baud $baud write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 bootloader/bootloader.bin 0x8000 partitions.bin 0xD000 ota_data_initial.bin 0x10000 recovery.bin 0x150000 squeezelite.bin
    this has never failed so far, since I regularly make local builds from git I have used this script quite often,
    I keep baud rate on the safe side i.e. 115200

    best wishes pbg4

  7. #127
    Senior Member
    Join Date
    Feb 2008
    Posts
    299
    Quote Originally Posted by pbg4 View Post
    Hi,

    adress of squeezelite.bin is 0x150000 and I never flashed settings.bin, my script looks like:



    this has never failed so far, since I regularly make local builds from git I have used this script quite often,
    I keep baud rate on the safe side i.e. 115200

    best wishes pbg4
    Yes! That worked! Ty

    my script (Win 10)
    Code:
    set port=%1
    set baud=%2
    esptool --port %port% --baud %baud%  write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect  0x1000 bootloader\bootloader.bin  0x8000 partitions.bin  0xD000 ota_data_initial.bin  0x10000 recovery.bin  0x150000 squeezelite.bin
    Now I have to work out the configuration.
    Is there a preferred way to assign GPIOs on a ESP32-WROVER-B for I2S, I2C (display), status LEDs, rotary encoder and buttons?

  8. #128
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,893

    ANNOUNCE: the SqueezeAMP, next generation squeezeboxen amplifier/receiver

    Quote Originally Posted by ElFishi View Post
    Yes! That worked! Ty

    my script (Win 10)
    Code:
    set port=%1
    set baud=%2
    esptool --port %port% --baud %baud%  write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect  0x1000 bootloader\bootloader.bin  0x8000 partitions.bin  0xD000 ota_data_initial.bin  0x10000 recovery.bin  0x150000 squeezelite.bin
    Now I have to work out the configuration.
    Is there a preferred way to assign GPIOs on a ESP32-WROVER-B for I2S, I2C (display), status LEDs, rotary encoder and buttons?
    Not really - avoid using 36 and 39, thatĺs all and make sure you are not using the ones reserved for internal spi flash and ram (see wroverĺs datasheet)
    From memory, 4,5,18,19,21,22,23,25,26,27,32,33,34,35 are safe
    BTW, the fact that they are all runtime configuration is fairly new and I might not have tested them all fully. You might have some issues, so I recommend you try function by function
    Last edited by philippe_44; 2020-02-22 at 08:29.
    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

  9. #129
    Senior Member
    Join Date
    Feb 2008
    Posts
    299

    It's alive!

    Name:  IMG_7811.jpg
Views: 268
Size:  217.5 KB

    Still waiting for the DAC board to arrive, but so far it works!

  10. #130
    Senior Member
    Join Date
    Feb 2008
    Posts
    299

    Master Clock?

    I'm no expert with DACs, but would it be a meaningful idea to extract a Master Clock from the ESP32 to drive an I2S DAC?

Posting Permissions

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