Well, some of you may know I've been struggling to get a bootloader onto a set of ATmega644s, and I'm happy to say that I've succeeded (or at least the IDE thinks I have).
Now that I've (apparently) got a bootloader on the chips, I'm trying to upload a program, but whenever I compile a script with the Sanguino board selected, I get an Error with a very long file path followed by
undefined reference to 'main'
As you can imagine, this is quite frustrating. I have no idea what to do.
As a side thought, does the Sanguino bootloader flash an LED (like the 328's pin 13) when it resets? I've tried both attaching an LED to pin 13 (as seen by the IDE) and pin 7 (which is the SCK pin; I thought maybe that would work because Arduino's pin 13 is the SCK).
good question, outside of interpreted languages and wrapped up arduino like stuff I am really bare bones DURH! with C and any other language that is not a pretty little package for me to sandbox with
I'm the same way :(. The way the Arduino IDE translates my "digitalWrite()"s into a port manipulation is closeto magic in my eyes. I'll just have to hope someone else comes along, or else I stumble upon the solution.
Awesome! I had already changed all the files to reflect the 644 instead of the 644p, but it seems that it was the lack of main.cpp that was screwing it up! The script compiled fine, I'll let you know how it uploads!
HUZZAH! It all works! My 644 is happily flashing an LED on pin 0!