unable yo upload code on regular RA

Basic / Standard Reef Angel hardware
Post Reply
bkc6868
Posts: 95
Joined: Wed Sep 02, 2015 4:39 pm

unable yo upload code on regular RA

Post 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
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: unable yo upload code on regular RA

Post 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.
Roberto.
bkc6868
Posts: 95
Joined: Wed Sep 02, 2015 4:39 pm

Re: unable yo upload code on regular RA

Post 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!
Image
Post Reply