Hi i have a Reprap Pro Huxley.
My old Sanguinololu board crashed. So i bought a new Sanguinololu Rev 1.3a with ATmega 1284P which has a bootloader already and the firmware for mendel on it. Now I tried nearly a day to upload the huxley firmware (https://github.com/reprappro/Marlin). My guide is [
reprap.org].
I work with Arduino 1.0.1 and the board files Sanguino-0101r1 (Added support for Arduino 1.0.1)
I selected the right COM port and the board Sanguino W/ ATmega 1284p 16mhz.
Next I open the Sprinter_Sanguinololu.pde file.
Configuration.h looks like this:
_____________________________________
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
// Uncomment ONE of the next three lines - the one for your RepRap machine
#define REPRAPPRO_HUXLEY
//#define REPRAPPRO_MENDEL
//#define REPRAPPRO_WALLACE
// BASIC SETTINGS: select your board type, thermistor type, axis scaling, and endstop configuration
//// The following define selects which electronics board you have. Please choose the one that matches your setup
// MEGA/RAMPS up to 1.2 = 3,
// RAMPS 1.3 = 33
// Gen6 = 5,
// Sanguinololu up to 1.1 = 6
// Sanguinololu 1.2 and above = 62
#define MOTHERBOARD 62
________________________________
should be fine i think...
My jumper is installed. But the problem is that i cant verify the firmware -.-
Error message is:
_________________________________
Sd2Card.cpp: In member function 'void Sd2Card::chipSelectHigh()':
Sd2Card.cpp:145: error: 'HIGH' was not declared in this scope
Sd2Card.cpp:145: error: 'digitalWrite' was not declared in this scope
Sd2Card.cpp: In member function 'void Sd2Card::chipSelectLow()':
Sd2Card.cpp:149: error: 'LOW' was not declared in this scope
Sd2Card.cpp:149: error: 'digitalWrite' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::init(uint8_t, uint8_t)':
Sd2Card.cpp:216: error: 'millis' was not declared in this scope
Sd2Card.cpp:220: error: 'OUTPUT' was not declared in this scope
Sd2Card.cpp:220: error: 'pinMode' was not declared in this scope
Sd2Card.cpp:222: error: 'INPUT' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::waitNotBusy(uint16_t)':
Sd2Card.cpp:471: error: 'millis' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::waitStartBlock()':
Sd2Card.cpp:481: error: 'millis' was not declared in this scope
__________________________
I´m quite a noob in the programming of electronics and I dont know what I need to do now.
The guide doesent say anything about this!
I tried the same with arduino-0023 and the 0.23 board files.
Now I get this error!
_____________________________
In file included from Sprinter_Sanguinololu.cpp:7:
/Configuration.h:271:2: error: #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
_____________________________
Its like a bad dream. I tried everything but ist always ends in crap -.-
I hope somebody can help me.
thx maxtex