User avatar
Xray965
Posts: 58
Joined: Mon Feb 06, 2017 11:39 pm
Location: Kuwait
Contact: Send private message Website

Compiling on latest Arduino IDE

Fri Oct 13, 2017 1:10 am

Quick question, are there any issues on compiling with the latest Arduino IDE or should one stick with 1.6.8 ?

Thank you
Prusa i3 MK2s - Kit Build - Rc Driver - Tweak freak...

waldemar.g
Posts: 273
Joined: Tue Dec 06, 2016 11:27 pm
Topics answered: 2
Contact: Send private message

Re: Compiling on latest Arduino IDE

Fri Oct 13, 2017 8:31 am

Hi,

I use the newest version 1.8.5 with the Additional Board URL 'https://raw.githubusercontent.com/ultim ... index.json' and searching in the Boards Manger for 'RAMBO'. Used in the past the Arduino IDE 1.6.8 with all the changes but don't need it anymore.

Before you open Arduino IDE you need to copy the right 'Configuration_prusa.h' file from the variants folder:
- 1_75mm_MK2-RAMBo13a-E3Dv6full.h for Prusa i3 MK2/s with miniRAMbo 1.3 controller
- 1_75mm_MK2-MultiMaterial-RAMBo13a-E3Dv6full.h for Prusa i3 MK2/s with MM upgrade and miniRAMbo 1.3 controller

When you compile the code and then export the compiled binary make sure that you use the 'Firmware.ino.with_bootloader.rambo.hex' file to upload via the Prusa firmware uploader.

stephen.l2
Posts: 53
Joined: Sat Sep 10, 2016 10:35 pm
Contact: Send private message

Re: Compiling on latest Arduino IDE

Sun Oct 15, 2017 2:59 pm

Why do you need to upload the hex file with Prusa firmware updater while you can just upload the firemware directly with Arduino IDE? Any advantage of doing so?

waldemar.g
Posts: 273
Joined: Tue Dec 06, 2016 11:27 pm
Topics answered: 2
Contact: Send private message

Re: Compiling on latest Arduino IDE

Sun Oct 15, 2017 3:35 pm

stephen.l2 wrote:
Sun Oct 15, 2017 2:59 pm
Why do you need to upload the hex file with Prusa firmware updater while you can just upload the firemware directly with Arduino IDE? Any advantage of doing so?
Hi Stephan,

I like to have different hex files for different stages of development. So i can see which version i uploaded or roll back if something odd happens.
Don't know if the direct upload has any disadvantages.

Under the motto: Whatever suits you and works is good.

cornee.t
Posts: 1
Joined: Sun Apr 30, 2017 11:08 am
Contact: Send private message

Re: Compiling on latest Arduino IDE

Mon Nov 13, 2017 4:07 pm

waldemar.g wrote:
Fri Oct 13, 2017 8:31 am
When you compile the code and then export the compiled binary make sure that you use the 'Firmware.ino.with_bootloader.rambo.hex' file to upload via the Prusa firmware uploader.
For me there is only a Firmware.ino.rambo.hex file generated, Firmware.ino.with_bootloader.rambo.hex is absent. Any idea why this is?

I'm running arduino 1.8.5 with 1.0.1 of the board repo on latest MK2 branch.

waldemar.g
Posts: 273
Joined: Tue Dec 06, 2016 11:27 pm
Topics answered: 2
Contact: Send private message

Re: Compiling on latest Arduino IDE

Mon Nov 13, 2017 4:22 pm

cornee.t wrote:
Mon Nov 13, 2017 4:07 pm
waldemar.g wrote:
Fri Oct 13, 2017 8:31 am
When you compile the code and then export the compiled binary make sure that you use the 'Firmware.ino.with_bootloader.rambo.hex' file to upload via the Prusa firmware uploader.
For me there is only a Firmware.ino.rambo.hex file generated, Firmware.ino.with_bootloader.rambo.hex is absent. Any idea why this is?

I'm running arduino 1.8.5 with 1.0.1 of the board repo on latest MK2 branch.
Hi,

Ultimachine updated 23. October 2017 their json file check: https://github.com/ultimachine/ArduinoAddons

I use it all the time and have no issue to compile my modified code and upload the file to the printer.
Here some updated Build instructions:
https://github.com/3d-gussner/Prusa-Fir ... vate_build
https://github.com/3d-gussner/Prusa-Fir ... UILDING.md
and
https://github.com/thess/Prusa-Firmware ... UILDING.md

Hope that helps,

Waldemar

walter.v4
Posts: 13
Joined: Sat Aug 26, 2017 4:26 pm
Location: Switzerland
Contact: Send private message

Re: Compiling on latest Arduino IDE

Fri Dec 08, 2017 4:20 pm

Thanks for the info.

I am compiling source files version 3.1.0 with arduino version 1.8.5

I have added this line in the "Preferences":

Code: Select all

https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json
"RAMBo" board has been selected from menu Tools --> Board:

As already mentioned, only "Firmware.ino.rambo.hex" file is generated.

Is it normal behaviour or should we get at some point the second file with the bootloader as well?

Thanks

waldemar.g
Posts: 273
Joined: Tue Dec 06, 2016 11:27 pm
Topics answered: 2
Contact: Send private message

Re: Compiling on latest Arduino IDE

Sat Dec 09, 2017 1:40 pm

walter.v4 wrote:
Fri Dec 08, 2017 4:20 pm
Thanks for the info.

I am compiling source files version 3.1.0 with arduino version 1.8.5

I have added this line in the "Preferences":

Code: Select all

https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json
"RAMBo" board has been selected from menu Tools --> Board:

As already mentioned, only "Firmware.ino.rambo.hex" file is generated.

Is it normal behaviour or should we get at some point the second file with the bootloader as well?

Thanks
Hi Walter,

sorry for the late answer. Ultimachine updated their ArduinoAddons files on 23rd October 2017 and since that there is only ONE hex file generated.
You can flash your printer with that generated hex file.

walter.v4
Posts: 13
Joined: Sat Aug 26, 2017 4:26 pm
Location: Switzerland
Contact: Send private message

Re: Compiling on latest Arduino IDE

Sat Dec 09, 2017 7:51 pm

Thanks for your quick answer.
I just discovered on prusa3d github folder some "activity" in the stk500v2 and avrdude folders. Maybe Prusa is preparing a new bootloader together with an updated avrdude tool.
Anyway, let's wait and see...

keith.m10
Posts: 36
Joined: Sat Oct 07, 2017 8:38 pm
Contact: Send private message

Re: Compiling on latest Arduino IDE

Mon Dec 11, 2017 12:40 am

You have not installed the <board>boot loader for it to create the other firmware file. 8-)

Example: For the RAMBo you need to install the RAMBo boot loader file. But you do not really want to replace the boot loader if you have no problems with it.

Also you can not upload the boot loader through the USB port. The USB communication is part of the boot loader.

Return to “Prusa i3 kit (Archive)”

Who is online

Users browsing this forum: No registered users and 7 guests