Page 1 of 1

unable yo upload code on regular RA

Posted: Mon Sep 07, 2015 9:58 am
by bkc6868
A couple days ago I was uploading fine. Yesterday I tried to upload some new code the wizard made and was getting sync error. Today I am able to upload this code I found while searching about 90% of the time without errors.
void setup()
{
Serial.begin(57600);
Serial.println("Test");
}
void loop()
{
}
The code I generate syncs out at about the same place everytime and I notice that when it pause uploading that the screen on the ree fangel comes back on.
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Recv:
avrdude: stk500_cmd(): protocol error

Re: unable yo upload code on regular RA

Posted: Mon Sep 07, 2015 10:28 am
by rimai
Try the board with and without the optiboot.
Maybe you have one with optiboot and you are trying with the wrong board choice.

Re: unable yo upload code on regular RA

Posted: Mon Sep 07, 2015 10:41 am
by bkc6868
Optiboot was the only one that would work when I wasn't having trouble uploading a couple days ago. After loading the small code and crazy amount of rebooting the controller I finally got it to finish uploading. I ordered the plus board Saturday so hopefully it fixes my problem and its not the cable which I don't believe to be the case but you never know.

P.s thanks for responding!