Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Upgrading PanelDue from a Raspberry Pi?

    Scheduled Pinned Locked Moved
    PanelDue
    firmware bossac linux raspberry pi
    4
    9
    1.2k
    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.
    • oliofundefined
      oliof
      last edited by

      Hi,
      I just received a PanelDue 5i (yay!) and there is a firmware update available (yay!).

      The update instructions describe using bossac on a Windows computer, which I don't have. Is there a way to do the firmware upgrade on the PanelDue from a Raspberry Pi (the most ubiquituous computing resource in this house)?

      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • resamundefined
        resam
        last edited by

        I've done it on a MacBook with this command:
        bossac --port /dev/tty.usbmodem1451 --info --erase --write --verify --boot PanelDue-v2-5.0.bin --reset

        I'm not aware of any Linux binaries - so you probably have to build bossa from source.

        1 Reply Last reply Reply Quote 1
        • T3P3Tonyundefined
          T3P3Tony administrators @oliof
          last edited by

          @oliof this might point you in the right direction:

          https://github.com/shumatech/BOSSA/issues/81

          jhaupt created this issue in shumatech/BOSSA

          open Installing 1.8 on Debian? #81

          www.duet3d.com

          1 Reply Last reply Reply Quote 1
          • oliofundefined
            oliof
            last edited by oliof

            @T3P3Tony thanks! I found out in the meanwhile that threre is an official build (it's on their GitHub releases page) that runs on Raspberry Pi for bossa 1.7.1; is there a minimum version requirement the use with the paneldue?

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @oliof
              last edited by

              @oliof said in Upgrading PanelDue from a Raspberry Pi?:

              @T3P3Tony thanks! I found out in the meanwhile that threre is an official build (it's on their GitHub releases page) that runs on Raspberry Pi for bossa 1.7.1; is there a minimum version requirement the use with the paneldue?

              Yes, you need at least version 1.8.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 1
              • oliofundefined
                oliof
                last edited by

                Success! At least it compiled (after I installed libreadline, wxwidgets already lingered on the pi)...

                0_1560679954200_Screenshot 2019-06-16 at 12.11.30.png

                Is there a non-destructive way to test whether the PanelDue likes this version of bossa? I'm a bit worried since the instructions to update start with erasing the current firmware.

                <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                dc42undefined 1 Reply Last reply Reply Quote 1
                • dc42undefined
                  dc42 administrators @oliof
                  last edited by

                  @oliof said in Upgrading PanelDue from a Raspberry Pi?:

                  Is there a non-destructive way to test whether the PanelDue likes this version of bossa? I'm a bit worried since the instructions to update start with erasing the current firmware.

                  No, because you need to clear at least the "Boot from flash" but in the MCU to get it to present the Bossa port.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 1
                  • oliofundefined
                    oliof
                    last edited by

                    OK, I tried to follow the upgrade instructions at https://miscsolutions.wordpress.com/paneldue/.

                    After pressing the erase button for a second, I get a white screen, and pressing the reset button, A serial device registers on my Raspberry Pi:

                    [Sun Jun 16 16:48:19 2019] usb 1-1.3: USB disconnect, device number 17
                    [Sun Jun 16 16:48:20 2019] usb 1-1.3: new full-speed USB device number 18 using dwc_otg
                    [Sun Jun 16 16:48:20 2019] usb 1-1.3: New USB device found, idVendor=03eb, idProduct=6124
                    [Sun Jun 16 16:48:20 2019] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
                    [Sun Jun 16 16:48:20 2019] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
                    

                    But bossac does not find a device, nor does it like the ACM device if I specify it directly:

                    root@octopi:~# bossac -e -w -v -b /home/pi/PanelDue-5.0i-7.0i.bin 
                    Auto scan for device failed
                    Try specifying a serial port with the '-p' option
                    root@octopi:~# bossac -p /dev/ttyACM0 -e -w -v -b /home/pi/PanelDue-5.0i-7.0i.bin 
                    No device found on /dev/ttyACM0
                    root@octopi:~# 
                    

                    I will try to get hold of a windows computer to try from there ...

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    1 Reply Last reply Reply Quote 0
                    • oliofundefined
                      oliof
                      last edited by

                      It's good to have friends nearby that can help out quickly (-:

                      $ "C:\Program Files (x86)\BOSSA\bossac.exe" --port=COM3 -e -w -v -b PanelDue-5.0i-7.0i.bin
                      Erase flash
                      
                      Done in 1.038 seconds
                      Write 168276 bytes to flash (329 pages)
                      [==============================] 100% (329/329 pages)
                      Done in 5.911 seconds
                      Verify 168276 bytes of flash
                      [==============================] 100% (329/329 pages)
                      Verify successful
                      Done in 4.854 seconds
                      Set boot flash true
                      

                      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA