Tokyo Japan
Offline
Newbie
Karma: 0
Posts: 12
|
 |
« on: July 26, 2008, 06:03:29 pm » |
I found the method to write in bootloader at by Diecimila oneself without external AVR-writer. Plese visit this page http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html This page was generated by Japanese - English automatic translator.
|
|
|
|
« Last Edit: July 27, 2008, 04:58:04 pm by kimio »
|
Logged
|
|
|
|
|
Brazil
Offline
Sr. Member
Karma: 0
Posts: 443
..., to learn, to know, to make, to share, to l...
|
 |
« Reply #1 on: July 26, 2008, 06:05:47 pm » |
Uh, very interesting!
(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]
|
|
|
|
« Last Edit: July 26, 2008, 06:26:22 pm by adilson »
|
Logged
|
PCB Designer
|
|
|
|
"The old Europe"
Offline
Edison Member
Karma: 0
Posts: 2003
Bootloaders suck!
|
 |
« Reply #2 on: July 26, 2008, 07:18:49 pm » |
cool :-)
now that I've just ordered an avr writer, I'll have two.
|
|
|
|
|
Logged
|
• Upload doesn't work? Do a loop-back test. • There's absolutely NO excuse for not having an ISP! • Your AVR needs a brain surgery? Use the online FUSE calculator. • My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets... • Microsoft is not the answer. It is the question, and the answer is NO!
|
|
|
|
Grenoble/Lyon - France
Offline
Sr. Member
Karma: 0
Posts: 363
|
 |
« Reply #3 on: July 26, 2008, 07:26:42 pm » |
I'll give it a try as soon as possible ! This is really interesting stuff !!
|
|
|
|
|
Logged
|
|
|
|
|
Grenoble/Lyon - France
Offline
Sr. Member
Karma: 0
Posts: 363
|
 |
« Reply #4 on: July 30, 2008, 07:10:52 am » |
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 ^^
|
|
|
|
|
Logged
|
|
|
|
|
Tokyo Japan
Offline
Newbie
Karma: 0
Posts: 12
|
 |
« Reply #5 on: July 31, 2008, 09:09:00 pm » |
There was a mistake about writing the lock-bit in my Web page. I corrected it. When you test please see the new page. Regards.
|
|
|
|
« Last Edit: July 31, 2008, 09:27:40 pm by kimio »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 44
Arduino rocks
|
 |
« Reply #6 on: August 02, 2008, 07:44:05 pm » |
Hi, I have to do a rev B of the LEDuino ( http://siliconrailway.com ) board. 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? John
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 37
Arduino rocks
|
 |
« Reply #7 on: August 05, 2008, 12:26:59 pm » |
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)
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
God Member
Karma: 0
Posts: 507
|
 |
« Reply #8 on: August 06, 2008, 04:00:26 pm » |
That is pretty sweet  It would be cool if there was a "burn bootloader with avrdude-serjtag" arduino option.
|
|
|
|
« Last Edit: August 06, 2008, 04:00:38 pm by dcb »
|
Logged
|
|
|
|
|
New Zealand
Offline
God Member
Karma: 0
Posts: 999
Arduino pebbles
|
 |
« Reply #9 on: August 07, 2008, 02:28:14 am » |
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) Ummm, FWIW the page is still there for me... --Phil.
|
|
|
|
|
Logged
|
|
|
|
|
Grenoble/Lyon - France
Offline
Sr. Member
Karma: 0
Posts: 363
|
 |
« Reply #10 on: August 09, 2008, 05:03:17 pm » |
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 ^^
|
|
|
|
|
Logged
|
|
|
|
|
Grenoble/Lyon - France
Offline
Sr. Member
Karma: 0
Posts: 363
|
 |
« Reply #11 on: September 11, 2008, 09:04:37 pm » |
Kimio : you might want to add your technique to the playground, on this page http://www.arduino.cc/en/Hacking/BootloaderThere are still a lot of people asking about burning the bootloader, and a lot still answers with "you need to buy an external programmer" Cheers
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 4
Arduino rocks
|
 |
« Reply #12 on: September 12, 2008, 07:49:16 pm » |
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: 
|
|
|
|
|
Logged
|
|
|
|
|
"The old Europe"
Offline
Edison Member
Karma: 0
Posts: 2003
Bootloaders suck!
|
 |
« Reply #13 on: September 12, 2008, 09:05:01 pm » |
Kimio : you might want to add your technique to the playground, on this page http://www.arduino.cc/en/Hacking/BootloaderThere are still a lot of people asking about burning the bootloader, and a lot still answers with "you need to buy an external programmer" Cheers I wouldn't consider this as "hacking", but regular usage :-) There's already a link to his site in the playground: http://www.arduino.cc/playground/Hacking/AvrdudeFTDIBitbangIf 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.
|
|
|
|
« Last Edit: September 12, 2008, 09:11:54 pm by madworm »
|
Logged
|
• Upload doesn't work? Do a loop-back test. • There's absolutely NO excuse for not having an ISP! • Your AVR needs a brain surgery? Use the online FUSE calculator. • My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets... • Microsoft is not the answer. It is the question, and the answer is NO!
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #14 on: October 14, 2008, 10:34:59 pm » |
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
|
|
|
|
|
Logged
|
|
|
|
|
|