Notifications
Clear all

latest firmware  

Strona 2 / 2
  RSS
3Delight
(@3delight)
Moderator Moderator
Re: latest firmware

For anyone looking at this thread for help the stk500boot_v2_mega2560.hex can be downloaded here: https://github.com/arduino/Arduino-stk500v2-bootloader/tree/master/goodHexFiles . The board should be set to Tools->Board->RAMBo (in the Marlin AVR Boards section of the menu.

Opublikowany : 06/08/2016 11:46 am
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: latest firmware

Guys,

I need to spend time with my kids, so shortly:

Please follow the following description to install Arduino and the RAMBo add-on.
https://github.com/prusa3d/Prusa-Firmware/blob/master/README.md

You may safely ignore the error message about the missing boat loader stk500boot_v2_Mega2560.hex . You will not need it, as the boot loader is already programmed into your RAMBo.

You need to copy one of the variants\*.h to Configuration_prusa.h
For example, if you have the RAMBo13a board, you need to copy
variants\1_75mm_MK2-RAMBo13a-E3Dv6full.h to Configuration_prusa.h

Probably the simplest way to compile and program is to run the Arduino from the command line. Start cmd.exe, go to the Firmware directory where the Firmware.ino file resides and start the following line. You only need to change COM9 to the COM port your RAMBo was assigned to. The following line is Windows 64bit specific.

"c:\Program Files (x86)\Arduino\arduino_debug.exe" --pref build.path=..\output --upload --port COM9 --board marlinAddon:avr:rambo -v --preserve-temp-files Firmware.ino

All in all, you don't need any ISP programmer. The RAMBo board is programmed using the boot loader over a serial line.

Vojtech

Opublikowany : 06/08/2016 3:14 pm
David T.
(@david-t)
Noble Member
Re: latest firmware

You need to copy one of the variants\*.h to Configuration_prusa.h
For example, if you have the RAMBo13a board, you need to copy
variants\1_75mm_MK2-RAMBo13a-E3Dv6full.h to Configuration_prusa.h

I can't see MK2 variant of 1.75mm config in that folder. Is it stored anywhere else?

Opublikowany : 06/08/2016 3:39 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
Re: latest firmware

You need to pull the MK2 branch.
Vojtech

Opublikowany : 06/08/2016 4:10 pm
David T.
(@david-t)
Noble Member
Re: latest firmware

Oh, I didn't even notice there is MK2 branch in the same repo. 😳

Opublikowany : 06/08/2016 4:20 pm
PJR
 PJR
(@pjr)
Antient Member Moderator
Re: latest firmware

David

You are not the first to miss the Mk2 branch and you certainly won't be the last...

Strange thing is that the Mk2 branch has previously included the Mk1 code. So it's not a Mk2 branch, but a V3 branch. But is it actually Master

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Opublikowany : 06/08/2016 5:57 pm
JeffJordan
(@jeffjordan)
Member Moderator
Re: latest firmware

hmmm... just tried to set up the IDE and compile the latest firmware (seems to be a 3.0.10-alpha) from the github MK2 branch with my old arduino (1.6.12), but i'm stuck right now (it really seems to be a pita).

downloaded the firmware sources from here https://github.com/prusa3d/Prusa-Firmware , managed to add the RAMBo board to arduino, exchanged the LiquidCrystal library, downloaded the 1_75mm_MK2-RAMBo13a-E3Dv6full.h from the variants folder and renamed it to Configuration_prusa.h and tried to build it.
but i'm stuck now, i always get the following error:Arduino: 1.6.12 (Windows 7), Board: "RAMBo"

In file included from sketch\Marlin.h:23:0,

from sketch\thermistortables.h:4,

from sketch\Configuration.h:721,

from D:\Downloads\Prusa-Firmware-MK2\Prusa-Firmware-MK2\Firmware\Firmware.ino:33:

pins.h:299: error: #error Unknown MOTHERBOARD value in configuration.h

#error Unknown MOTHERBOARD value in configuration.h

^

exit status 1
#error Unknown MOTHERBOARD value in configuration.h

by the way, the "General instructions" are very rough, especially step3 (install arduino addon....).
a little bit like "make a dough with flour, eggs and butter" in the technical challange at the great british bakeoff... without any further informations about weights, measures and procedure. 😉

anyone (peter ? 😀 ) who could help ?

dem inscheniör is' nix zu schwör...

Opublikowany : 03/01/2017 11:22 pm
PJR
 PJR
(@pjr)
Antient Member Moderator
Re: latest firmware

Jeff

Someone else tried to compile the alpha with little success; I think you need to get the 3.0.9 source if possible.

BTW, I never followed the Github instructions for the add-ons; just let the IDE find the RAMBo stuff from the repository.

MOTHERBOARD is defined in Configuration.prusa.h (line 19) so looks like you may have an issue with that file.

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Opublikowany : 04/01/2017 11:21 am
JeffJordan
(@jeffjordan)
Member Moderator
Re: latest firmware

