DOGLCD / Full Graphic Smart Controller won't work with Prusa i3 MK2 firmware
 
Notifications
Clear all

DOGLCD / Full Graphic Smart Controller won't work with Prusa i3 MK2 firmware  

  RSS
thomas.b9
(@thomas-b9)
Active Member
DOGLCD / Full Graphic Smart Controller won't work with Prusa i3 MK2 firmware

I wanted to try to swap LCDs to use a bigger 128x64 display on my Prusa i3 MK2. Considering it was Marlin firmware, I thought it would just be commenting and uncommenting a few lines. However, it seems like Prusa has not kept up with their firmware and left dogm_lcd_implementation.h incomplete.

I am using the http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller display. Whenever I try to compile the 3.0.10 firmware for my printer, I get errors related to different functions not being implemented. I looked at https://github.com/prusa3d/Prusa-Firmware/issues/71 and found that the file was incomplete compared to ultralcd_implementation_hitachi_HD44780.h . So, I modified the firmware files to include the excluded methods to make the firmware compile.

Even then, I am still plagued with issues. Almost every single instance in the configuration files returns:

C:\Users\3s\AppData\Local\Temp\arduino_build_762328\sketch\ultralcd.cpp: In function 'void lcd_change_filament()':

ultralcd.cpp:965: error: 'lcd' was not declared in this scope

lcd.setCursor(0, 1);

^


And

C:\Users\3s\AppData\Local\Temp\arduino_build_762328\sketch\dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_generic_RAM(uint8_t, const char*, char, char)':

dogm_lcd_implementation.h:507: error: 'lcd' was not declared in this scope

lcd.setCursor(0, row);

^

However... if I comment out #define DOGLCD it uses ultralcd_implementation_hitachi_HD44780.h. It compiles correctly, but nothing shows up on the display, nor do any buttons work. Standard Marlin 1.1.1 will compile just fine with the smart controller, but the Prusa custom firmware will not.

Is there anything I'm missing now? Any configuration options I can use to get this working?

https://github.com/prusa3d/Prusa-Firmware/files/1016310/Log.txt Log is here. Thank you.

Posted : 20/05/2017 8:41 pm
Share: