Page 1 of 1

lcd arduino update problem

Posted: Wed Apr 17, 2013 12:45 pm
by Avi
in order to install the lcd unit for the rambo on my rostock i made all the necessary changes to my arduino software as explained on:
http://reprap.org/wiki/RamboLCD

when i tried to compile it i got an error and the fallowing explanation:
"

C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x94): multiple definition of `digital_pin_to_bit_mask_PGM'
pins_arduino.c.o:(.progmem.data+0xa0): first defined here
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `digital_pin_to_bit_mask_PGM' changed from 82 in pins_arduino.c.o to 70 in C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o)
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x4e): multiple definition of `digital_pin_to_port_PGM'
pins_arduino.c.o:(.progmem.data+0x4e): first defined here
c:/users/avi/desktop/cad/rostock/arduino-1.5.2-windows/arduino-1.5.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `digital_pin_to_port_PGM' changed from 82 in pins_arduino.c.o to 70 in C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o)
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x0): multiple definition of `port_to_mode_PGM'
pins_arduino.c.o:(.progmem.data+0x0): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x1a): multiple definition of `port_to_output_PGM'
pins_arduino.c.o:(.progmem.data+0x1a): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0xda): multiple definition of `digital_pin_to_timer_PGM'
pins_arduino.c.o:(.progmem.data+0xf2): first defined here
C:\Users\Avi\AppData\Local\Temp\build1712235795501595737.tmp/core.a(wiring_digital.c.o):(.progmem.data+0x34): multiple definition of `port_to_input_PGM'
pins_arduino.c.o:(.progmem.data+0x34): first defined here
"

anyone have an idea what i'm doing wrong?

thanks!

Re: lcd arduino update problem

Posted: Wed Apr 17, 2013 1:30 pm
by Polygonhell
From the errors I'd say you didn't need to make the changes, because the firmware you were using already had them made.
What firmware are you trying to use?

Re: lcd arduino update problem

Posted: Wed Apr 17, 2013 1:40 pm
by Avi
that is an excellent question, i have no idea....
i tried to connect the lcd board before i updated the firmware and it didn't work so i'm not sure it came ready for the lcd

Re: lcd arduino update problem

Posted: Wed Apr 17, 2013 1:41 pm
by Polygonhell
Avi wrote:that is an excellent question, i have no idea....
i tried to connect the lcd board before i updated the firmware and it didn't work so i'm not sure it came ready for the lcd
The question I'm asking is which firmware were you trying to compile with the arduino software, i.e. where did you get it from?
EDIT: also it looks like you are trying to use arduino 1.5 which doesn't work with most of the firmwares as far as I understand

Re: lcd arduino update problem

Posted: Wed Apr 17, 2013 1:45 pm
by Avi
i am using 1.5.2

Re: lcd arduino update problem

Posted: Wed Apr 17, 2013 1:55 pm
by Polygonhell
Avi wrote:i am using 1.5.2
Form page 7 of the instructions
Please note that these instructions apply only to the 0023 version of the Arduino environment.
More up to date versions may be different and the instructions that follow may not work properly
Your using 1.52, there were significant changes in the arduino tools both at 1.0 and 1.5, and not all software can be built with all versions.

You still haven't told me where you got the firmware.
Most firmwares will compile with the 1.0.X versions now, and that probably doesn't need the modification

FWIW Sticking to the versions in the documents is probably a good idea if you're not familiar with software development

Re: lcd arduino update problem

Posted: Wed Apr 17, 2013 2:09 pm
by Avi
these is where i got it from:
http://downloads.arduino.cc/arduino-1.5.2-windows.zip
FWIW Sticking to the versions in the documents is probably a good idea if you're not familiar with software development
you are absolutely right,
i am just trying to connect the lcd unit.....

any ideas how to fix this?

Re: lcd arduino update problem

Posted: Wed Apr 17, 2013 2:35 pm
by Polygonhell
go here
http://arduino.cc/en/Main/Software

Scroll down the page and download version 0023