Go Down

Topic: Problems with µDRIVE-uSD-G1 module (Read 789 times) previous topic - next topic

XaviFS

Hey guys.

I have problems programming the µDRIVE-uSD-G1 module. (http://www.4dsystems.com.au/prod.php?id=22)
The error is: "acrdude: stk500_getsync(): not in sync: resp=0x00"

The code is here:
//--------------------------------------------------------------------------------------------
byte inByte = 0;         // incoming serial byte

void setup()
{
  Serial.begin(19200);
  Serial.flush();
}

void loop()
{
  delay(500); 

  if(Serial.available()>0){
    Serial.write(0x55); //Auto-baud Set-Up
    delay(10);         
  }
 
  if(Serial.available()>0){
   inByte=Serial.read(); //Waiting for ACK
  }   
}

//--------------------------------------------------------------------------------------

What is the problem? What I am doing wrong?

Graynomad

Are you trying to program the µDRIVE with Arduino code from the Arduino IDE?

You can't do that.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up