how to recompile the firmware.bin
-
good evening I would like to make a modification all kinematic scara single arm, I found the lines of code in a forum post the problem is that you don't come to recompile the firmware, the second problem is that I'm using rrf 3 lpc 1768 on a skr v1. 3 can someone help me? thanks anyway!
-
For support on compiling the LPC version, it helps to tag @gloomyandy.
-
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. -
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.1Depending 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-01There 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/wikiThere 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.
-
Here's the link to the discord channel.
https://discord.gg/uS97Qs7 -
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! 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
-
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.
-
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 position
-
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.
-
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.
-
@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.exeWhen 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.
-
I compiled a firmware for @koaldesigns in the mean time (but not without stumbling around a bit trying to build from head).
-
@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.
-
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 (-:
-
This post is deleted! -
@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 !!!!!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 !!!
-
This post is deleted! -
@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 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
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
I have no idea how to update the firmware !!! thank you all !!!
-
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.