Arduino Nano v3.0 as AVRISP Programmer.

Nano as isp
Long time ago I bought an ATTiny2313, I tried programming it today using an arduino nano pretending to be an avrisp programmer.

Weird thing.. Same avrisp code compiled on windows and ubuntu with Arduino 022.. Firmware compiled on windows works great, compiled on ubuntu it gets stuck on some protocol error when it starts uploading code to the attiny.

Question remains, what is the difference in firmware? Its not the automatic serial reboot, i’m sure of that. Atleast not hardware wise.. Same hardware, windows built firmware ok, ubuntu not ok..


Binary build using windows arduino:
Binary sketch size: 6618 bytes (of a 126976 byte maximum)

Binary build with latest ubuntu:
Binary sketch size: 6200 bytes (of a 126976 byte maximum)

hmm.. So what’s those 418 missing bytes do exactly?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>