[KwartzLab] reprogramming the kwartzlab Kick
Darin White
darin.white at rogers.com
Thu Nov 15 23:54:08 EST 2012
Solved!
Thanks JB. I had *not* populated C2, though the solution also required the reset switch. Here's what I added tonight:
* 0.1uF for C2
* switch to SW1 and 10K pullup for R4, both for RESET
* 10uF cap across the J1 and J2 battery wireup points. Just a bypass cap for good luck as I intend to drive an IR LED pretty hard. Value was chosen based on what was at hand.
With C2 in place, I tried programming again with settings as described below and Programmer set to "Arduino as ISP" using the Arduino 1.0.2 IDE. Still got the same sync error. Then I hit the reset button and a half second later did a Ctrl-U to upload the sketch and, boomshakalaka, it worked. Then *subsequent* uploads worked fine *without* the reset switch press, relying only on DTR. Can't account for the different behaviour, but it's now working and I've got to get cracking with hooking up this $6.50 DealExtreme Bluetooth module.
Hope that helps somebody else. Thanks again for pointing me in the right direction, James. That sure is a sweet board to work with. Great job.
DW
________________________________
Darin White - http://makebright.com - dw at makebright.com
________________________________
>________________________________
> From: James Bastow <james at jamesbastow.com>
>To: Darin White <darin.white at rogers.com>; KwartzLab Public Discussion List <discuss at kwartzlab.ca>
>Sent: Thursday, November 15, 2012 2:43:16 PM
>Subject: Re: [KwartzLab] reprogramming the kwartzlab Kick
>
>
>Hey Darin,
>
>
>Have you populated C2? It is required for the (RTS/DTR) auto-reset to work. A reset button should work, too.
>
>
>Have a look at the kick schematic for reference.
>
>
>James
>
>
>
>
>
>On Thu, Nov 15, 2012 at 2:33 PM, Darin White <darin.white at rogers.com> wrote:
>
>Hey makers,
>>
>>I'm trying to reprogram an awesome kwartzlab Kick minimal Arduino board from last year's Hacky Halloween. Hitting errors. Grateful for help from anyone who has tried this.
>>
>>I'm using the hacked cable I documented here: http://www.kwartzlab.ca/2010/04/reverse-engineering-cheap-ardu/
>>
>>I added the Kick board specs to boards.txt as outlined in the HH wiki. In the IDE, the board is set to that entry. Serial port correctly set to COM9, which has been configured 9600,8,N,1. And I've tried all options under Tools/Programmer. I'm getting the error "avrdude: stk500_getsync(): not in sync: resp=0x00", which googles up a ton of various causes. Anybody run into the same thing? Next, I'm going to add a switch to reset the device as I recall that being required with loading code on
the original SoOnCon badges: specifically the timing of that reset.
>>
>>Any help appreciated.
>>DW
>>
>>
>>________________________________
>>
>>Darin White - http://makebright.com - dw at makebright.com
>>
>>________________________________
>>
>>_______________________________________________
>>Discuss mailing list
>>Discuss at kwartzlab.ca
>>http://kwartzlab.ca/mailman/listinfo/discuss_kwartzlab.ca
>>
>>
>
>_______________________________________________
>Discuss mailing list
>Discuss at kwartzlab.ca
>http://kwartzlab.ca/mailman/listinfo/discuss_kwartzlab.ca
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwartzlab.ca/pipermail/discuss_kwartzlab.ca/attachments/20121115/ea4d6bb4/attachment-0001.html>
More information about the Discuss
mailing list