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

how to recompile the firmware.bin

Scheduled Pinned Locked Moved
General Discussion
8
30
1.3k
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
    jay_s_uk
    last edited by 9 Jun 2020, 20:42

    I wrote this post a while ago about how to compile the firmware. https://www.jayuk.org/compiling-and-running-reprapfirmware-on-an-skr-1-4-and-other-lp17xx-boards/
    It's on my list to transfer to the wiki for the LPC version of RRF but haven't got to it yet.

    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

    1 Reply Last reply Reply Quote 0
    • undefined
      gloomyandy
      last edited by 9 Jun 2020, 21:37

      I think Jay's article is a great starting point, if you can handle git and vscode things are reasonably straightforward. One thing I'd add is that you are probably better off using the 3.1.1 tagged versions that are here:
      https://github.com/gloomyandy/RepRapFirmware/tree/LPC_RRFv3.1.1/src
      https://github.com/gloomyandy/CoreLPC4RRF/tree/LPC_RRFv3.1.1
      https://github.com/gloomyandy/RRFLibraries/tree/LPC_RRFv3.1.1

      Depending upon which version you intend to build you may also need the WiFi repo (you only actually need one file), which is here:
      https://github.com/gloomyandy/DuetWiFiSocketServer/tree/V1.23-01

      There are also various comments and tips on building and using the LPC version in this RepRap thread:
      https://reprap.org/forum/read.php?147,859857
      it is rather long and some of the earlier information is now out of date, but it is well worth reading to get a feel for what is possible.

      The Wiki that Jay has done a great job on providing is here:
      https://github.com/gloomyandy/RepRapFirmware/wiki

      There is also a discord server that I'm sure @jay_s_uk can provide details for, which may be a good place to get help if you run into issues.

      Have you actually used the rrf LPC port at all so far? If not and especially if you intend to hook up a WiFi or SBC connection to it you may want to try getting something working using one of the pre-built versions before diving into things with your own version.

      Think that is about it for now.

      1 Reply Last reply Reply Quote 0
      • undefined
        jay_s_uk
        last edited by 10 Jun 2020, 05:02

        Here's the link to the discord channel.
        https://discord.gg/uS97Qs7

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        undefined 1 Reply Last reply 24 Jun 2020, 10:35 Reply Quote 0
        • undefined
          tony73 @jay_s_uk
          last edited by 24 Jun 2020, 10:35

          @jay_s_uk

          I apologize if I answer after many days from your help, thank you all for helping me with the reward of the firmware.bin for rrf lpc have managed to change the firmware.bin for my download by adding a 4 axis position taking the suggestion of @ dc42 from this post! 4axis.PNG this is a hidden axis and it is not possible to homing and have a precise and repeatable position very important thing! I am unable to create a code myself. if any of you are able to write the code to put in the scara kinematics, could you help and suggest me? thank you all

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 24 Jun 2020, 10:38

            If the 4th motor has its own homing switch, then you should be able to home it in the normal way using a homeu.g file containing at least a G1 H1 Uxxx command.

            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 24 Jun 2020, 11:14 Reply Quote 0
            • undefined
              tony73 @dc42
              last edited by 24 Jun 2020, 11:14

              @dc42

              good morning I already had a home A I was trying a 4 rotary axis I changed it to home U but with the line of code (motorpos [3] = irinf (-1 * (theta + psi) * stepspermm [3]) you suggested the homing u does not go. it could be something badly put by me or a bag in rrf lpc. what i am interested in is the function with the negation to be able to maintain a position of the 4 axis when proximal and distal move, have a homing u for the repeatable posignone and if there is a way to send commands (example G1 U30) to call the 4-axis head positionhome u.PNG casa u.PNG home all.PNG

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 24 Jun 2020, 15:37

                You will need to temporarily make the U axis visible using M584 P4 before you can home it. After homing it you can hide the U axis using M584 P3.

                When you have this working, you can do the hiding/unhiding in homeall.g instead.

                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
                • undefined
                  koaldesigns
                  last edited by 21 Jul 2020, 14:54

                  Did you manage to compile the firmware? I keep getting PATH errors in eclipse even though all of the right paths are inputted. As you know I'm building a machine very similar to yours, but I'm using a Duet WiFi instead of an SKR board.

                  undefined undefined 3 Replies Last reply 21 Jul 2020, 15:08 Reply Quote 0
                  • undefined
                    JoergS5 @koaldesigns
                    last edited by JoergS5 21 Jul 2020, 15:08

                    @koaldesigns did you install ARM toolchain and the make extension (make that can execute longer lines) and added them to Windows system path (if you use Windows....)?

                    If you run cmd and execute path, you should see something like
                    C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin;C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin
                    in the path and if you use Windows 10 and execute "make -v" (without parantheses) in the cmd, it should say GNU Make 4.1 and if you execute "where make" (without parantheses), then it should something similar to C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin\make.exe

                    When you've managed to install it and add it to the path, then you have to restart Eclipse to be effective.

                    Your xtensa error message: in the DuetWiFiSocketServer root directory is a readme with some information about xtensa installing. xtensa is the brand of the ESP8266 chip. For RRF3 you don't need to compile the WifiServer project.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      oliof
                      last edited by 22 Jul 2020, 15:36

                      I compiled a firmware for @koaldesigns in the mean time (but not without stumbling around a bit trying to build from head).

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

                      undefined 1 Reply Last reply 22 Jul 2020, 20:22 Reply Quote 0
                      • undefined
                        JoergS5 @oliof
                        last edited by 22 Jul 2020, 20:22

                        @oliof Thanks for information. The first time I wanted to build the firmware I had a lot of problems, but the more often I build, the easier it gets.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          oliof
                          last edited by 23 Jul 2020, 06:13

                          Step 14 in BuildInstructions.md would benefit from a bit of wordsmithing. I will take a gander. Also, building from head requires you to switch to the dev branch of DuetWifiSocketServer due to the upcoming transmit power control.

                          Using the 3.1.0 / 3.1.1 tagged commits makes it a bit easier (-:

                          <>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
                          • undefined
                            tony73 @koaldesigns
                            last edited by 4 Aug 2020, 19:03

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • undefined
                              tony73 @koaldesigns
                              last edited by 4 Aug 2020, 19:09

                              @koaldesigns
                              Hello everyone ! thanks to dc42 for the last help on the homing of the 4 hidden axis! I managed to recompile the firmware with the help that everyone gave me [rrf 3 lpc on skr v1.3] lately I had little time, the homing on 4 axis hidden by problems !!! maybe some bag on rrf3 lpc? in loading the new line I noticed that it was missing ----; ----- at the end of the line, it made no sense to me !!!!! 4 ASSE.JPG

                              now i bought a duet 3 6ch and i don't know how to recompile the firmware to add the hidden 4 axis !! can you help me ? or tell me if I find documentation and where? if I can help you too but I think you know more about me on rrf for duet !!!

                              undefined undefined 2 Replies Last reply 4 Aug 2020, 19:36 Reply Quote 0
                              • undefined
                                JoergS5 @tony73
                                last edited by JoergS5 8 Apr 2020, 19:37 4 Aug 2020, 19:36

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators @tony73
                                  last edited by dc42 8 Apr 2020, 19:44 4 Aug 2020, 19:43

                                  @tony73 said in how to recompile the firmware.bin:

                                  now i bought a duet 3 6ch and i don't know how to recompile the firmware to add the hidden 4 axis !! can you help me ? or tell me if I find documentation and where? if I can help you too but I think you know more about me on rrf for duet !!!

                                  See https://github.com/Duet3D/RepRapFirmware/blob/dev/BuildInstructions.md. Development of RRF is currently on the v3.02-dev branch.

                                  Please upgrade the firmware on your Duet 3 to version 3.1.1 and check all is OK before you try to install your own firmware.

                                  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 4 Aug 2020, 20:42 Reply Quote 0
                                  • undefined
                                    tony73 @dc42
                                    last edited by 4 Aug 2020, 20:42

                                    @dc42

                                    duet 3 6ch arrived from 1 day I'm connecting it to the scara !! all different from rrf lpc on skr v1.3 ..... m122 tells me this diagnostica duet.JPG

                                    version 3.01-rc9 !!! I don't know how to update to 3.1.1 is there a guide? and T: -273.1 can I use this 100k thermistor on duet 3 6ch? it went on rrf3 lps + skr v1.3 20200804_223202.jpg

                                    I have no idea how to update the firmware !!! thank you all !!!

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      dc42 administrators
                                      last edited by dc42 8 Apr 2020, 20:46 4 Aug 2020, 20:45

                                      Download https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip, then upload it to the Duet from the System page of Duet Web Control. More at https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware.

                                      Yes you can use a 100K thermistor.

                                      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 4 Aug 2020, 20:52 Reply Quote 0
                                      • undefined
                                        tony73 @dc42
                                        last edited by 4 Aug 2020, 20:52

                                        @dc42

                                        sorry but an example of config.g how to set up a 100k thermistor could you give an example or is there a guide? do I need an expansion card for this thermistor? thank you!!!

                                        Phaedruxundefined 1 Reply Last reply 4 Aug 2020, 23:30 Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator @tony73
                                          last edited by 4 Aug 2020, 23:30

                                          @tony73 https://configtool.reprapfirmware.org/Start

                                          Have you seen the config tool yet? You can choose your sensor there and set the values and it will generate a full config set for you to further modify.

                                          Thermistors do not require any other hardware.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          undefined 1 Reply Last reply 5 Aug 2020, 00:31 Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA