Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: 1 2 3 [4]   Go Down
Author Topic: Burning the Bootloader without  AVR-Writer  (Read 12181 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Won't generic serial bitbang work with the FTDI hardware?

-j

Logged

0
Offline Offline
God Member
*****
Karma: 1
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

never tried this, maybe you can investigate it? I think the VCP driver has a bad timing behavior but maybe the idea is just too simple and no one tried it before...
Logged


0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I think the VCP driver has a bad timing behavior
That would certainly be a show-stopper.

I don't have a lot of incentive to work on it, as I've got an AVRispmkII.  smiley

-j
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I want to know if it's possible to burn bootloader in a diecimila with an atmega8 using the parallel programmer. I've already tried but it says that the avr does not respond, that was expected the signature of the atmega8.

Thanks
Logged

0
Offline Offline
God Member
*****
Karma: 1
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I want to know if it's possible to burn bootloader in a diecimila with an atmega8 using the parallel programmer. I've already tried but it says that the avr does not respond, that was expected the signature of the atmega8.
It is possible, but this thread discusses the FTDI BitBang hack. You can use the modified Arduino board to burn the bootloader to your ATMega8 chip.

Parallel Programmers often have timing problems, I don't use them anymore.
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I followed the instructions in the photo shown below but THEY DID NOT WORK:



I checked the board schematic and I got it to work.

This should work for the Duemilanove or the Diecimila (I used the Duemilanove) but I checked the schematic for both.

The way I wired it was

1 - 12
2 - 13
3 - 11
4 - reset.

I am sorry for using the same colour for all and the bad photo but it is the best I can do!



I also had a problem with the GUI yuki-lab.jp Version 1.0.5

If the file name is too long it gives error. I had the GUI in my documents and I moved it to program files. I think the long file names caused problems.

I got it working now so I am happy.

Also if the "display window" option is ticked it will not program
--
Screenshot when display window is ticked and verify is enabled.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>
---------

I will try contact author.

Thanks all
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@bohne: Did you find time to summarize your experiences burning the bootloader from macos?
Logged

0
Offline Offline
God Member
*****
Karma: 1
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sorry, no smiley-sad
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But you got it working? Any hints?
Logged

0
Offline Offline
Shannon Member
****
Karma: 138
Posts: 10555
:(){:|:&};:
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i can't upload bootloader for atmega328P
first of all i've to add "-F" option or i get the following error:
Code:
avrdude.exe: BitBang OK
avrdude.exe: pin assign miso 3 sck 5 mosi 6 reset 7
avrdude.exe: drain OK

 ft245r:  bitclk 4800 -> ft baud 2400
avrdude.exe: ft245r_program_enable: failed
avrdude.exe: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.


avrdude.exe done.  Thank you.

then the Fuse code i get are:
FF FF 07
bitlock 3F ( finally something right  ;D )

if i try to writre the suggested DA FF 05 i get:
Code:
avrdude.exe: BitBang OK
avrdude.exe: pin assign miso 3 sck 5 mosi 6 reset 7
avrdude.exe: drain OK

 ft245r:  bitclk 4800 -> ft baud 2400
avrdude.exe: ft245r_program_enable: failed
avrdude.exe: initialization failed, rc=-1
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0xffffff
avrdude.exe: Yikes!  Invalid device signature.
avrdude.exe: Expected signature for ATMEGA328P is 1E 95 0F
avrdude.exe: reading input file "0xDA"
avrdude.exe: writing hfuse (1 bytes):

Writing |  ***failed;  
################################################## | 100% 0.18s

avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 0xDA:
avrdude.exe: load data hfuse data from input file 0xDA:
avrdude.exe: input file 0xDA contains 1 bytes
avrdude.exe: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.02s

avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0000
             0xda != 0xff
avrdude.exe: verification error; content mismatch

avrdude.exe done.  Thank you.


so lets carry on with old values...
choosing the right bootloade, "Erase - Write - Verify"... after some sec i get "the program isn't responding....", and still like this after over 5 minutes... the bottom bar is completely empty.. tested on Win7 with administrator privilegies to user and to programs... ARGH!
maybe because the file are in "D:\" ????

maybe after i'll test into linux... last (big) hope  smiley-wink
Logged

sei nuovo? non sai da dove partire? leggi qui: http://playground.arduino.cc/Italiano/Newbie

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ugh i have the exact same problem as you same error and everything. Did linux fix it? I really need to get the working before the semester ends
Logged

Pages: 1 2 3 [4]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: