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

    Duet 3 6HC - Firmware Upgrade - Flash locked

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    10
    726
    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.
    • MartinNYHCundefined
      MartinNYHC
      last edited by

      Hi All,

      just want to update my brand new Duet 3 6HC. Unfortunately BOSSA still doesn' work on newer Mac OS versions, so I used the command line tool bossac.

      ./bossac -p /dev/cu.usbmodem143101 -e -w -v -b /Users/martin.ziegler/Downloads/Duet2and3Firmware-3.1.1/Duet3Firmware_MB6HC.bin
      
      Erase flash
      
      Done in 3.619 seconds
      Write 570776 bytes to flash (1115 pages)
      [===                           ] 10% (118/1115 pages)
      Flash page is locked
      

      Even if I use the 'u' flag to unlock the flash it does not work.

      Am I doing something wrong?

      Thanks, Martin

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

        AFAIR, if you use the Erase jumper then it should unlock the flash.

        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 0
        • MartinNYHCundefined
          MartinNYHC
          last edited by

          That's what I did. At least I think so 😉

          Placed the junper, powered up the board, removed the jumper and started flashing.

          Thanks, Martin

          1 Reply Last reply Reply Quote 0
          • MartinNYHCundefined
            MartinNYHC
            last edited by

            ./bossash
            Press Ctrl-D or enter "exit" to end session.
            Enter "help" to display a command list.
            bossa> connect /dev/cu.usbmodem143101
            Connected to device on /dev/cu.usbmodem143101
            bossa> info
            Device       : ATSAME70x20
            Version      : v1.2 Jan  6 2016 09:57:32
            Address      : 0x400000
            Pages        : 2048
            Page Size    : 512 bytes
            Total Size   : 1024KB
            Planes       : 1
            Lock Regions : 64
            Locked       : none
            Security     : false
            Boot Flash   : false
            
            
            1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              Hm, could you try building one of the pull requests that is meant to potentially address that bug? Although getting stuck on flash locked isn't quite same symptom "everyone" else have reported. (save some hassle by only building the cli versionmake bossac)

              Or you could try resorting to using a virtual machine running linux or windows (at least one other user had success with virtualbox + windows) I have used ubuntu and rasbpian with success as well.

              1 Reply Last reply Reply Quote 0
              • MartinNYHCundefined
                MartinNYHC
                last edited by

                Compiled the master branch and it works 🙂 Thanks!

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @MartinNYHC
                  last edited by

                  @MartinNYHC said in Duet 3 6HC - Firmware Upgrade - Flash locked:

                  Compiled the master branch

                  awesome; it'd be great if you could leave some instructions for other mac users to follow, or upload a binary or something as every now and then this issue pops up and there aren't that many active members that are big on macs here.

                  1 Reply Last reply Reply Quote 0
                  • MartinNYHCundefined
                    MartinNYHC
                    last edited by

                    Sure. What's the best place to upload the file? The forum doens't accept these kind of file type.

                    1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User
                      last edited by

                      a zip file maybe - or any generic sharing service like https://wetransfer.com/ etc

                      1 Reply Last reply Reply Quote 0
                      • MartinNYHCundefined
                        MartinNYHC
                        last edited by

                        Here we go....

                        bossac compiled for MacOS Mojave

                        1 Reply Last reply Reply Quote 2
                        • droftartsundefined droftarts referenced this topic
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA