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

How to build the bin file?

Scheduled Pinned Locked Moved Solved
Firmware developers
4
22
934
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.
  • undefined
    Jimmykc @dc42
    last edited by 12 May 2020, 08:11

    @dc42 I refer to your suggestions, but I have a questions.
    22.jpg
    Do I need to import to the file “DuetWiFiSocketServer” if I want to use Duet3 MB6HC and expansion board 3HC as a standalone board. (No Pi) ?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by dc42 5 Dec 2020, 08:17 12 May 2020, 08:15

      You don't need DuetWiFiSocketServer to build Duet 3 firmware.

      Latest RRF 3.01-RC source is currently on branch v3.01-dev of RepRapFirmware. The v3 branch is a few commits older.

      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

      undefined 1 Reply Last reply 13 May 2020, 02:48 Reply Quote 0
      • undefined
        Jimmykc @dc42
        last edited by 13 May 2020, 02:48

        @dc42 I import the v3.01-dev of RepRapFirmware.1.jpg 88.jpg
        I right click on the project and select build configuration -> Set Active -> Duet3_V06_CAN0.
        99.jpg
        I build it, but I fail.
        log.txt

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 13 May 2020, 06:27

          The versions of the CoreNG and RepRapFirmware projects you are using are slightly mismatched. Try updating both of them.

          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

          undefined 1 Reply Last reply 13 May 2020, 07:07 Reply Quote 0
          • undefined
            Jimmykc @dc42
            last edited by 13 May 2020, 07:07

            @dc42 I update CoreNG and RepRapFirmware projects. The previous problem has be fixed but show a new error.
            2.jpg
            log2.txt

            I re-build the project again, and the error will not appear.

            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by 13 May 2020, 09:04

              You can find crc32appender.exe under the Tools folder of the RepRapFirmware repository. Copy it on to your PC and add it to the PATH.

              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

              undefined 1 Reply Last reply 14 May 2020, 01:17 Reply Quote 0
              • undefined
                Jimmykc @dc42
                last edited by 14 May 2020, 01:17

                @dc42 I paste the crc32appender.exe on my path.
                3.jpg
                I fixed all problems. Thank you, but I have the last question.
                Is the bin file for main board if I select build configuration -> Set Active -> Duet3_V06?
                Is the bin file for expansion board if I select build configuration -> Set Active -> Duet3_V06_CAN0 ?
                4.jpg
                5.jpg

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 14 May 2020, 08:33

                  The _CAN0 one is just a test configuration so that we can test the second CAN port, which the standard firmware doesn't use. Use the Duet3_V06 configuration.

                  To build expansion board firmware, import project Duet3Expansion into your workspace and build that project.

                  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

                  undefined 1 Reply Last reply 14 May 2020, 14:03 Reply Quote 0
                  • undefined
                    Jimmykc @dc42
                    last edited by 14 May 2020, 14:03

                    @dc42 Now I know how to build the bin file. Thanks you so much.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      arhi
                      last edited by 1 Jun 2020, 21:31

                      @dc42 this still stands for RRF3.1 ?

                      to build firmware version 2.03beta3 and later use version 2018-q4-major

                      or you moved to 2020 version maybe?

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators
                        last edited by 2 Jun 2020, 14:50

                        For 3.1.1 I used version 9-2019q4-major. But I see that 9-2020-q2-update is now available, so I'll probably switch to that for 3.2.

                        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

                        undefined 1 Reply Last reply 2 Jun 2020, 17:58 Reply Quote 1
                        • undefined
                          arhi @dc42
                          last edited by 2 Jun 2020, 17:58

                          @dc42 nice, I recompiled it on mac, was faster to get everything up and running without messing out working envinronments for other stuff on my main win desktop and compiling is fast enough that the speed of the mac is not that important 😄 .. brew is a nice addon to osx 🙂 .. brew installs (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] so exactly what you say you are using for 3.1.1 and the issue is only with src/GCodes/GCodeBuffer/ExpressionParser.cpp the conv.Accumulate is called with wrong number of parameters .. probbly ReprapFirmware:v3-dev vs RRFLibraries:dev at point I was doing a clone were out of sync (I see that whole section is new) ... I just needed to do the quick read of the ADC so I removed that whole section and compiled without a problem 😄 .. got data I needed I returned release 3.1.1. 🙂 ..

                          I moved to 2020 myself for few projects and so far did not notice any issues

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