Official firmware hex flashes fine, customized or unmodified in Arduino IDE causes screen garbage
 
Notifications
Clear all

[Solved] Official firmware hex flashes fine, customized or unmodified in Arduino IDE causes screen garbage  

  RSS
Lodad
(@lodad)
New Member
Official firmware hex flashes fine, customized or unmodified in Arduino IDE causes screen garbage

Hello,

So my problem is that if I compile the newest firmware in the Arduino IDE it causes the LCD garbage issue (actually seems to not be working at all because I can't get it to do initial calibration and clicking the wheel will make a bunch of characters flash on the screen and scroll very fast and then the printer resets). I also can't connect in pronterface, the console shows "Attempted to write invalid text to console, which could be due to an invalid baudrate."

I get the screen initially that says "Original Prusa i3 Prusa Research." but that's as much intelligible text I get. When I re-flash the 3.8.x or 3.9.0 firmware hex in PrusaSlicer, everything goes back to normal.

Whether I leave it unmodified or customize any options, when I flash it from the IDE or export to hex and then flash it in PrusaSlicer, same issue. Flashing official firmware hex files through PrusaSlicer that I downloaded from the Prusa website works fine. I've followed the instructions at https://github.com/prusa3d/Prusa-Firmware to get set up for customizing firmware and am using the recommended 1.8.5 version of the Arduino IDE, have even used revo uninstaller to clear all installation files and tried a newer version with the same issues. I revo'd one more time and went back to 1.8.5 and followed the instructions over and still no go. I tried on a different computer with a portable version of the Arduino IDE and that hasn't worked either. Does anyone have any ideas of what the heck I should do?

Posted : 22/06/2020 10:38 pm
towlerg
(@towlerg)
Noble Member
RE: Official firmware hex flashes fine, customized or unmodified in Arduino IDE causes screen garbage

Try this, compile stock Prusa firmware and compare resultant hex with published hex and post result (same/not same).

Posted : 23/06/2020 11:08 am
Lodad
(@lodad)
New Member
Topic starter answered:
RE: Official firmware hex flashes fine, customized or unmodified in Arduino IDE causes screen garbage

@towlerg

Hey, thanks for the reply! The problem was LANG_MODE in config.h - I unzipped a fresh copy of the firmware files and saw the commented line set to 0 rather than changing the uncommented line from 1 to 0.

Posted : 23/06/2020 5:52 pm
Share: