Problem building Duet firmware December 21, 2013 01:15PM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware December 21, 2013 05:12PM |
Registered: 11 years ago Posts: 314 |
Re: Problem building Duet firmware December 21, 2013 07:08PM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware December 21, 2013 08:29PM |
Registered: 13 years ago Posts: 1,611 |
Re: Problem building Duet firmware December 21, 2013 08:38PM |
Registered: 10 years ago Posts: 176 |
Re: Problem building Duet firmware December 22, 2013 03:20AM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware December 22, 2013 06:07AM |
Registered: 13 years ago Posts: 116 |
Re: Problem building Duet firmware December 22, 2013 09:36AM |
Registered: 10 years ago Posts: 176 |
Re: Problem building Duet firmware December 28, 2013 12:03AM |
Registered: 10 years ago Posts: 157 |
http://www.baeyens.it/eclipse/V2
Re: Problem building Duet firmware December 28, 2013 02:50AM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware December 28, 2013 09:25AM |
Registered: 10 years ago Posts: 157 |
Re: Problem building Duet firmware December 30, 2013 03:14PM |
Registered: 13 years ago Posts: 1,611 |
Quote
Adrian Bowyer
Compiling from Source
RepRap Frimware was developed using the Eclipse IDE, which is much more powerful for big software projects than the Arduino IDE.
We use Eclipse Juno, which is available here:
[www.eclipse.org]
You will also need the Eclipse Arduino support:
[www.baeyens.it]
And the Arduino IDE itself (make sure you get the one for the Due/Duet - version 1.5.5 at the time of writing):
[arduino.cc]
Finally you will need our libraries for driving the periphearls:
[github.com]
Start by getting the Arduino IDE programming your Duet with a simple Hello World program that prints to the USB (SerialUSB.print("Hello World"); on the Due/Duet, not Serial.print("Hello World");... )
Then install Eclipse and the Arduino plugin.
Make temporary copise of RepRapFirmware.cpp and RepRapFirmware.h from your download in another folder (you will only need to do this once).
Finally use Eclipse to open the Arduino project called RepRapFirmware in the folder where you have downloaded the RepRap Firmware code. Tell Eclipse to use the Arduino-libraries files you downloaded as the local libraries. Eclipse will complain that the project already exists (which it does - it is your download). Ignore this and it will open the project anyway.
Annoyingly the first time it may also overwrite RepRapFirmware.cpp and RepRapFirmware.h. So close the project, overwrite its overwrites with the two files you saved, open the project again and refresh it. Everything should now be ship-shape. Add the libraries
Wire
EMAC
Lwip
MCP4461
SamNonDuePin
SD_HSMCI
to your project. Under no circumstances be tempted to add standard Arduino libraries for devices like Ethernet - these are for the Due, and will not work on the Duet.
You should now be able to compile the code and upload the result to the Duet.
Re: Problem building Duet firmware December 31, 2013 08:43AM |
Registered: 10 years ago Posts: 157 |
Re: Problem building Duet firmware January 01, 2014 01:47PM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware January 01, 2014 04:38PM |
Registered: 10 years ago Posts: 157 |
Re: Problem building Duet firmware January 02, 2014 08:17AM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware January 02, 2014 08:41AM |
Registered: 13 years ago Posts: 116 |
Re: Problem building Duet firmware January 02, 2014 09:13AM |
Registered: 10 years ago Posts: 157 |
Re: Problem building Duet firmware January 02, 2014 12:16PM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware January 02, 2014 10:55PM |
Registered: 10 years ago Posts: 41 |
Re: Problem building Duet firmware January 03, 2014 06:44AM |
Registered: 10 years ago Posts: 157 |
Re: Problem building Duet firmware January 03, 2014 07:58AM |
Registered: 10 years ago Posts: 41 |
Re: Problem building Duet firmware January 03, 2014 09:14AM |
Registered: 13 years ago Posts: 1,236 |
Re: Problem building Duet firmware January 03, 2014 12:15PM |
Registered: 10 years ago Posts: 14,685 |
Re: Problem building Duet firmware January 03, 2014 08:46PM |
Registered: 10 years ago Posts: 41 |
Re: Problem building Duet firmware January 07, 2014 05:09AM |
Registered: 10 years ago Posts: 119 |
Re: Problem building Duet firmware January 07, 2014 01:08PM |
Registered: 10 years ago Posts: 55 |
Re: Problem building Duet firmware January 07, 2014 01:14PM |
Registered: 10 years ago Posts: 119 |
Quote
alanbattersby
Out of interest I have tried to compile the firmware with the 1.5.5 libraries. I just get a problem with network/ethernet.sam. Eclipse is reporting
Unresolved inclusion:
- fatal error: lwip/src/include/lwip/netif.h: No such file or directory
But it is there so anyone any idea what is going wrong?
Thanks
Alan
Re: Problem building Duet firmware January 09, 2014 03:45AM |
Registered: 10 years ago Posts: 157 |
Quote
If you get disconnects on the USB, it is often due to interference on the USB, this is a commonly reported problem with many RepRap type setups. I find it happens when my fridge switches. Using better quality USB cables, shorter cables, a USB hub, or attaching ferrites to the cable all may help.
Re: Problem building Duet firmware January 09, 2014 04:00AM |
Registered: 10 years ago Posts: 14,685 |
Quote
3D-ES
My firmware seems to be running stable now, even if the binary contents is different!