I have an odd problem with my new RedBoard I received with the SIK. I can upload my code to the device once and it runs! Hooray! But I cannot upload code again. I have found two work arounds:
I can unplug the RedBoard and power it back up. When I do this, it accepts a new program one time.
I select upload and then press the reset button within a few seconds. In this case it accepts the new program.
The error I receive is:
…
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
While I can certainly work with my found solutions, it does feel like I’m missing something. I’m using a Mac and Arduino software 1.6.5. I’m also relatively new to the whole Arduino ecosystem.
It sounds like the board is not receiving a reset from the serial communications. I think I’ve read that this is a problem with Mac’s but since that’s not my platform I don’t recall the details. You could try googling “Arduino serial reset” or variations to see if there is help for the problem.
I did some poking around and couldn’t find a solution. But, uChip, your suggestion to search around for “Arduino serial reset” led to discover that my workarounds are the same workarounds if I had disabled that reset. I tried the suggestion I found to wire a 10uF capacitor between RESET and GND, but it didn’t work as I suspect it just made the board extra-no-serial-reset. In the end, I think I received a mildly defective board.
I’m not dissuaded at all! A minor defect like this I can certainly live with and I learned a ton just poking around trying to figure this stuff out.
I managed to get this to work eventually on my MacBook Air. I had to install an older version of the Arduino software. I went for version 1.0.6. Now I can upload multiple times without it erroring.