Brian O.
unread,Jun 27, 2010, 12:55:28 AM6/27/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to optiboot
Hi,
I'm trying to use optiboot to load some application code on my device.
Just wondering which programmer I should be passing to avrdude (using
the -c option). I've tried stk500, stk500v1, stk500v2 and arduino but
none of them seem to work out of the box.
I see stk500 and stk500v2 use the new protocol and it looks like
that's not supported. Cool.
When I start avrdude with "-c stk500v1" or "-c arduino" and turn on
extreme verbose logging ("-v -v -v -v") I can see that it sends 0x30,
0x20. 0x30 is the GET_SYNC command but it's not handled by the
optiboot code. After adding a handler that looks something like this..
else if(ch == STK_GET_SYNC) {
verifySpace();
}
... the process gets much farther before error'ing out on a later
issue.
So, should I be using stk500v1 and/or arduino as the programmer for
optiboot?
Thx,
Brian.