(I was trying to reply your previous post, but it disapeared! But I've found it here again.)
If it works as described, people that asked about X3 connector functionality (in many posts) will achieve an answer.
[edit]I was thinking if it would be possible to use this method to upload a sketch without the bootloader, instead of to burn the bootloader, the same way we do using an external programmer.[/edit]
kimio, this sems to work with an Arduino NG. The pinout is exactly the same so no changes needed.
I don't have any blank ATm168 (only a spare one with the bootloader already burned) so I haven't yet tried to upload the bootloader, but the first tests are ok, avrdude-serjtag returns 0x1e9406.
Thanks a lot man, now I can finally write any ATm168 with the Arduino only ^^
I have had this type of programming mechanism working on other things, particularly an ATmega128 based board. Would anyone care to comment on the desirability of including this as a feature on a new spin?
I saw this earlier on but didn't have any headers, so I bought some and was ready to go, to see that the page went down. Google has it in cache, but without the pictures and I really could use those, anyone got a different guide / mirror? (couldn't find them on google myself, but I did try)
the page went down. Google has it in cache, but without the pictures and I really could use those, anyone got a different guide / mirror? (couldn't find them on google myself, but I did try)
Well, I did not receive my blanck mega168, so I erased the only one with the bootloader that I had. Trying to upload from the Arduino IDE returned an error. Normal. I burned the bootloader with the avrdude-serjtag, it worked perfectly ^^
I think I'll soon try to burn a .hex file written with AVRstudio or other, to see if this works (don't see why it shouldn't), and I'll try to order some tiny13 and/or other avr chips, to try to use this programmer to burn programs on ohter chips ...
So, the only thing I can say : thanks again kimio ^^
I tried your instructions yesterday since my Diecimila went dead (rapidly flashing LED L, bootloader not responding). Worked like charm! Thank you very much! I tried for hours to find a working solution for the FT232R bit-bang mode without success before coming across your page. Should definitely be mentioned on all the important Wiki pages.
I did it a bit differently that you suggest though: I soldered a female header into X3 so I can use the same cables I have anyway for working with Breaboards. The cables I connected to the 11-13 and RESET pins (reset pin is probably not really necessary since it's possible to use the auto-reset traces).
I had to call avrdude by hand though. Is there any documentation on the programmers.txt file? I couldn't figure out how to integrate the new programmer.
Thanks for the good work! Saved my day
Greetings,
Sebastian
PS: I added a fourth wire to RESET after taking the picture:
If he likes to add in depth explanations, I suggest to bundle it there and not split it to several different locations.
Or at least add crosslinks to each article.
Looks great- anyway this could work with a mac and a terminal?
If so Id love to hear it! Lots of folks who use arduino use it because its one of the few mac friendly micorcontroller systems out there....
Thanks!
Raphael
I used a Mac to flash my Arduino! Instructions work with very few changes. Can't remember exactly, but most likely you only have to adjust the device file used.