• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Multiple xS50 on a L513 (RS485)

    Official API - Evok
    5
    29
    16778
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bsc101 @Martin Kudláček last edited by

      @martin-kudláček Thanks a lot, it works now :) I can set another address than default now!
      Firmware is now 5.9 (it was 5.6 as you said), is there any need to upgrade to 5.18?

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček @bsc101 last edited by

        @bsc101 So I guess you used the Windows firmware update tool as @salorob. There are definitely a bugfixes from version 5.9 with some new functionality as well. You have the tutorial above, so you can update it, if you find out you need it.

        B 2 Replies Last reply Reply Quote 0
        • B
          bsc101 @Martin Kudláček last edited by bsc101

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • B
            bsc101 @Martin Kudláček last edited by

            @martin-kudláček My fault, did not do step 1 in your decsription above since fwserial and firmware files were already present. It's 5.18 now, thank you!

            1 Reply Last reply Reply Quote 1
            • B
              Boy Lenssen last edited by Boy Lenssen

              Ok, took a while before I had time to do this, but now the downloads don't seem to work anymore, check below (btw, I'm using an own build image, not the Neuron image):

              root@L203-sn81:/home/pi# wget -O - https://files.unipi.technology/debian/unipi_pub.gpg | apt-key add\
              > ^C
              root@L203-sn81:/home/pi# wget -O - https://files.unipi.technology/debian/unipi_pub.gpg | apt-key add
              --2019-09-12 08:05:48--  https://files.unipi.technology/debian/unipi_pub.gpg
              Resolving files.unipi.technology (files.unipi.technology)... 86.49.170.141
              Connecting to files.unipi.technology (files.unipi.technology)|86.49.170.141|:443... connected.
              HTTP request sent, awaiting response... 302 Found
              Location: https://kb.unipi.technology/debian/unipi_pub.gpg [following]
              --2019-09-12 08:05:49--  https://kb.unipi.technology/debian/unipi_pub.gpg
              Resolving kb.unipi.technology (kb.unipi.technology)... 86.49.170.141
              Connecting to kb.unipi.technology (kb.unipi.technology)|86.49.170.141|:443... connected.
              HTTP request sent, awaiting response... 200 OK
              Length: unspecified [text/html]
              Saving to: 'STDOUT'
              
              -                                                     [ <=>                                                                                                       ]  13.43K  --.-KB/s    in 0.03s   
              
              2019-09-12 08:05:49 (385 KB/s) - written to stdout [13757]
              
              gpg: no valid OpenPGP data found.
              root@L203-sn81:/home/pi# apt update
              Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
              Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
              Get:3 http://raspbian.raspberrypi.org/raspbian stretch/contrib Sources [75.2 kB]      
              Get:5 http://raspbian.raspberrypi.org/raspbian stretch/non-free Sources [125 kB]                            
              Get:6 http://archive.raspberrypi.org/debian stretch/main armhf Packages [221 kB]                                                         
              Get:7 http://raspbian.raspberrypi.org/raspbian stretch/main Sources [9721 kB]                                                            
              Get:8 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [45.0 kB]
              Err:4 https://kb.unipi.technology/debian stretch InRelease  
                Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
              Get:9 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
              Get:10 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf Packages [56.9 kB]                                                                                                            
              Get:11 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages [95.5 kB]                                                                                                           
              Fetched 22.1 MB in 18s (1192 kB/s)                                                                                                                                                                  
              Reading package lists... Done
              E: Failed to fetch https://files.unipi.technology/debian/dists/stretch/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
              E: Some index files failed to download. They have been ignored, or old ones used instead.
              root@L203-sn81:/home/pi# apt install -y neuron-firmware neuron-modbus-tools
              Reading package lists... Done
              Building dependency tree       
              Reading state information... Done
              Note, selecting 'unipi-modbus-tools' instead of 'neuron-modbus-tools'
              E: Unable to locate package neuron-firmware
              root@L203-sn81:/home/pi# /opt/neuron-bin/fwserial -p /dev/extcomm/0/0 
              bash: /opt/neuron-bin/fwserial: No such file or directory
              
              1 Reply Last reply Reply Quote 0
              • B
                Boy Lenssen last edited by Boy Lenssen

                So I tried with an official Unipian image, but still same problem. Some security issue (gpg: no valid OpenPGP data found). Please help @tomas_hora @Martin-Kudláček

                1 Reply Last reply Reply Quote 0
                • T
                  tomas_hora administrators last edited by tomas_hora

                  The files has been moved into a new repostirory: https://repo.unipi.technology/debian/ The FW tool for extension can be found here https://kb.unipi.technology/files:software:tools:00-start#extension_firmware_update_tool

                  1 Reply Last reply Reply Quote 0
                  • B
                    Boy Lenssen last edited by Boy Lenssen

                    Thanks! I was able to flash the device using the FW update tool and now it says it v5.36 on it.

                    Too bad I'm not able to try it out now, as on my test Unipi I accidentally plugged in the power supply on the RS485 port and now I get

                    root@L203-sn81:/home/pi# /opt/unipi-bin/fwserial -p /dev/extcomm/0/0
                    Read version failed: Connection timed out
                    

                    Will need to get a new Neuron for this.
                    Thanks for the help! :)

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tomas_hora administrators @Boy Lenssen last edited by

                      @boy-lenssen Yeah, that's something we are working on to protect bricking the units during the FW upgrade process. If the RUN led is dead, send it to us so we can reflash the FW.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post