On Mon, Feb 21, 2011 at 1:34 AM, Keith Packard <[email protected]> wrote:
> Package: arduino
> Version: 0022+dfsg-2
> Severity: important
>
> I tested unstable and squeeze versions of the package, and tried both
> openjdk-6-jre and sun-java6-jre. None of these combinations can
> successfully program the device, I receive the error:
>
> Binary sketch size: 990 bytes (of a 30720 byte maximum)
> avrdude: stk500_recv(): programmer is not responding

Thanks for testing and comparing to upstream.

This probably comes from how Debian has avrdude 5.10 and arduino uses
5.4. The boards.txt file uses avrdude 5.4 settings, which have changed
in Debian's later version [1]. So the challenge really is: how to get
boarduino working with avrdude 5.10

A possible work around is to hit the onboard "reset" button after uploading [2].

What board are you selecting? You may want to try selecting a
different 328 board from the tools menu. If you know anyone that has a
boarduino working with avrdude 5.10, they probably can give hints on
how to fix it (I don't have one and am not familiar with the board,
usb chip, bootloader, etc.) I'd be happy to help getting a patch into
Debian, but can't debug or ask for help from adafruit.com since I
don't have the hardware. Also, arduino seems to not be responsive to
requests for support from 3rd party hardware, although someone on the
forums might be helpful.

check the file:
/usr/share/arduino/hardware/arduino/boards.txt

And check the settings for the board you have chosen in tools
the "upload.protocol" should "=arduino" for version 5.10 (arduino
upstream uses a patched avrdude 5.4 and uses upload.protocol=stk500).
You can try changing it back to =stk500, but that really shouldn't
work since avrdude 5.10 includes the arduino protocol [3]. You might
have to make a new entry for boarduinos in that file with the proper
information for the boarduino and avrdude 5.10, maybe ask the
boarduino devs/forums at adafruit.com.

When compiling and uploading, hold down the "shift" key to get a
verbose output from the arduino IDE. That might give some clues too.


As for "tools" menu taking a long time to load, I haven't seen that
before - so maybe it's related to getting avrdude 5.10 working with
boarduino (I believe the tools menu scans for serial ports, which
might take longer if not configured correctly). Something to try: hit
the "tools" menu and while waiting the 10 seconds for it to load, hit
the "reset" button on your arduino. See if the menu loads faster. That
is a shot in the dark, and possibly because the arduino IDE is waiting
on the arduino to reset and eventually times out.

Regards,
Scott

[1] http://code.google.com/p/arduino/issues/detail?id=106
[2] http://blog.lewissykes.info/boarduino-ftdi-friend/
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587280



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to