lcd arduino update problem

The RAMBo board is finally here, and here's a place to talk about it!
Post Reply
Avi
Plasticator
Posts: 5
Joined: Mon Mar 18, 2013 7:53 pm

lcd arduino update problem

Post 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!
Polygonhell
ULTIMATE 3D JEDI
Posts: 2430
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: lcd arduino update problem

Post 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?
Avi
Plasticator
Posts: 5
Joined: Mon Mar 18, 2013 7:53 pm

Re: lcd arduino update problem

Post 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
Polygonhell
ULTIMATE 3D JEDI
Posts: 2430
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: lcd arduino update problem

Post 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
Avi
Plasticator
Posts: 5
Joined: Mon Mar 18, 2013 7:53 pm

Re: lcd arduino update problem

Post by Avi »

i am using 1.5.2
Polygonhell
ULTIMATE 3D JEDI
Posts: 2430
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: lcd arduino update problem

Post 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
Avi
Plasticator
Posts: 5
Joined: Mon Mar 18, 2013 7:53 pm

Re: lcd arduino update problem

Post 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?
Polygonhell
ULTIMATE 3D JEDI
Posts: 2430
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: lcd arduino update problem

Post by Polygonhell »

go here
http://arduino.cc/en/Main/Software

Scroll down the page and download version 0023
Post Reply

Return to “RAMBo”