Welcome! Log In Create A New Profile

Advanced

Rerap discount full graphic controller firmware update issue !

Posted by gm_chandru 
Rerap discount full graphic controller firmware update issue !
April 11, 2014 07:38AM
Hi

try to coonect full graphics LCD to my reprap but i am getting below error please help me

LCD is ON when connected laptop and not displaying any info if i removed USB from laptop LCD will be off.

PFA error message which i am getting while updating firmwire i am using Marlin

---------------------------------------------------------Error message------------------------------------------------------

What steps will reproduce the problem?
1. activating #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
2. Verify Code
3. Error will come like this

In file included from /dogm_lcd_implementation.h:38,
from ultralcd.cpp:36:
dogm_font_data_marlin.h:13: error: 'u8g_fntpgm_uint8_t' does not name a type
dogm_font_data_marlin.h:172: error: 'u8g_fntpgm_uint8_t' does not name a type
In file included from /dogm_lcd_implementation.h:40,
from ultralcd.cpp:36:
ultralcd_st7920_u8glib_rrd.h:43: error: 'u8g_t' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: 'u8g' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: 'u8g_dev_t' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: 'dev' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: expected primary-expression before 'msg'
ultralcd_st7920_u8glib_rrd.h:43: error: expected primary-expression before 'void'
ultralcd_st7920_u8glib_rrd.h:43: error: initializer expression list treated as compound expression
ultralcd_st7920_u8glib_rrd.h:44: error: expected ',' or ';' before '{' token

What is the expected output? What do you see instead?

It has to activate LCD Panel. and start printing without connected to computer

What version of the product are you using? On what operating system?
arduino-1.0.5 and windows 7

PFA screenshot.

Regards,
Chandru.
Attachments:
open | download - Marlin error.jpg (64.4 KB)
Re: Rerap discount full graphic controller firmware update issue !
April 12, 2014 12:57AM
I'll just quote from http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
Quote
REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [url]http://code.google.com/p/u8glib/wiki/u8glib[/url]
Re: Rerap discount full graphic controller firmware update issue !
April 12, 2014 01:09AM
already I have downloaded and installed the U8glib to ARDUINO library folder but still i am getting error
Re: Rerap discount full graphic controller firmware update issue !
June 27, 2014 09:05AM
I am having a similar issue, the code that appears at verification time is as follows:

ultralcd.cpp: In function 'void lcd_tune_menu()':
ultralcd.cpp:375: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_menu()':
ultralcd.cpp:781: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp:794: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp:795: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_pla_settings_menu()':
ultralcd.cpp:817: error: 'HEATER_0_MAXTEMP' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_abs_settings_menu()':
ultralcd.cpp:832: error: 'HEATER_0_MAXTEMP' was not declared in this scope

I just saw that your last post was like two months ago, did you solve your problem?.
Thanks
Arthur
Re: Rerap discount full graphic controller firmware update issue !
June 27, 2014 11:07AM
Did you restart the IDE after placing the files in the correct location?
Re: Rerap discount full graphic controller firmware update issue !
June 27, 2014 01:57PM
i have used adrino 1 insted of adrino1.5 and issue solved
Re: Rerap discount full graphic controller firmware update issue !
July 02, 2014 09:15AM
Thanks for the fast answers, it was unexpected.

@tjb1, yes I restarted the IDE, but one of my theories is that "u8glib" is not correctly installed even thou I proceed as indicated and it appears in the Skethbox-Libraries as contributed.

@gm_chandru, I am sorry I am a newbie, do you mean the IDE?, mine is Arduino 1.0.5-r2 or the board?, mine is a Mega-2560 with Ramps 1.4, but I didn't had opportunity to upload since the error is at verification time in the IDE.

Another theory is that maybe I have modified another file (without noticing), but I believe I am being a little neurotic.

Thanks again for your help.

Arthur
Re: Rerap discount full graphic controller firmware update issue !
July 02, 2014 01:29PM
To upload firmware use Arduino 1 instead of Arduino 1.0.5
Re: Rerap discount full graphic controller firmware update issue !
July 03, 2014 07:56PM
Ok, this is how I solved.

Uninstalled and erased everything except "configuration.h" file, which I kept apart. Then re-installed fresh downloads of everything. Immediately tested to uncomment "#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER" in "configuration.h" and pressed "Verify", I observed that it didn't fail as before and then started to change "configuration.h" to make it similar to the one I preserved, but verifying on each change. When I reached "#define TEMP_SENSOR_0 -1" and change to "#define TEMP_SENSOR_0 0" then the problem appeared when verifying!. I declared it to be "0" to handle the fact that I was doing tests without any thermistor connected, but this is not accepted when the firmware of the LCD display is activated. At least SENSOR_0 has to be declared with thermistor, of course in the screen appears like the head is at 500 degrees.

Hope this helps to anybody else. I am using Arduino1.0.5. and also "winmerge" to check the differences between the versions of "configuration.h".

Thanks to everybody that gave me ideas, as you can see I am not a code wiz.
Re: Rerap discount full graphic controller firmware update issue !
January 30, 2015 05:46PM
Just thought I would share my mistake that gave these errors.

I downloaded the incorrect distribution of the library, the arduino ide did not complain.

Because I didn't scroll down the page, saw ARM and AVR and grabbed AVR, should have scrolled down and got ARDUINO.
Sorry, only registered users may post in this forum.

Click here to login