Notifications
Clear all

Unsure if I've modified firmware correctly  

  RSS
bradley.l
(@bradley-l)
Active Member
Unsure if I've modified firmware correctly

So I've performed this mod https://github.com/PrusaOwners/prusaowners/wiki/Bed_Leveling_without_Wave_Springs and I'm attempting to perform the modification to the most recent firmware release 3.6.0 for my MK3. After bashing my head through various levels of frustration and rage I finally got the Arduino IDE 1.8.5 to load the RAMBo board specifications from https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json after several failed attempts to add it into the board library manually (I am very new to arduino, so I would not recommend this for anyone not well versed in it.)

I made sure to delete LiquidCrystal as directed, and moved the correct board config file from the variants folder and renamed it appropriately. I copied and pasted the change to the G81 output section. I compiled everything successfully and then exported successfully.

My concern is that the .Hex file that you can download from Prusa at https://www.prusa3d.com/drivers/ is 862kb in size, but the modified one I've exported comes in at 684kb in size. This https://mega.nz/#!ji4EmK7I!_jTrAmE_XWuy3zwb51JH7FEr62hDK3WO0EQBKKJwgOU is the link for the modified firmware if anyone can take a look at this and see if it is fine and I'm being paranoid about something I don't fully understand, or whether I'm likely to turn my printer into a fancy non-printing Brick.

Any help would be greatly appreciated. My eternal thanks in advance for whatever it's worth to anyone who reads this.

Publié : 28/03/2019 9:10 am
bradley.l
(@bradley-l)
Active Member
Topic starter answered:
Re: Unsure if I've modified firmware correctly

I forgot to add that I downloaded the Prusa MK3 3.6.0 firmware from https://github.com/prusa3d/Prusa-Firmware/releases/tag/v3.6.0

Publié : 28/03/2019 9:24 am
Bunny Science
(@bunny-science)
Noble Member
Re: Unsure if I've modified firmware correctly

I made sure to delete LiquidCrystal as directed

Why? Do you also install an alternative display instead of the normal LCD display panel?
You should not need to do that otherwise.

The Prusa compilation instructions are quite cryptic for first time compilers. I have some alternative instructions that may be more clear. Just use the desired firmware branch instead of my 0.9 degree motor branch.

https://shop.prusa3d.com/forum/user-mods-octoprint-enclosures-nozzles--f65/stepper-motor-upgrades-to-eliminate-vfa-s-vertical-t28098-s90.html#p133678

Publié : 28/03/2019 1:48 pm
teookie
(@teookie)
Eminent Member
Re: Unsure if I've modified firmware correctly

The reason your file is smaller is because your file only has one language in it, while the file from prusa has multiple languages.

Speaking of languages, you need to set LANG_MODE to "0" in Firmware/config.h Otherwise you'll get gibberish on the LCD and boot loops. Ask me how I know, LOL.

Publié : 28/03/2019 8:22 pm
bradley.l
(@bradley-l)
Active Member
Topic starter answered:
Re: Unsure if I've modified firmware correctly

Many thanks for your reply. I seemed to have completely missed the bit in the github about the Liquidcrystal bit being obsolete. Thanks for also cleaning up my singular response (which was rendered incorrect by my previous oversight).

I am attempting to follow the instructions from your post (fantastic by the way) and have a slight question. The portion about editing the compiler flags in the platform.txt for the RAMBo board is quite clear, but the platform.txt that the Arduino IDE is downloading does not contain anything other than:
" RAMBo AVR Core and platform.
# ------------------------------

# For more info:
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification

name=RAMBo AVR Boards
version=1.5.6"

Is this correct? your post seems to indicate that there should already be some existing compiler flags in this document. Do I just add the "compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections" wherever then?

Publié : 28/03/2019 8:28 pm
bradley.l
(@bradley-l)
Active Member
Topic starter answered:
Re: Unsure if I've modified firmware correctly

Seems to have compiled and flashed fine after the modifications and without any alteration to the platform.txt. Many thanks to both guy.k2 and trent.t for their sagely input. Leveling is commencing nicely.

Publié : 28/03/2019 9:37 pm
Partager :