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.

Publié : 20/05/2017 8:42 pm
JeffJordan
(@jeffjordan)
Membre Moderator
Re: DOGLCD / Full Graphic Smart Controller won't work with Prusa i3 MK2 firmware

have you set up your arduino the way it is needed to compile the prusa firmwares ?
are you able to compile the downloaded firmware files from github without any changes ?

if not, have a look at this thread/post from allen.d.

once you've managed to compile the genuine firmware for the prusa i3 mk2(s), you can proceed with your alterations related to the doglcd display.

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

Publié : 20/05/2017 10:12 pm
thomas.b9
(@thomas-b9)
Active Member
Topic starter answered:
Re: DOGLCD / Full Graphic Smart Controller won't work with Prusa i3 MK2 firmware

have you set up your arduino the way it is needed to compile the prusa firmwares ?
are you able to compile the downloaded firmware files from github without any changes ?

if not, have a look at this thread/post from allen.d.

once you've managed to compile the genuine firmware for the prusa i3 mk2(s), you can proceed with your alterations related to the doglcd display.

I've already:

  • Set up Arduino with RAMBo board and all libraries (u8glib).

  • Cloned current firmware from Github.

  • Compiled it (successfully) with the script.
  • I'm just modifying the configuration files. Nothing should be wrong with my setup; the only thing I see being the issue is that Prusa's DOGM LCD configuration files are completely borked and/or unused since release.

    Publié : 20/05/2017 11:11 pm
    solomon.c
    (@solomon-c)
    Eminent Member
    Re: DOGLCD / Full Graphic Smart Controller won't work with Prusa i3 MK2 firmware

    I think this is basically the same issue being discussed over here: http://shop.prusa3d.com/forum/original-prusa-i3-mk2-f23/doglcd-implementation-issue-t3942.html

    If anyone has this working, please comment. I'm going to try to re-create how the OP got things compiling, but see if I can also merge the prusa/marlin variations into something that works. Perhaps the added functions need to be re-written for the file they're missing in, if that's the case, then I think it'll be beyond my understanding for now.

    Edit: fixed URL

    Publié : 08/07/2017 12:39 am
    Partager :