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

    Flash SAME70 with sam-ba and commandline..?

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    2
    5
    295
    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.
    • runtimeundefined
      runtime
      last edited by runtime

      Firmware is deleted. 3 HC6 v1.01

      Bossa: Could not connect to device on ttyACM0

      Then I try SAM-BA on Debian Linux.
      But I don't know the syntax for the Commandline.. Start-Adress?
      Write / Writeboot?? j-link in JTAG mode?..

      What does the correct command line look like, to flash the firmware.bin?

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @runtime
        last edited by

        @runtime I always flashed my boards from Linux using

        bossac -e -w -v -b ./PathToFirmware.bin -R
        

        It's new to me that you need to know the start address and JTAG details to restore the firmware. Also see https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#all-other-duet-boards

        Duet software engineer

        runtimeundefined 1 Reply Last reply Reply Quote 0
        • runtimeundefined
          runtime @chrishamm
          last edited by

          @chrishamm said in Flash SAME70 with sam-ba and commandline..?:

          @runtime I always flashed my boards from Linux using

          bossac -e -w -v -b ./PathToFirmware.bin -R
          

          Hello, thank You.. Ok Bossa can also Flash the SAME70.

          I try that and that's the output:

          :~$ bossac -e -w -v -b ./home/xyz/FW6HC.bin -R 
          Auto scan for device failed
          Try specifying a serial port with the '-p' option
          

          Bossa run with graphical Interface too. And can not connect.

          So I would like try SAM-BA.. Without many Command-line experience.. sorry..

          The 6HC Board is connected via (different) USB (and different Cable..).
          Yes some Cable don't work.
          The PC-Mainboard is form Asus, 5 years old. Can the Mainboard be a Problem?

          6HC Board is connect, LED Light is dimmed.

          Or is it necessary to do more, start Board with pushed Reset, etc?

          LS-USB Output:

          :~$ ls /dev/tty*
          /dev/tty    /dev/tty19  /dev/tty3   /dev/tty40  /dev/tty51  /dev/tty62
          /dev/tty0   /dev/tty2   /dev/tty30  /dev/tty41  /dev/tty52  /dev/tty63
          /dev/tty1   /dev/tty20  /dev/tty31  /dev/tty42  /dev/tty53  /dev/tty7
          /dev/tty10  /dev/tty21  /dev/tty32  /dev/tty43  /dev/tty54  /dev/tty8
          /dev/tty11  /dev/tty22  /dev/tty33  /dev/tty44  /dev/tty55  /dev/tty9
          /dev/tty12  /dev/tty23  /dev/tty34  /dev/tty45  /dev/tty56  /dev/ttyACM0
          /dev/tty13  /dev/tty24  /dev/tty35  /dev/tty46  /dev/tty57  /dev/ttyS0
          /dev/tty14  /dev/tty25  /dev/tty36  /dev/tty47  /dev/tty58  /dev/ttyS1
          /dev/tty15  /dev/tty26  /dev/tty37  /dev/tty48  /dev/tty59  /dev/ttyS2
          /dev/tty16  /dev/tty27  /dev/tty38  /dev/tty49  /dev/tty6   /dev/ttyS3
          /dev/tty17  /dev/tty28  /dev/tty39  /dev/tty5   /dev/tty60
          /dev/tty18  /dev/tty29  /dev/tty4   /dev/tty50  /dev/tty61
          
          runtimeundefined 1 Reply Last reply Reply Quote 0
          • runtimeundefined
            runtime @runtime
            last edited by

            Now I try to flash with another, newer PC with Debian.

            And Bossa connect! It looks like the USB or Mainboard is different.
            But the Connection break..

            :# bossac -e -w -v -b ./FW6HC.bin -R
            Erase flash
            
            Done in 3.602 seconds
            Write 711848 bytes to flash (1391 pages)
            [==                            ] 9% (131/1391 pages)
            SAM-BA operation failed
            
            

            Ok, I hate microship..

            Is it possible to change the Speed of the Connection?
            Lower Speed is more save.. and the quality of the Cable is not important.

            I look for other USB Cable.. and try them..

            1 Reply Last reply Reply Quote 0
            • runtimeundefined
              runtime
              last edited by

              It's work!!

              New USB-Cable and at the USB was another Device. Perhaps both Device was in trouble?

              What a sh.. so many hour for nothing..

              Please create a Command-line that set the Speed to "low" speed, for support more and older Hardware.

              Thank You..

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined Phaedrux marked this topic as a question
              • Phaedruxundefined Phaedrux has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA