Go Down

Topic: Problems with µDRIVE-uSD-G1 module (Read 811 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy