Home of the Squeezebox™ & Transporter® network music players.
Page 121 of 122 FirstFirst ... 2171111119120121122 LastLast
Results 1,201 to 1,210 of 1215
  1. #1201
    Junior Member
    Join Date
    May 2020
    Posts
    9
    Quote Originally Posted by philippe_44 View Post
    I've pushed a new release that allows you to send blocs or blocks of data. Have a look at README, but basically the 'val' parameter can be a JSON array. It should be built in a few minutes
    Hello philippe_44, Thanks for your help!

    I tried to configure an I2C sequence.
    Everything is fine as long as it is a register with only one variable.
    But as soon as I call a register with several variables, I get no result from the amplifier.
    I tested my sequence on the JSON tester and everything seems ok.

    - Do you have a way for me to test my I2C sequence? I would like to make sure that the ESP32 is correctly sending a "Blob" on the amplifier. But for the moment I don't see how I can be sure of my line of code.

    For the record, here is the configuration line I used:
    Code:
    { "poweron": [{"reg":26,"val":10}, {"reg":10,"val":48}, {"reg":9,"val":48},{"reg":8,"val":48}, {"reg":20,"val":84}, {"reg":19,"val":172}, {"reg":18,"val":84}, {"reg":17,"val":172}, {"reg":14,"val":209},{"reg":32,"val":[00 ,01 ,119 ,114] },{"reg":16,"val":02}, {"reg":11,"val":00}, {"reg":16,"val":02}, {"reg":28,"val":02}, {"reg":25,"val":48},{"reg":55,"val":[01 ,01 ,80 ,105]},{"reg":90,"val":[ 00  ,00  ,01  ,255  ,00  ,00  ,03  ,255  ,00  ,00  ,01  ,255  ,00  ,253  ,39  ,255  ,15  ,130  ,208  ,01 ]},{"reg":91,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]}, {"reg":58,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,75 ]},{"reg":59,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,75 ]},{"reg":60,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,75 ]},{"reg":64,"val":[ 252  ,131  ,16  ,212 ]},{"reg":65,"val":[ 15  ,131  ,51  ,52 ]},{"reg":66,"val":[ 00  ,08  ,66  ,16 ]},{"reg":70,"val":[ 00  ,00  ,00  ,00 ]},{"reg":57,"val":[ 00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":61,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,08]},{"reg":62,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,08]},{"reg":63,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,08]},{"reg":67,"val":[ 252  ,131  ,16  ,212]},{"reg":68,"val":[ 15  131  ,51  ,52]},  {"reg":69,"val":[ 00  ,08  ,66  ,16]},{"reg":70,"val":[ 00  ,00  ,00  ,00]},{"reg":82,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":96,"val":[ 00  ,00  ,00  ,00  ,00  ,128  ,00  ,00]},{"reg":86,"val":[ 00  ,128  ,00  ,00]},{"reg":83,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,128  ,00  ,00]},{"reg":84,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,128  ,00  ,00]},{"reg":87,"val":[ 00  ,02  ,00  ,00]},{"reg":81,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":85,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":82,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":26,"val":10},{"reg":07,"val":255},{"reg":05,"val":196},{"reg":27,"val":0}, {"reg":7,"val":0}, {"reg":5,"val":0}  ] }
    And here is the configuration file to send to the amp (in hexadecimal)
    Code:
    ! I2C Configuration file for TAS570x
    X1B 00 
    X06 3F 
    X1A 0A
    X0A 30 
    X09 30 
    X08 30 
    X14 54 
    X13 AC 
    X12 54 
    X11 AC 
    X0E D1 
    X20 00  01  77  72 
    X10 02 
    X0B 00 
    X10 02 
    X1C 02 
    X19 30 
    X25 01  01  32  45 
    ! Biquads
    X50 00  00  00  00
    X29 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X30 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X2A 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X2B 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X2C 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X2D 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X2E 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X2F 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X58 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X59 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X31 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X32 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X33 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X34 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X35 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X36 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X5C 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X5D 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    X5A 00  00  01  FF  00  00  03  FF  00  00  01  FF  00  FD  27  FF  0F  82  D0  01 
    X5B 00  80  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00 
    
    
    ! DRCs
    X3A 00  7F  FF  B4  00  00  00  4B 
    X3B 00  7F  FF  B4  00  00  00  4B 
    X3C 00  7F  FF  B4  00  00  00  4B 
    X40 FC  83  10  D4 
    X41 0F  83  33  34 
    X42 00  08  42  10 
    X46 00  00  00  00 
    X39 00  00  00  00  00  00  00  00 
    X3D 00  7F  FF  B4  00  00  00  08 
    X3E 00  7F  FF  B4  00  00  00  08 
    X3F 00  7F  FF  B4  00  00  00  08 
    X43 FC  83  10  D4 
    X44 0F  83  33  34 
    X45 00  08  42  10 
    X46 00  00  00  00 
    X52 00  80  00  00  00  00  00  00  00  00  00  00 
    X60 00  00  00  00  00  80  00  00 
    X56 00  80  00  00 
    X53 00  80  00  00  00  00  00  00  00  00  00  00  00  80  00  00 
    X54 00  80  00  00  00  00  00  00  00  00  00  00  00  80  00  00 
    X57 00  02  00  00 
    X51 00  80  00  00  00  00  00  00  00  00  00  00 
    X55 00  80  00  00  00  00  00  00  00  00  00  00
    X52 00  80  00  00  00  00  00  00  00  00  00  00
    X1A 0A
    X07 FF
    X05 C4
    All your leads are welcome!

  2. #1202
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,625
    Quote Originally Posted by Gin_Fiz View Post
    Hello philippe_44, Thanks for your help!

    I tried to configure an I2C sequence.
    Everything is fine as long as it is a register with only one variable.
    But as soon as I call a register with several variables, I get no result from the amplifier.
    I tested my sequence on the JSON tester and everything seems ok.

    - Do you have a way for me to test my I2C sequence? I would like to make sure that the ESP32 is correctly sending a "Blob" on the amplifier. But for the moment I don't see how I can be sure of my line of code.

    For the record, here is the configuration line I used:
    Code:
    { "poweron": [{"reg":26,"val":10}, {"reg":10,"val":48}, {"reg":9,"val":48},{"reg":8,"val":48}, {"reg":20,"val":84}, {"reg":19,"val":172}, {"reg":18,"val":84}, {"reg":17,"val":172}, {"reg":14,"val":209},{"reg":32,"val":[00 ,01 ,119 ,114] },{"reg":16,"val":02}, {"reg":11,"val":00}, {"reg":16,"val":02}, {"reg":28,"val":02}, {"reg":25,"val":48},{"reg":55,"val":[01 ,01 ,80 ,105]},{"reg":90,"val":[ 00  ,00  ,01  ,255  ,00  ,00  ,03  ,255  ,00  ,00  ,01  ,255  ,00  ,253  ,39  ,255  ,15  ,130  ,208  ,01 ]},{"reg":91,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]}, {"reg":58,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,75 ]},{"reg":59,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,75 ]},{"reg":60,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,75 ]},{"reg":64,"val":[ 252  ,131  ,16  ,212 ]},{"reg":65,"val":[ 15  ,131  ,51  ,52 ]},{"reg":66,"val":[ 00  ,08  ,66  ,16 ]},{"reg":70,"val":[ 00  ,00  ,00  ,00 ]},{"reg":57,"val":[ 00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":61,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,08]},{"reg":62,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,08]},{"reg":63,"val":[ 00  ,127  ,255  ,180  ,00  ,00  ,00  ,08]},{"reg":67,"val":[ 252  ,131  ,16  ,212]},{"reg":68,"val":[ 15  131  ,51  ,52]},  {"reg":69,"val":[ 00  ,08  ,66  ,16]},{"reg":70,"val":[ 00  ,00  ,00  ,00]},{"reg":82,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":96,"val":[ 00  ,00  ,00  ,00  ,00  ,128  ,00  ,00]},{"reg":86,"val":[ 00  ,128  ,00  ,00]},{"reg":83,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,128  ,00  ,00]},{"reg":84,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,128  ,00  ,00]},{"reg":87,"val":[ 00  ,02  ,00  ,00]},{"reg":81,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":85,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":82,"val":[ 00  ,128  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00  ,00]},{"reg":26,"val":10},{"reg":07,"val":255},{"reg":05,"val":196},{"reg":27,"val":0}, {"reg":7,"val":0}, {"reg":5,"val":0}  ] }
    All your leads are welcome!
    What do you mean by "no result from the amplifier"?

    [edit] I've put here https://www.dropbox.com/s/wowwpkzuj8...elite.bin?dl=0 a version that has more logs when it sends a blob
    Last edited by philippe_44; 2021-11-21 at 12:22.
    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

  3. #1203
    Senior Member
    Join Date
    Dec 2018
    Location
    The Netherlands
    Posts
    246
    Quote Originally Posted by mark wollschlager View Post
    So I started scouring the web for info about the ft232 which also led me to the espressiv web site where I looked up some getting started programming.
    So I ran the downloader again, finished in a minute or so. Looks like this:
    The screenshot suggests that firmware download was succesful.

    Quote Originally Posted by mark wollschlager View Post
    When I restart the SA without the FTDI the red led and green led comes on dim and then the green led flashes bright times and goes out.
    I do not see an access point added nearby.
    In my experience, flashing new firmware is not the same as a "factory reset". Yesterday I uploaded the latest (v1.764) firmware to my SqueezeAMP using my FTDI USB to serial adapter board and the ESP32 download tool. After the firmware upload had finished, I disconnected the FTDI board from my SqueezeAMP, and did a power cycle. The result was that my SqueezeAMP booted into recovery mode, and during reboot the green LED flashed a few times and then went off (same as what you have observed). I could then access the web interface of my SqueezeAMP (with my web browser) on its usual IP address. After hitting the "Exit Recovery" button at the bottom of the web interface the SqueezeAMP rebooted into its normal operating mode and connected to LMS.

    => After restarting your SA without the FTDI board, did you check if the web interface of your SA is accessible on its normal IP address?
    | LMS 8.3.0 | Squeezebox Boom | RPi0W + pCP 8.0.0 + HiFiBerry DAC Zero | SqueezeAMP |

  4. #1204
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,625
    Quote Originally Posted by mark wollschlager View Post
    I don't know. The first time I connected to the SA with putty it showed the boot process up to the point it was redirecting output to telnet.
    When I pressed the rst button it displayed 'waiting for download'.
    Since I flashed the download it has remained at waiting for download.
    When I restart the SA without the FTDI the red led and green led comes on dim and then the green led flashes bright times and goes out.
    I do not see an access point added nearby.
    What you see might mean all is good but you are in recovery mode, as @CJS says. Try also putty with the FTDI connected but w/o connecting DTR (just RX/TX and GND)
    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

  5. #1205
    Junior Member
    Join Date
    May 2020
    Posts
    9
    Quote Originally Posted by philippe_44 View Post
    What do you mean by "no result from the amplifier"?

    [edit] I've put here https://www.dropbox.com/s/wowwpkzuj8...elite.bin?dl=0 a version that has more logs when it sends a blob
    Thanks Philippe for your quick reply.
    I mean that the amplifier does not react as expected. The filters do not activate.

    Since these are the only registers with blobs, I don't know if it's the blob that doesn't "come out". Or if I make another mistake.

  6. #1206
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,625
    Quote Originally Posted by Gin_Fiz View Post
    Thanks Philippe for your quick reply.
    I mean that the amplifier does not react as expected. The filters do not activate.

    Since these are the only registers with blobs, I don't know if it's the blob that doesn't "come out". Or if I make another mistake.
    Give a try to that version and see if the blob is sent at least
    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

  7. #1207
    Senior Member
    Join Date
    Dec 2008
    Location
    Alexandria, Va USA
    Posts
    245
    Quote Originally Posted by CJS View Post
    The screenshot suggests that firmware download was succesful.



    In my experience, flashing new firmware is not the same as a "factory reset". Yesterday I uploaded the latest (v1.764) firmware to my SqueezeAMP using my FTDI USB to serial adapter board and the ESP32 download tool. After the firmware upload had finished, I disconnected the FTDI board from my SqueezeAMP, and did a power cycle. The result was that my SqueezeAMP booted into recovery mode, and during reboot the green LED flashed a few times and then went off (same as what you have observed). I could then access the web interface of my SqueezeAMP (with my web browser) on its usual IP address. After hitting the "Exit Recovery" button at the bottom of the web interface the SqueezeAMP rebooted into its normal operating mode and connected to LMS.

    => After restarting your SA without the FTDI board, did you check if the web interface of your SA is accessible on its normal IP address?
    You are correct. It was in recovery which meant it was not showing in LMS.
    So it seems I was looking for problems after the flash where there were none.
    Thank you very much for your assistance.
    I learn something new every day.
    2 Duets controllers, 1 X Boom, 1 X Radio
    1 X Receiver + Edifier S1000DB
    1 X Receiver + Yamaha RX-A2000, Polk M70
    1 X Receiver + Boston MicroSystem CD
    Raspberry Pi 3 B+ HiFi Berry Amp2 7" touchscreen PiCorePlayer 7.0 Audioengine A5 ( passive mode )
    Raspberry Pi 2 B, HiFiBerry Dac+ & Max2play
    SqueezeAmp 3 Monsoon MM-700 flat panels + Infinity sub
    HTC 10 w/ Squeeze Ctrl
    ReadyNAS 516 LMS 8.2.1

  8. #1208
    Senior Member
    Join Date
    Dec 2018
    Location
    The Netherlands
    Posts
    246
    Quote Originally Posted by mark wollschlager View Post
    You are correct. It was in recovery which meant it was not showing in LMS.
    So it seems I was looking for problems after the flash where there were none.
    Thank you very much for your assistance.
    I learn something new every day.
    Good to hear! Hopefully everything is fine now with your squeezeamp.
    | LMS 8.3.0 | Squeezebox Boom | RPi0W + pCP 8.0.0 + HiFiBerry DAC Zero | SqueezeAMP |

  9. #1209
    Junior Member
    Join Date
    May 2020
    Posts
    9

    Blob in dac_controlset confirmation

    Hello to all,
    I confirm that sending command in Blob via dac_controlset works ! A big thank you Philippe_44 for your quick feedback on this project.
    I could use the version with Telnet port. But I couldn't really diagnose the errors I had.
    My problem was with the JSON formatting.

    A little share here:
    to check the JSON formatting, I use https://jsonformatter.curiousconcept.com/
    And I ask it for the "Compact" version in output.

    JSON
    Here is the formatting of a register in JSON: {"reg":10, "val":8}
    And here is the formatting of a register with several variables in JSON: {"reg":62, "val":[0,0,2,248,0,127,253,5]}

    I made a VBA script to format hexadecimal directly into JSON. Feel free to write me if you want it.
    I'll make a Git in few weeks with all the informations about this project when it well be working well (a SqueezeliteESP board + TAS5711 with its DSP).
    See you soon

  10. #1210
    Senior Member
    Join Date
    Feb 2008
    Posts
    431

    losing connection

    I still struggle with my S/PDIF system.
    I finally found the time to hook it up with a serial interface so I could log what is going on when the music stops playing.
    Attached you find my NVS-config and the section of the log when the system lost connection.
    During the time the ESP was "unable to connect to server" I checked and found that the LMS server was actually available.
    Attached Files Attached Files

Posting Permissions

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