... I think you need to get the 3.0.9 source if possible.

that was my first 💡 , but until now i wasn't able to get 3.0.9 or previous source files for the MK2.
😕

dem inscheniör is' nix zu schwör...

Opublikowany : 04/01/2017 1:06 pm
patrizio.b
(@patrizio-b)
Trusted Member
Re: latest firmware

Check here for better instructions:
https://github.com/prusa3d/Prusa-Firmware/issues/29

Opublikowany : 04/01/2017 7:52 pm
JeffJordan
(@jeffjordan)
Member Moderator
Re: latest firmware

thanks mate, these instructions are much clearer and better.
💡

but unfortunately i still couldn't manage to get the firmware compiled.
➡ still run into the "Unknown MOTHERBOARD value in configuration.h"-error...

anyone here who has a copy of previously sources (like 3.0.9 or before) or knows where to find one ❓

dem inscheniör is' nix zu schwör...

Opublikowany : 05/01/2017 11:56 pm
PJR
 PJR
(@pjr)
Antient Member Moderator
Re: latest firmware

Jeff

Here is 3.0.8 with the relevant Configuration.prusa.h.

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Opublikowany : 06/01/2017 9:29 am
JeffJordan
(@jeffjordan)
Member Moderator
Re: latest firmware

@PJR:
Peter, a big THANK YOU !.

dem inscheniör is' nix zu schwör...

Opublikowany : 06/01/2017 12:05 pm
PJR
 PJR
(@pjr)
Antient Member Moderator
Re: latest firmware

Jeff. Pleasure. I really still don't like the Github organisation. Where are the archives? I do think that overwriting the current release with an alpha is not the best idea.

Peter

Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…

Opublikowany : 06/01/2017 12:40 pm
patrizio.b
(@patrizio-b)
Trusted Member
Re: latest firmware

3.0.10-alpha compiles fine. For 3.0.9, go here and download zip:
https://github.com/prusa3d/Prusa-Firmware/tree/3.0.9

In git nothing is overwritten, just check the various branches and tags.

Opublikowany : 06/01/2017 2:44 pm
JeffJordan
(@jeffjordan)
Member Moderator
Re: latest firmware

❗ thank you guys ❗ !

finally i managed to set up an IDE to compile the MK2 firmware.
it really was a pita, always had trouble with libraries from another version, even that i used the "windows" version instead of the "windows installer" one.

at least i installed the arduino 1.6.8 on a completely different pc, and now compiling runs through with two minor warnings:WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized'
Warning: platform.txt from core 'Marlin AVR Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.

now, when i export the stuff into binaries, two .hex files are generated:

Firmware.ino.rambo.hex
Firmware.ino.with_bootloader.rambo.hex

😉

but the size of the Firmware.ino.with_bootloader.rambo.hex (build 3.0.8, 3.0.9 and 3.0.10-alpha) always differ from the one you can download at the prusa support site (which might be related to the second warning ?).
😕

any ideas why ?

btw. arduino suggests to update some board and library informations (should i do so ?).

dem inscheniör is' nix zu schwör...

Opublikowany : 07/01/2017 6:46 pm
luma
 luma
(@luma)
Member
Re: latest firmware

If you're running Windows I think I have something that can help. Run the script and you'll have a running Arduino dev environment configured with the latest code from GitHub. You run the script, a couple minutes later the IDE opens with the Prusa firmware ready for editing and upload.

In regards to the two compiler warnings: those are normal. The sizes of the generated binaries are different than the officially-released versions but they work on my printer. You do not want to update libraries in the Arduino IDE. The script above disables update checks in the IDE's preferences.txt.

Opublikowany : 08/01/2017 4:36 am
JeffJordan
(@jeffjordan)
Member Moderator
Re: latest firmware

that's awesome mate !!!

now i can use my standard pc for altering and compiling the firmware and don't need to run arduino 1.6.8 at my htpc in the parlour.
it even uses it's own recent-files history.
seems that both arduino installations really don't interfere (still can compile my arduino nano projects successful). great !
😀 😛 :mrgreen:

yesterday i spend several hours following pboschi's cookbook, but always ran into problems with complaints about used constants and variables inside other libraries of my 1.6.12 installation (dedicated for arduino nano and ATTiny45/85 projects).

dem inscheniör is' nix zu schwör...

Opublikowany : 08/01/2017 10:55 am
PU2
 PU2
(@pu2)
Eminent Member
Re: latest firmware

After release 3.1.0 I am not able succesfully transfer firmware to my printer via Get-PrusaFwDevEnv.cmd. Result is always similar to :
avrdude: verification error, first mismatch at byte 0x036e
0x4b != 0xf2
avrdude: verification error; content mismatch

When I try transfer 3.1.0 code via Updater it is without any problem. My printer is little bit higher I need Z_MAX_POS change. Does anybody have same problem? What to do?

Opublikowany : 29/11/2017 1:08 am
Strona 2 / 2
Share: