Hi, I'm just finished of building my first Sanguinololu 7.0 PCB board and i can successful to upload a ATmegaBOOT_644P bootloader
and no problem uploading a firmware into a chip through by on-board FTDI232RL chip which is solder at the bottom of a PCB. However, until to now, I stiil can't to connect a board to "Reprap Host" or " "RepSnapper" respectively.
I had tried by using different combination of "firmware + (differnet version Reprap Host)" but still can't successful yet.
According to my many errors. Now im suspect did i making a wrong (hardware) or bad solding to bring out this problem ? if yes, why i can successful to uploading a filmware ? If i can uploading a filmware, that mean a communication
of computer via on-board FTDI232RL is no problem. But, why i cannot conecting to host software ?
Anyone who can success to connected Sanguinololu 7.0 to Host software before ? Would you tell me some of
your experience how to make it work !!!!!!
inside : configuration.h file
1.) - using -
#define DEFAULTS MENDEL_MEGA_DEFAULTS
2.) - using -
#define STEPPER_BOARD HSBNE_POLOLU_PCB
3.) - change -
#define CPUTYPE CPUTYPE_MEGA --> #define CPUTYPE CPUTYPE_SANGUINO
4.) -using -
#if DEFAULTS == MENDEL_MEGA_DEFAULTS
#define HOST_BAUD 57600 // 19200
----> (Both I tested : 19200, 57600 also can't connected)
inside : pins.h file
/****************************************************************************************
* Typical Arduino Mega + Pololu Board Setup
* ( using directly controlled extruder stepper, not RS485)
* THere are three pre-configured pinouts, if you want yours added, please let us know.
****************************************************************************************/
#elif (CPUTYPE == CPUTYPE_SANGUINO) && (EXTRUDER_CONTROLLER == EXTRUDER_CONTROLLER_INTERNAL)
1.) - change -
ifndef __AVR_ATmega1280__ --> #ifndef __AVR_ATmega644P__
2.) 2.) - using -
if STEPPER_BOARD == HSBNE_POLOLU_PCB
** Follows is my pin setting for my Sanguinololu 7.0 PCB board (Atmage644p-20au) **
#define DEBUG_PIN -1
#define X_STEP_PIN (byte)15
#define X_DIR_PIN (byte)21
#define X_MIN_PIN (byte)18
#define X_MAX_PIN (byte)-1
#define X_ENABLE_PIN (byte)4
#define Y_STEP_PIN (byte)22
#define Y_DIR_PIN (byte)23
#define Y_ENABLE_PIN (byte)4
#define Y_MIN_PIN (byte)19
#define Y_MAX_PIN (byte)-1
#define Z_STEP_PIN (byte)3
#define Z_DIR_PIN (byte)2
#define Z_MIN_PIN (byte)20
#define Z_MAX_PIN (byte)-1
#define Z_ENABLE_PIN (byte)4
// Heated bed
#define BED_HEATER_PIN (byte)14
#define BED_TEMPERATURE_PIN (byte)6
//extruder pins
#define EXTRUDER_0_STEP_PIN (byte)1
#define EXTRUDER_0_DIR_PIN (byte)0
#define EXTRUDER_0_ENABLE_PIN (byte)4
#define EXTRUDER_0_HEATER_PIN (byte)13
#define EXTRUDER_0_TEMPERATURE_PIN (byte)7
The above pin setting is according to "Sanguino" Bootloaders source file call "pins_arduino"
// +---\/---+
// INT0 (D 0) PB0 1| |40 PA0 (AI 0 / D31)
// INT1 (D 1) PB1 2| |39 PA1 (AI 1 / D30)
// INT2 (D 2) PB2 3| |38 PA2 (AI 2 / D29)
// PWM (D 3) PB3 4| |37 PA3 (AI 3 / D28)
// PWM (D 4) PB4 5| |36 PA4 (AI 4 / D27)
// MOSI (D 5) PB5 6| |35 PA5 (AI 5 / D26)
// MISO (D 6) PB6 7| |34 PA6 (AI 6 / D25)
// SCK (D 7) PB7 8| |33 PA7 (AI 7 / D24)
// RST 9| |32 AREF
// VCC 10| |31 GND
// GND 11| |30 AVCC
// XTAL2 12| |29 PC7 (D 23)
// XTAL1 13| |28 PC6 (D 22)
// RX0 (D 8) PD0 14| |27 PC5 (D 21) TDI
// TX0 (D 9) PD1 15| |26 PC4 (D 20) TDO
// RX1 (D 10) PD2 16| |25 PC3 (D 19) TMS
// TX1 (D 11) PD3 17| |24 PC2 (D 18) TCK
// PWM (D 12) PD4 18| |23 PC1 (D 17) SDA
// PWM (D 13) PD5 19| |22 PC0 (D 16) SCL
// PWM (D 14) PD6 20| |21 PD7 (D 15) PWM
// +--------+