Hi everybody,
As is often the case when joining a forum my first post is a problem…
I have a Velleman K8200 3d printer bought second hand from ebay.
Added the VM8201 standalone controller so need to update the firmware to suit.
The problem is I don’t really know what I am doing and am finding it very overwhelming, I hate having to ask for help when I don’t know what I am talking about so I have spend days searching online for guidance…
I have Arduino 1.0.6. (I saw that the newer versions won’t compile correctly for my application)
Here is what I have copied from Arduino…
Arduino: 1.0.6 (Windows NT (unknown)), Board: “Arduino Mega 2560 or Mega ADK”
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Marlin.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Marlin.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\avr-libc\malloc.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\malloc.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\avr-libc\realloc.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\realloc.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\WInterrupts.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\WInterrupts.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\wiring.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\wiring_analog.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_analog.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\wiring_digital.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_digital.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\wiring_pulse.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_pulse.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\wiring_shift.c -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_shift.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\CDC.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\CDC.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\HardwareSerial.cpp.o
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function ‘void store_char(unsigned char, ring_buffer*)’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:98: warning: comparison between signed and unsigned integer expressions
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function ‘void __vector_25()’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:127: warning: unused variable ‘c’
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function ‘void __vector_36()’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:153: warning: unused variable ‘c’
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function ‘void __vector_51()’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:168: warning: unused variable ‘c’
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function ‘void __vector_54()’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:183: warning: unused variable ‘c’
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function ‘void HardwareSerial::begin(long unsigned int, byte)’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:368: warning: unused variable ‘current_config’
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function ‘virtual size_t HardwareSerial::write(uint8_t)’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:467: warning: comparison between signed and unsigned integer expressions
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\HID.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\HID.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\IPAddress.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\IPAddress.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\main.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\main.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\new.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\new.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\Print.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Print.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\Stream.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Stream.cpp.o
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\Stream.cpp: In member function ‘bool Stream::find(char*)’:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\Stream.cpp:78: warning: deprecated conversion from string constant to ‘char*’
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\Tone.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Tone.cpp.o
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\Tone.cpp:94: warning: only initialized variables can be placed into program memory area
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\USBCore.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\USBCore.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\WMath.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\WMath.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino\WString.cpp -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\WString.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\malloc.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\realloc.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\WInterrupts.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_analog.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_digital.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_pulse.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\wiring_shift.c.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\CDC.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\HardwareSerial.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\HID.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\IPAddress.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\main.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\new.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Print.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Stream.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Tone.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\USBCore.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\WMath.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-ar rcs C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\WString.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-gcc -Os -Wl,–gc-sections,–relax -mmcu=atmega2560 -o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Marlin.cpp.elf C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\Marlin.cpp.o C:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp\core.a -LC:\Users\Scott\AppData\Local\Temp\build4737929017303675701.tmp -lm
core.a(main.cpp.o): In function main': C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:34: undefined reference to
setup’
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:44: undefined reference to `loop’
I might as well be trying to read another language as I’m getting nowhere with solving this, if anybody is willing to help please be aware that I really know very very little about it all, I am however trying to learn, I’m 48 and trained as a drawing office tech in my late teens so understand x, y, z axis etc but have never worked with g code, arduino etc.
Thank you in advance for any help.
Scott