Friday, October 31, 2008
If you are struggling to push a boot loader onto an arduino or sanguino or even a blank chip and don't want to load up windows to run a parallel programmer there is a solution.
Download the sketch above and using your usual arduno host environment with an unmodified working arduino (I used an off the shelf Diecimila) turn it into an in-circuit serial programmer ISP. It costs about the same as a real one, works just as well and when you no longer need it you can use the Diecimila for something else.
Wire the arduino up as per the comments in the top of the source file, locate the bootloader hex file, plug into your target board/devices 6 way ISP socket and burn away using something like:-
avrdude -pm644p -b19200 -cavrisp -P/dev/ttyUSB0 -v -U flash:w:ATmegaBOOT_644.hex
As you can see I was burning a boot loader onto a Sanguino from Linux.
After flashing reset the board and it should talk to your usual arduino style host application. Mine did.
Hope this is of value to someone.
Thanks for posting this.
Quick question. Can i just plug the sanguino chip into a bread board and wire it up directly from there? Any reason why I should not?
Links to this post: